; LLVM IR from turi-code/SFrame :: oss_src/fileio (union_fstream)

; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%class.anon = type { i8 }
%class.anon.3 = type { i8 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.5", %"struct.std::_Head_base.8" }
%"struct.std::_Tuple_impl.5" = type { %"struct.std::_Tuple_impl.6", %"struct.std::_Head_base.7" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Head_base.7" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Head_base.8" = type { %"class.std::__cxx11::basic_string" }
%"class.std::tuple.9" = type { %"struct.std::_Tuple_impl.10" }
%"struct.std::_Tuple_impl.10" = type { %"struct.std::_Tuple_impl.11", %"struct.std::_Head_base.15" }
%"struct.std::_Tuple_impl.11" = type { %"struct.std::_Tuple_impl.12", %"struct.std::_Head_base.14" }
%"struct.std::_Tuple_impl.12" = type { %"struct.std::_Head_base.13" }
%"struct.std::_Head_base.13" = type { ptr }
%"struct.std::_Head_base.14" = type { ptr }
%"struct.std::_Head_base.15" = type { ptr }
%class.anon.17 = type { ptr }
%class.anon.18 = type { i8 }
%class.anon.20 = type { ptr }
%"class.std::shared_ptr.33" = type { %"class.std::__shared_ptr.34" }
%"class.std::__shared_ptr.34" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.55" = type { %"class.std::__shared_ptr.56" }
%"class.std::__shared_ptr.56" = type { ptr, %"class.std::__shared_count" }
%class.anon.74 = type { ptr }
%class.anon.80 = type { ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.16 }
%union.anon.16 = type { i32 }
%"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::fpos" = type { i64, %struct.__mbstate_t }
%class.anon.81 = type { i8 }
%class.anon.83 = type { i8 }
%"class.graphlab::union_fstream" = type { i32, %"class.std::__cxx11::basic_string", i64, %"class.std::shared_ptr", %"class.std::shared_ptr.0", %"class.std::shared_ptr" }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [83 x i8], align 1
@__func__._ZN8graphlab13union_fstreamC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab13union_fstreamC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::shared_ptr", align 8
  %10 = alloca %"class.std::shared_ptr.0", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %class.anon, align 1
  %14 = alloca %class.anon.3, align 1
  %15 = alloca i8, align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::tuple", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::tuple.9", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %class.anon.17, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %class.anon.18, align 1
  %29 = alloca i8, align 1
  %30 = alloca i1, align 1
  %31 = alloca i8, align 1
  %32 = alloca i1, align 1
  %33 = alloca %class.anon.20, align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::shared_ptr.33", align 8
  %36 = alloca %"class.std::shared_ptr", align 8
  %37 = alloca %"class.std::shared_ptr", align 8
  %38 = alloca %"class.std::shared_ptr.55", align 8
  %39 = alloca i8, align 1
  %40 = alloca %"class.std::shared_ptr.55", align 8
  %41 = alloca i8, align 1
  %42 = alloca %"class.std::shared_ptr", align 8
  %43 = alloca %"class.std::shared_ptr", align 8
  %44 = alloca %class.anon.74, align 8
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %class.anon.80, align 8
  %47 = alloca %"class.std::basic_ifstream", align 8
  %48 = alloca %"class.std::fpos", align 8
  %49 = alloca %class.anon.81, align 1
  %50 = alloca %class.anon.83, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %51 = load ptr, ptr %5, align 8
  %52 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %53 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 2
  store i64 -1, ptr %53, align 8, !tbaa !11
  %54 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  call void @_ZNSt10shared_ptrISiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #10
  %55 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  call void @_ZNSt10shared_ptrISoEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #10
  %56 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 5
  call void @_ZNSt10shared_ptrISiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #10
  call void @_ZNSt10shared_ptrISiEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr null) #10
  %57 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(16) %9) #10
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #10
  call void @_ZNSt10shared_ptrISoEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr null) #10
  %59 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISoEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 8 dereferenceable(16) %10) #10
  call void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  %61 = load i32, ptr %7, align 4, !tbaa !9
  %62 = invoke noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %61, i32 noundef 8)
          to label %63 unwind label %75

63:                                               ; preds = %4
  %64 = icmp ne i32 %62, 0
  br i1 %64, label %65, label %83

65:                                               ; preds = %63
  %66 = load i32, ptr %7, align 4, !tbaa !9
  %67 = invoke noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %66, i32 noundef 16)
          to label %68 unwind label %75

68:                                               ; preds = %65
  %69 = icmp ne i32 %67, 0
  br i1 %69, label %70, label %83

70:                                               ; preds = %68
  br label %71

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #10
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_0clEv"(ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %72 unwind label %79

72:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #10
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  br label %103

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

79:                                               ; preds = %71
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %11, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #10
  br label %555

83:                                               ; preds = %68, %63
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = invoke noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %84, i32 noundef 8)
          to label %86 unwind label %75

86:                                               ; preds = %83
  %87 = icmp ne i32 %85, 0
  br i1 %87, label %102, label %88

88:                                               ; preds = %86
  %89 = load i32, ptr %7, align 4, !tbaa !9
  %90 = invoke noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %89, i32 noundef 16)
          to label %91 unwind label %75

91:                                               ; preds = %88
  %92 = icmp ne i32 %90, 0
  br i1 %92, label %102, label %93

93:                                               ; preds = %91
  br label %94

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #10
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_1clEv"(ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %95 unwind label %98

95:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96
  br label %102

98:                                               ; preds = %94
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %11, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  br label %555

102:                                              ; preds = %97, %91, %86
  br label %103

103:                                              ; preds = %102, %74
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #10
  %104 = load i32, ptr %7, align 4, !tbaa !9
  %105 = invoke noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %104, i32 noundef 16)
          to label %106 unwind label %141

106:                                              ; preds = %103
  %107 = icmp ne i32 %105, 0
  %108 = zext i1 %107 to i8
  store i8 %108, ptr %15, align 1, !tbaa !22
  %109 = invoke noundef zeroext i1 @_ZN5boost9algorithm11starts_withINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA8_cEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(8) @.str)
          to label %110 unwind label %141

110:                                              ; preds = %106
  br i1 %109, label %111, label %274

111:                                              ; preds = %110
  %112 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 0
  store i32 0, ptr %112, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr %19) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %113 unwind label %145

113:                                              ; preds = %111
  invoke void @_ZN8graphlab6fileio14parse_hdfs_urlENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8 %19, ptr noundef %20)
          to label %114 unwind label %149

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #10
  call void @_ZSt3tieIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_EESt5tupleIJDpRT_EES9_(ptr dead_on_unwind writable sret(%"class.std::tuple.9") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt5tupleIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_EEaSIJS5_S5_S5_EEENSt9enable_ifIXcl12__assignableIDpT_EEERS7_E4typeEOS_IJSB_EE(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(96) %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  call void @_ZNSt11_Tuple_implILm0EJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %19) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #10
  %116 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
          to label %117 unwind label %154

117:                                              ; preds = %114
  %118 = invoke noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %116)
          to label %119 unwind label %154

119:                                              ; preds = %117
  %120 = icmp sge i32 2, %118
  br i1 %120, label %121, label %172

121:                                              ; preds = %119
  %122 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 2, ptr noundef @.str.4, ptr noundef @__func__._ZN8graphlab13union_fstreamC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_, i32 noundef 44, i1 noundef zeroext true)
          to label %123 unwind label %154

123:                                              ; preds = %121
  %124 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %122, ptr noundef @.str.5)
          to label %125 unwind label %154

125:                                              ; preds = %123
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %126 unwind label %154

126:                                              ; preds = %125
  %127 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %124, ptr noundef %22)
          to label %128 unwind label %158

128:                                              ; preds = %126
  %129 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %127, ptr noundef @.str.6)
          to label %130 unwind label %158

130:                                              ; preds = %128
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %131 unwind label %158

131:                                              ; preds = %130
  %132 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %129, ptr noundef %23)
          to label %133 unwind label %162

133:                                              ; preds = %131
  %134 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %132, ptr noundef @.str.7)
          to label %135 unwind label %162

135:                                              ; preds = %133
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %136 unwind label %162

136:                                              ; preds = %135
  %137 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %134, ptr noundef %24)
          to label %138 unwind label %166

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %137, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %140 unwind label %166

140:                                              ; preds = %138
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  br label %172

141:                                              ; preds = %529, %504, %432, %431, %426, %398, %397, %393, %338, %286, %282, %106, %103
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %11, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %12, align 4
  br label %554

145:                                              ; preds = %111
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %11, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %12, align 4
  br label %153

149:                                              ; preds = %113
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %11, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  br label %153

153:                                              ; preds = %149, %145
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #10
  br label %273

154:                                              ; preds = %265, %125, %123, %121, %117, %114
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %11, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %12, align 4
  br label %273

158:                                              ; preds = %130, %128, %126
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %11, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %12, align 4
  br label %171

162:                                              ; preds = %135, %133, %131
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %11, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %12, align 4
  br label %170

166:                                              ; preds = %138, %136
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %11, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #10
  br label %170

170:                                              ; preds = %166, %162
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  br label %171

171:                                              ; preds = %170, %158
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  br label %273

172:                                              ; preds = %140, %119
  %173 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br i1 %173, label %174, label %188

174:                                              ; preds = %172
  %175 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br i1 %175, label %176, label %188

176:                                              ; preds = %174
  %177 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  br i1 %177, label %178, label %188

178:                                              ; preds = %176
  br label %179

179:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %180 = getelementptr inbounds %class.anon.17, ptr %25, i32 0, i32 0
  store ptr %1, ptr %180, align 8, !tbaa !5
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %181 unwind label %184

181:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182
  br label %188

184:                                              ; preds = %179
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %11, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %273

188:                                              ; preds = %183, %176, %174, %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %189 unwind label %207

189:                                              ; preds = %188
  %190 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef null, i32 noundef 10)
          to label %191 unwind label %211

191:                                              ; preds = %189
  %192 = sext i32 %190 to i64
  %193 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN8graphlab4hdfs8get_hdfsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef %27, i64 noundef %192)
          to label %194 unwind label %211

194:                                              ; preds = %191
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #10
  store ptr %193, ptr %26, align 8, !tbaa !5
  br label %195

195:                                              ; preds = %194
  %196 = load ptr, ptr %26, align 8, !tbaa !5
  %197 = invoke noundef zeroext i1 @_ZNK8graphlab4hdfs4goodEv(ptr noundef nonnull align 1 dereferenceable(1) %196)
          to label %198 unwind label %207

198:                                              ; preds = %195
  %199 = xor i1 %197, true
  %200 = xor i1 %199, true
  %201 = xor i1 %200, true
  %202 = zext i1 %201 to i64
  %203 = call i64 @llvm.expect.i64(i64 %202, i64 0)
  %204 = icmp ne i64 %203, 0
  br i1 %204, label %205, label %219

205:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #10
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_3clEv"(ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %206 unwind label %215

206:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #10
  br label %219

207:                                              ; preds = %244, %238, %224, %195, %188
  %208 = landingpad { ptr, i32 }
          catch ptr null
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %11, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %12, align 4
  br label %257

211:                                              ; preds = %191, %189
  %212 = landingpad { ptr, i32 }
          catch ptr null
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %11, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #10
  br label %257

215:                                              ; preds = %205
  %216 = landingpad { ptr, i32 }
          catch ptr null
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %11, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #10
  br label %257

219:                                              ; preds = %206, %198
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  %222 = load i8, ptr %15, align 1, !tbaa !22, !range !25, !noundef !26
  %223 = trunc i8 %222 to i1
  br i1 %223, label %224, label %238

224:                                              ; preds = %221
  %225 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  %226 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 416) #11
          to label %227 unwind label %207

227:                                              ; preds = %224
  store i1 true, ptr %30, align 1
  %228 = load ptr, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #10
  store i8 1, ptr %29, align 1, !tbaa !22
  invoke void @_ZN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEC1IS3_NSt7__cxx1112basic_stringIcS6_S7_EEbEERT_RKT0_RKT1_PNS_10disable_ifINS_7is_sameISD_S4_EEvE4typeE(ptr noundef nonnull align 8 dereferenceable(152) %226, ptr noundef nonnull align 1 dereferenceable(1) %228, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef null)
          to label %229 unwind label %231

229:                                              ; preds = %227
  store i1 false, ptr %30, align 1
  invoke void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetIN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr21__sp_is_constructibleISoT_EE5valueEvE4typeEPSF_(ptr noundef nonnull align 8 dereferenceable(16) %225, ptr noundef %226)
          to label %230 unwind label %231

230:                                              ; preds = %229
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  br label %256

231:                                              ; preds = %229, %227
  %232 = landingpad { ptr, i32 }
          catch ptr null
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %11, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  %235 = load i1, ptr %30, align 1
  br i1 %235, label %236, label %237

236:                                              ; preds = %231
  call void @_ZdlPvm(ptr noundef %226, i64 noundef 416) #12
  br label %237

237:                                              ; preds = %236, %231
  br label %257

238:                                              ; preds = %221
  %239 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %240 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 416) #11
          to label %241 unwind label %207

241:                                              ; preds = %238
  store i1 true, ptr %32, align 1
  %242 = load ptr, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #10
  store i8 0, ptr %31, align 1, !tbaa !22
  invoke void @_ZN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEC1IS3_NSt7__cxx1112basic_stringIcS6_S7_EEbEERT_RKT0_RKT1_PNS_10disable_ifINS_7is_sameISD_S4_EEvE4typeE(ptr noundef nonnull align 8 dereferenceable(152) %240, ptr noundef nonnull align 1 dereferenceable(1) %242, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 1 dereferenceable(1) %31, ptr noundef null)
          to label %243 unwind label %249

243:                                              ; preds = %241
  store i1 false, ptr %32, align 1
  invoke void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE5resetIN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr21__sp_is_constructibleISiT_EE5valueEvE4typeEPSF_(ptr noundef nonnull align 8 dereferenceable(16) %239, ptr noundef %240)
          to label %244 unwind label %249

244:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #10
  %245 = load ptr, ptr %26, align 8, !tbaa !5
  %246 = invoke noundef i64 @_ZNK8graphlab4hdfs9file_sizeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(1) %245, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %247 unwind label %207

247:                                              ; preds = %244
  %248 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 2
  store i64 %246, ptr %248, align 8, !tbaa !11
  br label %256

249:                                              ; preds = %243, %241
  %250 = landingpad { ptr, i32 }
          catch ptr null
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %11, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #10
  %253 = load i1, ptr %32, align 1
  br i1 %253, label %254, label %255

254:                                              ; preds = %249
  call void @_ZdlPvm(ptr noundef %240, i64 noundef 416) #12
  br label %255

255:                                              ; preds = %254, %249
  br label %257

256:                                              ; preds = %247, %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %267

257:                                              ; preds = %255, %237, %215, %211, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %258

258:                                              ; preds = %257
  %259 = load ptr, ptr %11, align 8
  %260 = call ptr @__cxa_begin_catch(ptr %259) #10
  br label %261

261:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %262 = getelementptr inbounds %class.anon.20, ptr %33, i32 0, i32 0
  store ptr %1, ptr %262, align 8, !tbaa !5
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %263 unwind label %268

263:                                              ; preds = %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  br label %264

264:                                              ; preds = %263
  br label %265

265:                                              ; preds = %264
  invoke void @__cxa_end_catch()
          to label %266 unwind label %154

266:                                              ; preds = %265
  br label %267

267:                                              ; preds = %266, %256
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #10
  br label %500

268:                                              ; preds = %261
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %11, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  invoke void @__cxa_end_catch()
          to label %272 unwind label %561

272:                                              ; preds = %268
  br label %273

273:                                              ; preds = %272, %184, %171, %154, %153
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #10
  br label %554

274:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #10
  invoke void @_ZN8graphlab6fileio16get_cache_prefixB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %34)
          to label %275 unwind label %288

275:                                              ; preds = %274
  %276 = invoke noundef zeroext i1 @_ZN5boost9algorithm11starts_withINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %277 unwind label %292

277:                                              ; preds = %275
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #10
  br i1 %276, label %278, label %338

278:                                              ; preds = %277
  %279 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 0
  store i32 2, ptr %279, align 8, !tbaa !24
  %280 = load i8, ptr %15, align 1, !tbaa !22, !range !25, !noundef !26
  %281 = trunc i8 %280 to i1
  br i1 %281, label %282, label %301

282:                                              ; preds = %278
  %283 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  %284 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 432) #11
          to label %285 unwind label %141

285:                                              ; preds = %282
  invoke void @_ZN5boost9iostreams6streamIN8graphlab11fileio_impl17cache_stream_sinkESt11char_traitsIcESaIcEEC1INSt7__cxx1112basic_stringIcS6_S7_EEEERT_PNS_10disable_ifINS_7is_sameISD_S4_EEvE4typeE(ptr noundef nonnull align 8 dereferenceable(168) %284, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef null)
          to label %286 unwind label %297

286:                                              ; preds = %285
  invoke void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetIN5boost9iostreams6streamIN8graphlab11fileio_impl17cache_stream_sinkESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr21__sp_is_constructibleISoT_EE5valueEvE4typeEPSF_(ptr noundef nonnull align 8 dereferenceable(16) %283, ptr noundef %284)
          to label %287 unwind label %141

287:                                              ; preds = %286
  br label %337

288:                                              ; preds = %274
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %11, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %12, align 4
  br label %296

292:                                              ; preds = %275
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %11, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  br label %296

296:                                              ; preds = %292, %288
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #10
  br label %554

297:                                              ; preds = %285
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %11, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %284, i64 noundef 432) #12
  br label %554

301:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #10
  invoke void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS7_S8_EEEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESG_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.33") align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %302 unwind label %314

302:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #10
  %303 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %35) #10
  %304 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(192) %303)
          to label %305 unwind label %318

305:                                              ; preds = %302
  invoke void @_ZN8graphlab11fileio_impl19cache_stream_source21get_underlying_streamEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %36, ptr noundef nonnull align 8 dereferenceable(56) %304)
          to label %306 unwind label %318

306:                                              ; preds = %305
  %307 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %308 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %307, ptr noundef nonnull align 8 dereferenceable(16) %36) #10
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %36) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #10
  %309 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %310 = call noundef zeroext i1 @_ZSteqISiEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %309, ptr null) #10
  br i1 %310, label %311, label %322

311:                                              ; preds = %306
  %312 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %313 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EERKS_IT_EEE5valueERS0_E4typeESL_(ptr noundef nonnull align 8 dereferenceable(16) %312, ptr noundef nonnull align 8 dereferenceable(16) %35) #10
  br label %322

314:                                              ; preds = %301
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %11, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %12, align 4
  br label %336

318:                                              ; preds = %305, %302
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %11, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #10
  br label %335

322:                                              ; preds = %311, %306
  %323 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %35) #10
  %324 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(192) %323)
          to label %325 unwind label %331

325:                                              ; preds = %322
  %326 = invoke noundef i64 @_ZNK8graphlab11fileio_impl19cache_stream_source9file_sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %324)
          to label %327 unwind label %331

327:                                              ; preds = %325
  %328 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 2
  store i64 %326, ptr %328, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #10
  call void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSA_IT0_E(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %35) #10
  %329 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 5
  %330 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %329, ptr noundef nonnull align 8 dereferenceable(16) %37) #10
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #10
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #10
  br label %337

331:                                              ; preds = %325, %322
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %11, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %12, align 4
  br label %335

335:                                              ; preds = %331, %318
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #10
  br label %336

336:                                              ; preds = %335, %314
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #10
  br label %554

337:                                              ; preds = %327, %287
  br label %499

338:                                              ; preds = %277
  %339 = invoke noundef zeroext i1 @_ZN5boost9algorithm11starts_withINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA6_cEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(6) @.str.8)
          to label %340 unwind label %141

340:                                              ; preds = %338
  br i1 %339, label %341, label %390

341:                                              ; preds = %340
  %342 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 0
  store i32 1, ptr %342, align 8, !tbaa !24
  %343 = load i8, ptr %15, align 1, !tbaa !22, !range !25, !noundef !26
  %344 = trunc i8 %343 to i1
  br i1 %344, label %345, label %353

345:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #10
  store i8 1, ptr %39, align 1, !tbaa !22
  invoke void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS8_S9_EEbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESH_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.55") align 8 %38, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %346 unwind label %349

346:                                              ; preds = %345
  %347 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  %348 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISoEaSIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS5_9s3_deviceEEESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EES_IT_EEE5valueERS0_E4typeEOSK_(ptr noundef nonnull align 8 dereferenceable(16) %347, ptr noundef nonnull align 8 dereferenceable(16) %38) #10
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #10
  br label %389

349:                                              ; preds = %345
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %11, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #10
  br label %554

353:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #10
  store i8 0, ptr %41, align 1, !tbaa !22
  invoke void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS8_S9_EEbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESH_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.55") align 8 %40, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %354 unwind label %366

354:                                              ; preds = %353
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #10
  %355 = call noundef nonnull align 8 dereferenceable(232) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %40) #10
  %356 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS2_9s3_deviceEEESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(232) %355)
          to label %357 unwind label %370

357:                                              ; preds = %354
  invoke void @_ZN8graphlab19read_caching_deviceINS_9s3_deviceEE21get_underlying_streamEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %42, ptr noundef nonnull align 8 dereferenceable(65) %356)
          to label %358 unwind label %370

358:                                              ; preds = %357
  %359 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %360 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %359, ptr noundef nonnull align 8 dereferenceable(16) %42) #10
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  %361 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %362 = call noundef zeroext i1 @_ZSteqISiEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %361, ptr null) #10
  br i1 %362, label %363, label %374

363:                                              ; preds = %358
  %364 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %365 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS5_9s3_deviceEEESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EERKS_IT_EEE5valueERS0_E4typeESM_(ptr noundef nonnull align 8 dereferenceable(16) %364, ptr noundef nonnull align 8 dereferenceable(16) %40) #10
  br label %374

366:                                              ; preds = %353
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %11, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #10
  br label %388

370:                                              ; preds = %357, %354
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %11, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #10
  br label %387

374:                                              ; preds = %363, %358
  %375 = call noundef nonnull align 8 dereferenceable(232) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %40) #10
  %376 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS2_9s3_deviceEEESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(232) %375)
          to label %377 unwind label %383

377:                                              ; preds = %374
  %378 = invoke noundef i64 @_ZNK8graphlab19read_caching_deviceINS_9s3_deviceEE9file_sizeEv(ptr noundef nonnull align 8 dereferenceable(65) %376)
          to label %379 unwind label %383

379:                                              ; preds = %377
  %380 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 2
  store i64 %378, ptr %380, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #10
  call void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSB_IT0_E(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %43, ptr noundef nonnull align 8 dereferenceable(16) %40) #10
  %381 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 5
  %382 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %381, ptr noundef nonnull align 8 dereferenceable(16) %43) #10
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #10
  br label %389

383:                                              ; preds = %377, %374
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %11, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %12, align 4
  br label %387

387:                                              ; preds = %383, %370
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #10
  br label %388

388:                                              ; preds = %387, %366
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #10
  br label %554

389:                                              ; preds = %379, %346
  br label %498

390:                                              ; preds = %340
  %391 = load i8, ptr %15, align 1, !tbaa !22, !range !25, !noundef !26
  %392 = trunc i8 %391 to i1
  br i1 %392, label %393, label %423

393:                                              ; preds = %390
  %394 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  %395 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 512) #11
          to label %396 unwind label %141

396:                                              ; preds = %393
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %395, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 4)
          to label %397 unwind label %414

397:                                              ; preds = %396
  invoke void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetISt14basic_ofstreamIcSt11char_traitsIcEEEENSt9enable_ifIXsr21__sp_is_constructibleISoT_EE5valueEvE4typeEPS9_(ptr noundef nonnull align 8 dereferenceable(16) %394, ptr noundef %395)
          to label %398 unwind label %141

398:                                              ; preds = %397
  %399 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  %400 = call noundef ptr @_ZNKSt19__shared_ptr_accessISoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %399) #10
  %401 = load ptr, ptr %400, align 8, !tbaa !27
  %402 = getelementptr i8, ptr %401, i64 -24
  %403 = load i64, ptr %402, align 8
  %404 = getelementptr inbounds i8, ptr %400, i64 %403
  %405 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %404)
          to label %406 unwind label %141

406:                                              ; preds = %398
  br i1 %405, label %422, label %407

407:                                              ; preds = %406
  %408 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  call void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetEv(ptr noundef nonnull align 8 dereferenceable(16) %408) #10
  br label %409

409:                                              ; preds = %407
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #10
  %410 = getelementptr inbounds %class.anon.74, ptr %44, i32 0, i32 0
  store ptr %1, ptr %410, align 8, !tbaa !5
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_5clEv"(ptr noundef nonnull align 8 dereferenceable(8) %44)
          to label %411 unwind label %418

411:                                              ; preds = %409
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  br label %412

412:                                              ; preds = %411
  br label %413

413:                                              ; preds = %412
  br label %422

414:                                              ; preds = %396
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %11, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %395, i64 noundef 512) #12
  br label %554

418:                                              ; preds = %409
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %11, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  br label %554

422:                                              ; preds = %413, %406
  br label %497

423:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #10
  %424 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZN8graphlab19file_download_cache12get_instanceEv()
          to label %425 unwind label %448

425:                                              ; preds = %423
  invoke void @_ZN8graphlab19file_download_cache8get_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %45, ptr noundef nonnull align 8 dereferenceable(96) %424, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %426 unwind label %448

426:                                              ; preds = %425
  %427 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %45) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #10
  %428 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %429 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 520) #11
          to label %430 unwind label %141

430:                                              ; preds = %426
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %429, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 4)
          to label %431 unwind label %452

431:                                              ; preds = %430
  invoke void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE5resetISt14basic_ifstreamIcSt11char_traitsIcEEEENSt9enable_ifIXsr21__sp_is_constructibleISiT_EE5valueEvE4typeEPS9_(ptr noundef nonnull align 8 dereferenceable(16) %428, ptr noundef %429)
          to label %432 unwind label %141

432:                                              ; preds = %431
  %433 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %434 = call noundef ptr @_ZNKSt19__shared_ptr_accessISiLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %433) #10
  %435 = load ptr, ptr %434, align 8, !tbaa !27
  %436 = getelementptr i8, ptr %435, i64 -24
  %437 = load i64, ptr %436, align 8
  %438 = getelementptr inbounds i8, ptr %434, i64 %437
  %439 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %438)
          to label %440 unwind label %141

440:                                              ; preds = %432
  br i1 %439, label %460, label %441

441:                                              ; preds = %440
  %442 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE5resetEv(ptr noundef nonnull align 8 dereferenceable(16) %442) #10
  br label %443

443:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %444 = getelementptr inbounds %class.anon.80, ptr %46, i32 0, i32 0
  store ptr %1, ptr %444, align 8, !tbaa !5
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_6clEv"(ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %445 unwind label %456

445:                                              ; preds = %443
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br label %446

446:                                              ; preds = %445
  br label %447

447:                                              ; preds = %446
  br label %460

448:                                              ; preds = %425, %423
  %449 = landingpad { ptr, i32 }
          cleanup
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %11, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #10
  br label %554

452:                                              ; preds = %430
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %11, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %429, i64 noundef 520) #12
  br label %554

456:                                              ; preds = %443
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %11, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br label %554

460:                                              ; preds = %447, %440
  call void @llvm.lifetime.start.p0(i64 520, ptr %47) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %47)
          to label %461 unwind label %482

461:                                              ; preds = %460
  %462 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %47, ptr noundef %462, i32 noundef 4)
          to label %463 unwind label %486

463:                                              ; preds = %461
  %464 = load ptr, ptr %47, align 8, !tbaa !27
  %465 = getelementptr i8, ptr %464, i64 -24
  %466 = load i64, ptr %465, align 8
  %467 = getelementptr inbounds i8, ptr %47, i64 %466
  %468 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %467)
          to label %469 unwind label %486

469:                                              ; preds = %463
  br i1 %468, label %470, label %494

470:                                              ; preds = %469
  %471 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %47, i64 noundef 0, i32 noundef 2)
          to label %472 unwind label %486

472:                                              ; preds = %470
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #10
  %473 = invoke { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %474 unwind label %490

474:                                              ; preds = %472
  %475 = getelementptr inbounds { i64, i64 }, ptr %48, i32 0, i32 0
  %476 = extractvalue { i64, i64 } %473, 0
  store i64 %476, ptr %475, align 8
  %477 = getelementptr inbounds { i64, i64 }, ptr %48, i32 0, i32 1
  %478 = extractvalue { i64, i64 } %473, 1
  store i64 %478, ptr %477, align 8
  %479 = invoke noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %48)
          to label %480 unwind label %490

480:                                              ; preds = %474
  %481 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 2
  store i64 %479, ptr %481, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #10
  br label %494

482:                                              ; preds = %460
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %11, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %12, align 4
  br label %496

486:                                              ; preds = %470, %463, %461
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %11, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %12, align 4
  br label %495

490:                                              ; preds = %474, %472
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %11, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #10
  br label %495

494:                                              ; preds = %480, %469
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %47) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr %47) #10
  br label %497

495:                                              ; preds = %490, %486
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %47) #10
  br label %496

496:                                              ; preds = %495, %482
  call void @llvm.lifetime.end.p0(i64 520, ptr %47) #10
  br label %554

497:                                              ; preds = %494, %422
  br label %498

498:                                              ; preds = %497, %389
  br label %499

499:                                              ; preds = %498, %337
  br label %500

500:                                              ; preds = %499, %267
  %501 = load i8, ptr %15, align 1, !tbaa !22, !range !25, !noundef !26
  %502 = trunc i8 %501 to i1
  br i1 %502, label %503, label %528

503:                                              ; preds = %500
  br label %504

504:                                              ; preds = %503
  %505 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 4
  %506 = call noundef ptr @_ZNKSt19__shared_ptr_accessISoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %505) #10
  %507 = load ptr, ptr %506, align 8, !tbaa !27
  %508 = getelementptr i8, ptr %507, i64 -24
  %509 = load i64, ptr %508, align 8
  %510 = getelementptr inbounds i8, ptr %506, i64 %509
  %511 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %510)
          to label %512 unwind label %141

512:                                              ; preds = %504
  %513 = xor i1 %511, true
  %514 = xor i1 %513, true
  %515 = xor i1 %514, true
  %516 = zext i1 %515 to i64
  %517 = call i64 @llvm.expect.i64(i64 %516, i64 0)
  %518 = icmp ne i64 %517, 0
  br i1 %518, label %519, label %525

519:                                              ; preds = %512
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #10
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_7clEv"(ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %520 unwind label %521

520:                                              ; preds = %519
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #10
  br label %525

521:                                              ; preds = %519
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %11, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #10
  br label %554

525:                                              ; preds = %520, %512
  br label %526

526:                                              ; preds = %525
  br label %527

527:                                              ; preds = %526
  br label %553

528:                                              ; preds = %500
  br label %529

529:                                              ; preds = %528
  %530 = getelementptr inbounds %"class.graphlab::union_fstream", ptr %51, i32 0, i32 3
  %531 = call noundef ptr @_ZNKSt19__shared_ptr_accessISiLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %530) #10
  %532 = load ptr, ptr %531, align 8, !tbaa !27
  %533 = getelementptr i8, ptr %532, i64 -24
  %534 = load i64, ptr %533, align 8
  %535 = getelementptr inbounds i8, ptr %531, i64 %534
  %536 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %535)
          to label %537 unwind label %141

537:                                              ; preds = %529
  %538 = xor i1 %536, true
  %539 = xor i1 %538, true
  %540 = xor i1 %539, true
  %541 = zext i1 %540 to i64
  %542 = call i64 @llvm.expect.i64(i64 %541, i64 0)
  %543 = icmp ne i64 %542, 0
  br i1 %543, label %544, label %550

544:                                              ; preds = %537
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #10
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_8clEv"(ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %545 unwind label %546

545:                                              ; preds = %544
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #10
  br label %550

546:                                              ; preds = %544
  %547 = landingpad { ptr, i32 }
          cleanup
  %548 = extractvalue { ptr, i32 } %547, 0
  store ptr %548, ptr %11, align 8
  %549 = extractvalue { ptr, i32 } %547, 1
  store i32 %549, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #10
  br label %554

550:                                              ; preds = %545, %537
  br label %551

551:                                              ; preds = %550
  br label %552

552:                                              ; preds = %551
  br label %553

553:                                              ; preds = %552, %527
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #10
  ret void

554:                                              ; preds = %546, %521, %496, %456, %452, %448, %418, %414, %388, %349, %336, %297, %296, %273, %141
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #10
  br label %555

555:                                              ; preds = %554, %98, %79, %75
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #10
  call void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #10
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  br label %556

556:                                              ; preds = %555
  %557 = load ptr, ptr %11, align 8
  %558 = load i32, ptr %12, align 4
  %559 = insertvalue { ptr, i32 } poison, ptr %557, 0
  %560 = insertvalue { ptr, i32 } %559, i32 %558, 1
  resume { ptr, i32 } %560

561:                                              ; preds = %268
  %562 = landingpad { ptr, i32 }
          catch ptr null
  %563 = extractvalue { ptr, i32 } %562, 0
  call void @__clang_call_terminate(ptr %563) #13
  unreachable
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_0clEv"(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_1clEv"(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

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

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

declare void @_ZN8graphlab6fileio14parse_hdfs_urlENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_EESt5tupleIJDpRT_EES9_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.9") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #1

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

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

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

declare noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv() #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i1 noundef zeroext) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896), ptr noundef) #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; 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: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

declare noundef nonnull align 1 dereferenceable(1) ptr @_ZN8graphlab4hdfs8get_hdfsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef, i64 noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef) #4

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_3clEv"(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8graphlab4hdfs9file_sizeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #9

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

declare void @_ZN8graphlab6fileio16get_cache_prefixB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS7_S8_EEEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESG_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.33") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #4

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

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

declare void @_ZN8graphlab11fileio_impl19cache_stream_source21get_underlying_streamEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #5

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

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

declare noundef i64 @_ZNK8graphlab11fileio_impl19cache_stream_source9file_sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSA_IT0_E(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS8_S9_EEbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESH_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.55") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__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 nonnull align 8 dereferenceable(232) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS2_9s3_deviceEEESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(232)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8graphlab19read_caching_deviceINS_9s3_deviceEE21get_underlying_streamEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(65)) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSB_IT0_E(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_5clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

declare noundef nonnull align 8 dereferenceable(96) ptr @_ZN8graphlab19file_download_cache12get_instanceEv() #5

declare void @_ZN8graphlab19file_download_cache8get_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(32)) #5

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_6clEv"(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) #0 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) #5

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_7clEv"(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_8clEv"(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

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

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

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin 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 #9 = { noinline noreturn nounwind uwtable "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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }
attributes #13 = { 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, !10, i64 0}
!10 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!11 = !{!12, !16, i64 40}
!12 = !{!"_ZTSN8graphlab13union_fstreamE", !13, i64 0, !14, i64 8, !16, i64 40, !17, i64 48, !20, i64 64, !17, i64 80}
!13 = !{!"_ZTSN8graphlab13union_fstream11stream_typeE", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSSt10shared_ptrISiE", !18, i64 0}
!18 = !{!"_ZTSSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!20 = !{!"_ZTSSt10shared_ptrISoE", !21, i64 0}
!21 = !{!"_ZTSSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !19, i64 8}
!22 = !{!23, !23, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!12, !13, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !28, i64 0}
!28 = !{!"vtable pointer", !8, i64 0}


; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%class.anon = type { i8 }
%class.anon.3 = type { i8 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.5", %"struct.std::_Head_base.8" }
%"struct.std::_Tuple_impl.5" = type { %"struct.std::_Tuple_impl.6", %"struct.std::_Head_base.7" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Head_base.7" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Head_base.8" = type { %"class.std::__cxx11::basic_string" }
%"class.std::tuple.9" = type { %"struct.std::_Tuple_impl.10" }
%"struct.std::_Tuple_impl.10" = type { %"struct.std::_Tuple_impl.11", %"struct.std::_Head_base.15" }
%"struct.std::_Tuple_impl.11" = type { %"struct.std::_Tuple_impl.12", %"struct.std::_Head_base.14" }
%"struct.std::_Tuple_impl.12" = type { %"struct.std::_Head_base.13" }
%"struct.std::_Head_base.13" = type { ptr }
%"struct.std::_Head_base.14" = type { ptr }
%"struct.std::_Head_base.15" = type { ptr }
%class.anon.17 = type { ptr }
%class.anon.18 = type { i8 }
%class.anon.20 = type { ptr }
%"class.std::shared_ptr.33" = type { %"class.std::__shared_ptr.34" }
%"class.std::__shared_ptr.34" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.55" = type { %"class.std::__shared_ptr.56" }
%"class.std::__shared_ptr.56" = type { ptr, %"class.std::__shared_count" }
%class.anon.74 = type { ptr }
%class.anon.80 = type { ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.16 }
%union.anon.16 = type { i32 }
%"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::fpos" = type { i64, %struct.__mbstate_t }
%class.anon.81 = type { i8 }
%class.anon.83 = type { i8 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [83 x i8], align 1
@__func__._ZN8graphlab13union_fstreamC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8graphlab13union_fstreamC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull %1, i32 noundef %2, ptr nocapture noundef readnone %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::shared_ptr", align 8
  %6 = alloca %"class.std::shared_ptr.0", align 8
  %7 = alloca %class.anon, align 1
  %8 = alloca %class.anon.3, align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::tuple", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::tuple.9", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %class.anon.17, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %class.anon.18, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca %class.anon.20, align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::shared_ptr.33", align 8
  %26 = alloca %"class.std::shared_ptr", align 8
  %27 = alloca %"class.std::shared_ptr", align 8
  %28 = alloca %"class.std::shared_ptr.55", align 8
  %29 = alloca i8, align 1
  %30 = alloca %"class.std::shared_ptr.55", align 8
  %31 = alloca i8, align 1
  %32 = alloca %"class.std::shared_ptr", align 8
  %33 = alloca %"class.std::shared_ptr", align 8
  %34 = alloca %class.anon.74, align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %class.anon.80, align 8
  %37 = alloca %"class.std::basic_ifstream", align 8
  %38 = alloca %"class.std::fpos", align 8
  %39 = alloca %class.anon.81, align 1
  %40 = alloca %class.anon.83, align 1
  %41 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %42 = getelementptr inbounds i8, ptr %0, i64 40
  store i64 -1, ptr %42, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNSt10shared_ptrISiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #9
  %44 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt10shared_ptrISoEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #9
  %45 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt10shared_ptrISiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  call void @_ZNSt10shared_ptrISiEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr null) #9
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  call void @_ZNSt10shared_ptrISoEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr null) #9
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISoEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  call void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  %48 = call noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %2, i32 noundef 8)
  %.not = icmp eq i32 %48, 0
  br i1 %.not, label %55, label %49

49:                                               ; preds = %4
  %50 = call noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %2, i32 noundef 16)
  %.not34 = icmp eq i32 %50, 0
  br i1 %.not34, label %55, label %51

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #9
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_0clEv"(ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %52 unwind label %53

52:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  br label %63

53:                                               ; preds = %51
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  br label %327

55:                                               ; preds = %49, %4
  %56 = call noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %2, i32 noundef 8)
  %.not35 = icmp eq i32 %56, 0
  br i1 %.not35, label %57, label %63

57:                                               ; preds = %55
  %58 = call noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %2, i32 noundef 16)
  %.not36 = icmp eq i32 %58, 0
  br i1 %.not36, label %59, label %63

59:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #9
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_1clEv"(ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %60 unwind label %61

60:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  br label %63

61:                                               ; preds = %59
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  br label %327

63:                                               ; preds = %55, %57, %60, %52
  %64 = call noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef %2, i32 noundef 16)
  %.not37 = icmp eq i32 %64, 0
  %65 = invoke noundef zeroext i1 @_ZN5boost9algorithm11starts_withINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA8_cEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(8) @.str)
          to label %66 unwind label %95

66:                                               ; preds = %63
  br i1 %65, label %67, label %164

67:                                               ; preds = %66
  store i32 0, ptr %0, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %12) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %68 unwind label %97

68:                                               ; preds = %67
  invoke void @_ZN8graphlab6fileio14parse_hdfs_urlENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 8 %12, ptr noundef nonnull %13)
          to label %69 unwind label %99

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #9
  call void @_ZSt3tieIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_EESt5tupleIJDpRT_EES9_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.9") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  %70 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt5tupleIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S6_EEaSIJS5_S5_S5_EEENSt9enable_ifIXcl12__assignableIDpT_EEERS7_E4typeEOS_IJSB_EE(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(96) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  call void @_ZNSt11_Tuple_implILm0EJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #9
  %71 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv()
          to label %72 unwind label %102

72:                                               ; preds = %69
  %73 = call noundef i32 @_ZN11file_logger13get_log_levelEv(ptr noundef nonnull align 8 dereferenceable(896) %71)
  %74 = icmp slt i32 %73, 3
  br i1 %74, label %75, label %112

75:                                               ; preds = %72
  %76 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef 2, ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__._ZN8graphlab13union_fstreamC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_, i32 noundef 44, i1 noundef zeroext true)
          to label %77 unwind label %102

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %76, ptr noundef nonnull @.str.5)
          to label %79 unwind label %102

79:                                               ; preds = %77
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %80 unwind label %102

80:                                               ; preds = %79
  %81 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %78, ptr noundef nonnull %15)
          to label %82 unwind label %104

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %81, ptr noundef nonnull @.str.6)
          to label %84 unwind label %104

84:                                               ; preds = %82
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %85 unwind label %104

85:                                               ; preds = %84
  %86 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %83, ptr noundef nonnull %16)
          to label %87 unwind label %106

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPKc(ptr noundef nonnull align 8 dereferenceable(896) %86, ptr noundef nonnull @.str.7)
          to label %89 unwind label %106

89:                                               ; preds = %87
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %90 unwind label %106

90:                                               ; preds = %89
  %91 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896) %88, ptr noundef nonnull %17)
          to label %92 unwind label %108

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsEPFRSoS0_E(ptr noundef nonnull align 8 dereferenceable(896) %91, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %94 unwind label %108

94:                                               ; preds = %92
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %112

95:                                               ; preds = %262, %258, %241, %238, %205, %172, %169, %63
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %327

97:                                               ; preds = %67
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %68
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %101

101:                                              ; preds = %99, %97
  %.pn48 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #9
  br label %163

102:                                              ; preds = %160, %79, %77, %75, %69
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %163

104:                                              ; preds = %84, %82, %80
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %111

106:                                              ; preds = %89, %87, %85
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %110

108:                                              ; preds = %92, %90
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %110

110:                                              ; preds = %108, %106
  %.pn50 = phi { ptr, i32 } [ %109, %108 ], [ %107, %106 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %111

111:                                              ; preds = %110, %104
  %.pn50.pn = phi { ptr, i32 } [ %.pn50, %110 ], [ %105, %104 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %163

112:                                              ; preds = %94, %72
  %113 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br i1 %113, label %114, label %122

114:                                              ; preds = %112
  %115 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br i1 %115, label %116, label %122

116:                                              ; preds = %114
  %117 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br i1 %117, label %118, label %122

118:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  store ptr %1, ptr %18, align 8, !tbaa !20
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %119 unwind label %120

119:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %122

120:                                              ; preds = %118
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %163

122:                                              ; preds = %119, %116, %114, %112
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %123 unwind label %132

123:                                              ; preds = %122
  %124 = invoke noundef i32 @_ZNSt7__cxx114stoiERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPmi(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef null, i32 noundef 10)
          to label %125 unwind label %134

125:                                              ; preds = %123
  %126 = sext i32 %124 to i64
  %127 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN8graphlab4hdfs8get_hdfsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef nonnull %19, i64 noundef %126)
          to label %128 unwind label %134

128:                                              ; preds = %125
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  %129 = call noundef zeroext i1 @_ZNK8graphlab4hdfs4goodEv(ptr noundef nonnull align 1 dereferenceable(1) %127)
  br i1 %129, label %138, label %130, !prof !21

130:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #9
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_3clEv"(ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %131 unwind label %136

131:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #9
  br label %138

132:                                              ; preds = %148, %139, %122
  %133 = landingpad { ptr, i32 }
          catch ptr null
  br label %158

134:                                              ; preds = %125, %123
  %135 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %158

136:                                              ; preds = %130
  %137 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #9
  br label %158

138:                                              ; preds = %131, %128
  br i1 %.not37, label %148, label %139

139:                                              ; preds = %138
  %140 = invoke noalias noundef nonnull dereferenceable(416) ptr @_Znwm(i64 noundef 416) #10
          to label %141 unwind label %132

141:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #9
  store i8 1, ptr %21, align 1, !tbaa !22
  invoke void @_ZN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEC1IS3_NSt7__cxx1112basic_stringIcS6_S7_EEbEERT_RKT0_RKT1_PNS_10disable_ifINS_7is_sameISD_S4_EEvE4typeE(ptr noundef nonnull align 8 dereferenceable(152) %140, ptr noundef nonnull align 1 dereferenceable(1) %127, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(1) %21, ptr noundef null)
          to label %142 unwind label %146

142:                                              ; preds = %141
  invoke void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetIN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr21__sp_is_constructibleISoT_EE5valueEvE4typeEPSF_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull %140)
          to label %143 unwind label %144

143:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #9
  br label %305

144:                                              ; preds = %142
  %145 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #9
  br label %158

146:                                              ; preds = %141
  %147 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #9
  call void @_ZdlPvm(ptr noundef nonnull %140, i64 noundef 416) #11
  br label %158

148:                                              ; preds = %138
  %149 = invoke noalias noundef nonnull dereferenceable(416) ptr @_Znwm(i64 noundef 416) #10
          to label %150 unwind label %132

150:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #9
  store i8 0, ptr %22, align 1, !tbaa !22
  invoke void @_ZN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEC1IS3_NSt7__cxx1112basic_stringIcS6_S7_EEbEERT_RKT0_RKT1_PNS_10disable_ifINS_7is_sameISD_S4_EEvE4typeE(ptr noundef nonnull align 8 dereferenceable(152) %149, ptr noundef nonnull align 1 dereferenceable(1) %127, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef null)
          to label %151 unwind label %156

151:                                              ; preds = %150
  invoke void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE5resetIN5boost9iostreams6streamIN8graphlab4hdfs11hdfs_deviceESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr21__sp_is_constructibleISiT_EE5valueEvE4typeEPSF_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull %149)
          to label %152 unwind label %154

152:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  %153 = call noundef i64 @_ZNK8graphlab4hdfs9file_sizeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(1) %127, ptr noundef nonnull align 8 dereferenceable(32) %11)
  store i64 %153, ptr %42, align 8, !tbaa !5
  br label %305

154:                                              ; preds = %151
  %155 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  br label %158

156:                                              ; preds = %150
  %157 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  call void @_ZdlPvm(ptr noundef nonnull %149, i64 noundef 416) #11
  br label %158

158:                                              ; preds = %154, %144, %156, %146, %136, %134, %132
  %.pn53 = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ], [ %133, %132 ], [ %157, %156 ], [ %155, %154 ], [ %137, %136 ], [ %135, %134 ]
  %.3 = extractvalue { ptr, i32 } %.pn53, 0
  %159 = call ptr @__cxa_begin_catch(ptr %.3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  store ptr %1, ptr %23, align 8, !tbaa !20
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %160 unwind label %161

160:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  invoke void @__cxa_end_catch()
          to label %305 unwind label %102

161:                                              ; preds = %158
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  invoke void @__cxa_end_catch()
          to label %163 unwind label %328

163:                                              ; preds = %161, %120, %111, %102, %101
  %.pn54 = phi { ptr, i32 } [ %103, %102 ], [ %162, %161 ], [ %121, %120 ], [ %.pn50.pn, %111 ], [ %.pn48, %101 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %327

164:                                              ; preds = %66
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #9
  invoke void @_ZN8graphlab6fileio16get_cache_prefixB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24)
          to label %165 unwind label %173

165:                                              ; preds = %164
  %166 = invoke noundef zeroext i1 @_ZN5boost9algorithm11starts_withINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %167 unwind label %175

167:                                              ; preds = %165
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br i1 %166, label %168, label %205

168:                                              ; preds = %167
  store i32 2, ptr %0, align 8, !tbaa !19
  br i1 %.not37, label %180, label %169

169:                                              ; preds = %168
  %170 = invoke noalias noundef nonnull dereferenceable(432) ptr @_Znwm(i64 noundef 432) #10
          to label %171 unwind label %95

171:                                              ; preds = %169
  invoke void @_ZN5boost9iostreams6streamIN8graphlab11fileio_impl17cache_stream_sinkESt11char_traitsIcESaIcEEC1INSt7__cxx1112basic_stringIcS6_S7_EEEERT_PNS_10disable_ifINS_7is_sameISD_S4_EEvE4typeE(ptr noundef nonnull align 8 dereferenceable(168) %170, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef null)
          to label %172 unwind label %178

172:                                              ; preds = %171
  invoke void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetIN5boost9iostreams6streamIN8graphlab11fileio_impl17cache_stream_sinkESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr21__sp_is_constructibleISoT_EE5valueEvE4typeEPSF_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull %170)
          to label %.thread62 unwind label %95

173:                                              ; preds = %164
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %177

175:                                              ; preds = %165
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %177

177:                                              ; preds = %175, %173
  %.pn = phi { ptr, i32 } [ %176, %175 ], [ %174, %173 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br label %327

178:                                              ; preds = %171
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %170, i64 noundef 432) #11
  br label %327

180:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #9
  invoke void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS7_S8_EEEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESG_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.33") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %181 unwind label %190

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #9
  %182 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  %183 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(192) %182)
          to label %184 unwind label %192

184:                                              ; preds = %181
  invoke void @_ZN8graphlab11fileio_impl19cache_stream_source21get_underlying_streamEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %26, ptr noundef nonnull align 8 dereferenceable(56) %183)
          to label %185 unwind label %192

185:                                              ; preds = %184
  %186 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #9
  %187 = call noundef zeroext i1 @_ZSteqISiEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr null) #9
  br i1 %187, label %188, label %194

188:                                              ; preds = %185
  %189 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EERKS_IT_EEE5valueERS0_E4typeESL_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %25) #9
  br label %194

190:                                              ; preds = %180
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %204

192:                                              ; preds = %184, %181
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #9
  br label %203

194:                                              ; preds = %188, %185
  %195 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  %196 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(192) %195)
          to label %197 unwind label %201

197:                                              ; preds = %194
  %198 = invoke noundef i64 @_ZNK8graphlab11fileio_impl19cache_stream_source9file_sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %196)
          to label %199 unwind label %201

199:                                              ; preds = %197
  store i64 %198, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  call void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSA_IT0_E(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %27, ptr noundef nonnull align 8 dereferenceable(16) %25) #9
  %200 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %27) #9
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #9
  br label %.thread64

201:                                              ; preds = %197, %194
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %203

203:                                              ; preds = %201, %192
  %.pn45 = phi { ptr, i32 } [ %202, %201 ], [ %193, %192 ]
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #9
  br label %204

204:                                              ; preds = %203, %190
  %.pn45.pn = phi { ptr, i32 } [ %.pn45, %203 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #9
  br label %327

205:                                              ; preds = %167
  %206 = invoke noundef zeroext i1 @_ZN5boost9algorithm11starts_withINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA6_cEEbRKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(6) @.str.8)
          to label %207 unwind label %95

207:                                              ; preds = %205
  br i1 %206, label %208, label %237

208:                                              ; preds = %207
  store i32 1, ptr %0, align 8, !tbaa !19
  br i1 %.not37, label %214, label %209

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #9
  store i8 1, ptr %29, align 1, !tbaa !22
  invoke void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS8_S9_EEbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESH_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.55") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %210 unwind label %212

210:                                              ; preds = %209
  %211 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISoEaSIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS5_9s3_deviceEEESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EES_IT_EEE5valueERS0_E4typeEOSK_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #9
  br label %.thread62

212:                                              ; preds = %209
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #9
  br label %327

214:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #9
  store i8 0, ptr %31, align 1, !tbaa !22
  invoke void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS8_S9_EEbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESH_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.55") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %215 unwind label %223

215:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #9
  %216 = call noundef nonnull align 8 dereferenceable(232) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  %217 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS2_9s3_deviceEEESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(232) %216)
          to label %218 unwind label %225

218:                                              ; preds = %215
  call void @_ZN8graphlab19read_caching_deviceINS_9s3_deviceEE21get_underlying_streamEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %32, ptr noundef nonnull align 8 dereferenceable(65) %217)
  %219 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %32) #9
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  %220 = call noundef zeroext i1 @_ZSteqISiEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr null) #9
  br i1 %220, label %221, label %227

221:                                              ; preds = %218
  %222 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS5_9s3_deviceEEESt11char_traitsIcESaIcEEEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EERKS_IT_EEE5valueERS0_E4typeESM_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %30) #9
  br label %227

223:                                              ; preds = %214
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #9
  br label %236

225:                                              ; preds = %215
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  br label %235

227:                                              ; preds = %221, %218
  %228 = call noundef nonnull align 8 dereferenceable(232) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  %229 = invoke noundef ptr @_ZN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS2_9s3_deviceEEESt11char_traitsIcESaIcEEptEv(ptr noundef nonnull align 8 dereferenceable(232) %228)
          to label %230 unwind label %233

230:                                              ; preds = %227
  %231 = call noundef i64 @_ZNK8graphlab19read_caching_deviceINS_9s3_deviceEE9file_sizeEv(ptr noundef nonnull align 8 dereferenceable(65) %229)
  store i64 %231, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #9
  call void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSB_IT0_E(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %33, ptr noundef nonnull align 8 dereferenceable(16) %30) #9
  %232 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISiEaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %33) #9
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #9
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #9
  br label %.thread64

233:                                              ; preds = %227
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %235

235:                                              ; preds = %233, %225
  %.pn42 = phi { ptr, i32 } [ %234, %233 ], [ %226, %225 ]
  call void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #9
  br label %236

236:                                              ; preds = %235, %223
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %235 ], [ %224, %223 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #9
  br label %327

237:                                              ; preds = %207
  br i1 %.not37, label %255, label %238

238:                                              ; preds = %237
  %239 = invoke noalias noundef nonnull dereferenceable(512) ptr @_Znwm(i64 noundef 512) #10
          to label %240 unwind label %95

240:                                              ; preds = %238
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %239, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 4)
          to label %241 unwind label %251

241:                                              ; preds = %240
  invoke void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetISt14basic_ofstreamIcSt11char_traitsIcEEEENSt9enable_ifIXsr21__sp_is_constructibleISoT_EE5valueEvE4typeEPS9_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull %239)
          to label %242 unwind label %95

242:                                              ; preds = %241
  %243 = call noundef ptr @_ZNKSt19__shared_ptr_accessISoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  %244 = load ptr, ptr %243, align 8, !tbaa !24
  %245 = getelementptr i8, ptr %244, i64 -24
  %246 = load i64, ptr %245, align 8
  %247 = getelementptr inbounds i8, ptr %243, i64 %246
  %248 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %247)
  br i1 %248, label %.thread62, label %249

249:                                              ; preds = %242
  call void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE5resetEv(ptr noundef nonnull align 8 dereferenceable(16) %44) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #9
  store ptr %1, ptr %34, align 8, !tbaa !20
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_5clEv"(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %250 unwind label %253

250:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  br label %.thread62

251:                                              ; preds = %240
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %239, i64 noundef 512) #11
  br label %327

253:                                              ; preds = %249
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  br label %327

255:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #9
  %256 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZN8graphlab19file_download_cache12get_instanceEv()
          to label %257 unwind label %272

257:                                              ; preds = %255
  invoke void @_ZN8graphlab19file_download_cache8get_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef nonnull align 8 dereferenceable(96) %256, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %258 unwind label %272

258:                                              ; preds = %257
  %259 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #9
  %260 = invoke noalias noundef nonnull dereferenceable(520) ptr @_Znwm(i64 noundef 520) #10
          to label %261 unwind label %95

261:                                              ; preds = %258
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %260, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 4)
          to label %262 unwind label %274

262:                                              ; preds = %261
  invoke void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE5resetISt14basic_ifstreamIcSt11char_traitsIcEEEENSt9enable_ifIXsr21__sp_is_constructibleISiT_EE5valueEvE4typeEPS9_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull %260)
          to label %263 unwind label %95

263:                                              ; preds = %262
  %264 = call noundef ptr @_ZNKSt19__shared_ptr_accessISiLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %43) #9
  %265 = load ptr, ptr %264, align 8, !tbaa !24
  %266 = getelementptr i8, ptr %265, i64 -24
  %267 = load i64, ptr %266, align 8
  %268 = getelementptr inbounds i8, ptr %264, i64 %267
  %269 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %268)
  br i1 %269, label %278, label %270

270:                                              ; preds = %263
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE5resetEv(ptr noundef nonnull align 8 dereferenceable(16) %43) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #9
  store ptr %1, ptr %36, align 8, !tbaa !20
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_6clEv"(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %271 unwind label %276

271:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #9
  br label %278

272:                                              ; preds = %257, %255
  %273 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #9
  br label %327

274:                                              ; preds = %261
  %275 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %260, i64 noundef 520) #11
  br label %327

276:                                              ; preds = %270
  %277 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #9
  br label %327

278:                                              ; preds = %271, %263
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %37) #9
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %37)
          to label %279 unwind label %296

279:                                              ; preds = %278
  %280 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #9
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %37, ptr noundef %280, i32 noundef 4)
          to label %281 unwind label %298

281:                                              ; preds = %279
  %282 = load ptr, ptr %37, align 8, !tbaa !24
  %283 = getelementptr i8, ptr %282, i64 -24
  %284 = load i64, ptr %283, align 8
  %285 = getelementptr inbounds i8, ptr %37, i64 %284
  %286 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %285)
  br i1 %286, label %287, label %302

287:                                              ; preds = %281
  %288 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %37, i64 noundef 0, i32 noundef 2)
          to label %289 unwind label %298

289:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #9
  %290 = invoke { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %291 unwind label %300

291:                                              ; preds = %289
  %292 = extractvalue { i64, i64 } %290, 0
  store i64 %292, ptr %38, align 8
  %293 = getelementptr inbounds i8, ptr %38, i64 8
  %294 = extractvalue { i64, i64 } %290, 1
  store i64 %294, ptr %293, align 8
  %295 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  store i64 %295, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #9
  br label %302

296:                                              ; preds = %278
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %304

298:                                              ; preds = %287, %279
  %299 = landingpad { ptr, i32 }
          cleanup
  br label %303

300:                                              ; preds = %289
  %301 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #9
  br label %303

302:                                              ; preds = %291, %281
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %37) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %37) #9
  br label %.thread64

303:                                              ; preds = %300, %298
  %.pn39 = phi { ptr, i32 } [ %301, %300 ], [ %299, %298 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %37) #9
  br label %304

304:                                              ; preds = %303, %296
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %303 ], [ %297, %296 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %37) #9
  br label %327

305:                                              ; preds = %160, %152, %143
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br i1 %.not37, label %.thread64, label %.thread62

.thread62:                                        ; preds = %210, %242, %250, %172, %305
  %306 = call noundef ptr @_ZNKSt19__shared_ptr_accessISoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  %307 = load ptr, ptr %306, align 8, !tbaa !24
  %308 = getelementptr i8, ptr %307, i64 -24
  %309 = load i64, ptr %308, align 8
  %310 = getelementptr inbounds i8, ptr %306, i64 %309
  %311 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %310)
  br i1 %311, label %326, label %312, !prof !21

312:                                              ; preds = %.thread62
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %39) #9
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_7clEv"(ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %313 unwind label %314

313:                                              ; preds = %312
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #9
  br label %326

314:                                              ; preds = %312
  %315 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #9
  br label %327

.thread64:                                        ; preds = %230, %302, %199, %305
  %316 = call noundef ptr @_ZNKSt19__shared_ptr_accessISiLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %43) #9
  %317 = load ptr, ptr %316, align 8, !tbaa !24
  %318 = getelementptr i8, ptr %317, i64 -24
  %319 = load i64, ptr %318, align 8
  %320 = getelementptr inbounds i8, ptr %316, i64 %319
  %321 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %320)
  br i1 %321, label %326, label %322, !prof !21

322:                                              ; preds = %.thread64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %40) #9
  invoke void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_8clEv"(ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %323 unwind label %324

323:                                              ; preds = %322
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #9
  br label %326

324:                                              ; preds = %322
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #9
  br label %327

326:                                              ; preds = %.thread64, %323, %.thread62, %313
  ret void

327:                                              ; preds = %95, %163, %177, %178, %204, %212, %236, %251, %253, %272, %274, %276, %304, %314, %324, %61, %53
  %.pn56.pn = phi { ptr, i32 } [ %54, %53 ], [ %62, %61 ], [ %315, %314 ], [ %325, %324 ], [ %.pn54, %163 ], [ %96, %95 ], [ %179, %178 ], [ %.pn45.pn, %204 ], [ %213, %212 ], [ %.pn42.pn, %236 ], [ %254, %253 ], [ %252, %251 ], [ %.pn39.pn, %304 ], [ %277, %276 ], [ %275, %274 ], [ %273, %272 ], [ %.pn, %177 ]
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #9
  call void @_ZNSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #9
  call void @_ZNSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #9
  resume { ptr, i32 } %.pn56.pn

328:                                              ; preds = %161
  %329 = landingpad { ptr, i32 }
          catch ptr null
  %330 = extractvalue { ptr, i32 } %329, 0
  call void @__clang_call_terminate(ptr %330) #12
  unreachable
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStanSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_0clEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_1clEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

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

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

declare void @_ZN8graphlab6fileio14parse_hdfs_urlENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_EESt5tupleIJDpRT_EES9_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.9") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

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

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

declare noundef nonnull align 8 dereferenceable(896) ptr @_Z13global_loggerv() local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN19log_stream_dispatchILb1EE4execEiPKcS2_ib(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(896) ptr @_ZN11file_loggerlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS_T_(ptr noundef nonnull align 8 dereferenceable(896), ptr noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; 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: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_2clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

declare noundef nonnull align 1 dereferenceable(1) ptr @_ZN8graphlab4hdfs8get_hdfsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_3clEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #6

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_4clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

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

declare void @_ZN8graphlab6fileio16get_cache_prefixB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS7_S8_EEEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESG_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.33") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

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

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

declare void @_ZN8graphlab11fileio_impl19cache_stream_source21get_underlying_streamEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #5

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

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

declare noundef i64 @_ZNK8graphlab11fileio_impl19cache_stream_source9file_sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab11fileio_impl19cache_stream_sourceESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSA_IT0_E(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEJRNSt7__cxx1112basic_stringIcS8_S9_EEbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESH_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.55") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__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 nonnull align 8 dereferenceable(232) ptr @_ZNKSt19__shared_ptr_accessIN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8graphlab19read_caching_deviceINS_9s3_deviceEE21get_underlying_streamEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(65)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt19static_pointer_castISiN5boost9iostreams6streamIN8graphlab19read_caching_deviceINS3_9s3_deviceEEESt11char_traitsIcESaIcEEEESt10shared_ptrIT_ERKSB_IT0_E(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_5clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(96) ptr @_ZN8graphlab19file_download_cache12get_instanceEv() local_unnamed_addr #5

declare void @_ZN8graphlab19file_download_cache8get_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_6clEv"(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) local_unnamed_addr #0 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) local_unnamed_addr #5

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_7clEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8graphlab13union_fstreamC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13_Ios_OpenmodeS6_ENK3$_8clEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

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

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

attributes #0 = { 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin 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 #8 = { noinline noreturn nounwind uwtable "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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { 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, !13, i64 40}
!6 = !{!"_ZTSN8graphlab13union_fstreamE", !7, i64 0, !10, i64 8, !13, i64 40, !14, i64 48, !17, i64 64, !14, i64 80}
!7 = !{!"_ZTSN8graphlab13union_fstream11stream_typeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !13, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSSt10shared_ptrISiE", !15, i64 0}
!15 = !{!"_ZTSSt12__shared_ptrISiLN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0, !16, i64 8}
!16 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0}
!17 = !{!"_ZTSSt10shared_ptrISoE", !18, i64 0}
!18 = !{!"_ZTSSt12__shared_ptrISoLN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0, !16, i64 8}
!19 = !{!6, !7, i64 0}
!20 = !{!12, !12, i64 0}
!21 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!22 = !{!23, !23, i64 0}
!23 = !{!"bool", !8, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !9, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass