; LLVM IR from alibaba/euler :: euler/core/graph (graph_builder)

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

%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.euler::Status" = type { i32, %"class.std::__cxx11::basic_string" }
%"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.euler::Slice" = type { ptr, i64 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.euler::LogMessage" = type { %"class.std::__cxx11::basic_ostringstream.base", ptr, i32, i32, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::unique_ptr.20" = type { %"struct.std::__uniq_ptr_data.21" }
%"struct.std::__uniq_ptr_data.21" = type { %"class.std::__uniq_ptr_impl.22" }
%"class.std::__uniq_ptr_impl.22" = type { %"class.std::tuple.23" }
%"class.std::tuple.23" = type { %"struct.std::_Tuple_impl.24" }
%"struct.std::_Tuple_impl.24" = type { %"struct.std::_Head_base.27" }
%"struct.std::_Head_base.27" = type { ptr }
%"class.std::allocator.0" = type { i8 }
%"struct.std::atomic.28" = type { %"struct.std::__atomic_base.29" }
%"struct.std::__atomic_base.29" = type { i32 }
%"class.euler::Signal" = type <{ %"class.euler::Mutex", %"class.euler::CondVar", %"struct.std::atomic", [7 x i8] }>
%"class.euler::Mutex" = type { %"class.std::mutex" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.euler::CondVar" = type { %"class.std::condition_variable" }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::function.30" = type { %"class.std::_Function_base", ptr }
%class.anon = type { ptr, ptr, ptr, ptr, ptr }
%"class.euler::GraphMeta" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i64, i64, i32, %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map.37", %"class.std::unordered_map.37" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.37" = type { %"class.std::_Hashtable.38" }
%"class.std::_Hashtable.38" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.euler::TaskInfo" = type { ptr, ptr, i32, i32, i32, %"class.std::vector.10", %"class.std::vector.15" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@__const._ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE.success = external hidden unnamed_addr constant %"struct.std::atomic", align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef %2, ptr %3, i64 %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca ptr, align 8
  %10 = alloca %"class.euler::Slice", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::vector.3", align 8
  %19 = alloca %"class.std::unique_ptr", align 8
  %20 = alloca %"class.std::unique_ptr", align 8
  %21 = alloca %"class.std::vector", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i1, align 1
  %27 = alloca %"class.euler::Slice", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.euler::LogMessage", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca %"class.std::function", align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca i1, align 1
  %38 = alloca %"class.euler::Slice", align 8
  %39 = alloca %"class.euler::LogMessage", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::vector", align 8
  %42 = alloca %"class.std::function", align 8
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca ptr, align 8
  %46 = alloca %"class.std::unique_ptr.20", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator.0", align 1
  %49 = alloca %"struct.std::atomic", align 1
  %50 = alloca %"struct.std::atomic.28", align 4
  %51 = alloca %"class.euler::Signal", align 8
  %52 = alloca ptr, align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %54 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %55 = alloca ptr, align 8
  %56 = alloca %"class.std::function.30", align 8
  %57 = alloca %class.anon, align 8
  %58 = alloca %"class.euler::GraphMeta", align 8
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca i1, align 1
  %61 = alloca %"class.euler::Slice", align 8
  %62 = alloca %"class.euler::LogMessage", align 8
  %63 = alloca i1, align 1
  %64 = alloca i1, align 1
  %65 = alloca %"class.euler::LogMessage", align 8
  store ptr %0, ptr %9, align 8
  %66 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  store ptr %3, ptr %66, align 8
  %67 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  store i64 %4, ptr %67, align 8
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %5, ptr %13, align 4, !tbaa !9
  store ptr %6, ptr %14, align 8, !tbaa !5
  store i32 %7, ptr %15, align 4, !tbaa !11
  %68 = load ptr, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 8, ptr %16, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %69 = load i32, ptr %16, align 4, !tbaa !13
  %70 = mul nsw i32 %69, 8
  store i32 %70, ptr %17, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #9
  call void @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  %71 = load i32, ptr %15, align 4, !tbaa !11
  %72 = and i32 %71, 1
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %219

74:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  invoke void @_ZN5euler8JoinPathIJNS_5SliceEA5_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 1 dereferenceable(5) @.str.20)
          to label %75 unwind label %95

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  store i1 false, ptr %26, align 1
  %77 = invoke noundef ptr @_ZN5euler3Env7DefaultEv()
          to label %78 unwind label %99

78:                                               ; preds = %76
  invoke void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %79 unwind label %99

79:                                               ; preds = %78
  %80 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8
  %82 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %83 = load i64, ptr %82, align 8
  %84 = load ptr, ptr %77, align 8, !tbaa !15
  %85 = getelementptr inbounds ptr, ptr %84, i64 4
  %86 = load ptr, ptr %85, align 8
  invoke void %86(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %77, ptr %81, i64 %83, i1 noundef zeroext true, ptr noundef %19)
          to label %87 unwind label %99

87:                                               ; preds = %79
  %88 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %89 unwind label %103

89:                                               ; preds = %87
  %90 = xor i1 %88, true
  %91 = zext i1 %90 to i64
  %92 = call i64 @llvm.expect.i64(i64 %91, i64 0)
  %93 = icmp ne i64 %92, 0
  br i1 %93, label %94, label %107

94:                                               ; preds = %89
  store i1 true, ptr %26, align 1
  store i32 1, ptr %28, align 4
  br label %108

95:                                               ; preds = %74
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %24, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %25, align 4
  br label %218

99:                                               ; preds = %131, %119, %115, %79, %78, %76
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %24, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %25, align 4
  br label %217

103:                                              ; preds = %87
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %24, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %25, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %217

107:                                              ; preds = %89
  store i32 0, ptr %28, align 4
  br label %108

108:                                              ; preds = %107, %94
  %109 = load i1, ptr %26, align 1
  br i1 %109, label %111, label %110

110:                                              ; preds = %108
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %111

111:                                              ; preds = %110, %108
  %112 = load i32, ptr %28, align 4
  switch i32 %112, label %214 [
    i32 0, label %113
  ]

113:                                              ; preds = %111
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  %116 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %117 = invoke noundef zeroext i1 @_ZNK5euler6FileIO11initializedEv(ptr noundef nonnull align 8 dereferenceable(32) %116)
          to label %118 unwind label %99

118:                                              ; preds = %115
  br i1 %117, label %119, label %126

119:                                              ; preds = %118
  %120 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %121 = load ptr, ptr %120, align 8, !tbaa !15
  %122 = getelementptr inbounds ptr, ptr %121, i64 3
  %123 = load ptr, ptr %122, align 8
  %124 = invoke noundef zeroext i1 %123(ptr noundef nonnull align 8 dereferenceable(32) %120)
          to label %125 unwind label %99

125:                                              ; preds = %119
  br i1 %124, label %147, label %126

126:                                              ; preds = %125, %118
  call void @llvm.lifetime.start.p0(i64 392, ptr %29) #9
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %29, ptr noundef @.str.23, i32 noundef 73, i32 noundef 3)
          to label %127 unwind label %134

127:                                              ; preds = %126
  %128 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA32_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %29, ptr noundef nonnull align 1 dereferenceable(32) @.str.24)
          to label %129 unwind label %138

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %128, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %131 unwind label %138

131:                                              ; preds = %129
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %29) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %132 unwind label %99

132:                                              ; preds = %131
  invoke void @_ZN5euler6Status8NotFoundIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_EEES0_DpT_(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef @.str.25, ptr noundef %30, ptr noundef @.str.26)
          to label %133 unwind label %143

133:                                              ; preds = %132
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  store i32 1, ptr %28, align 4
  br label %214

134:                                              ; preds = %126
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %24, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %25, align 4
  br label %142

138:                                              ; preds = %129, %127
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %24, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %25, align 4
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #9
  br label %142

142:                                              ; preds = %138, %134
  call void @llvm.lifetime.end.p0(i64 392, ptr %29) #9
  br label %217

143:                                              ; preds = %132
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %24, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  br label %217

147:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #9
  %148 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  invoke void @_ZNSt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %149 unwind label %168

149:                                              ; preds = %147
  %150 = load ptr, ptr %148, align 8, !tbaa !15
  %151 = getelementptr inbounds ptr, ptr %150, i64 4
  %152 = load ptr, ptr %151, align 8
  invoke void %152(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %31, ptr noundef nonnull align 8 dereferenceable(32) %148, ptr noundef %32)
          to label %153 unwind label %172

153:                                              ; preds = %149
  %154 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %155 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  %156 = load i32, ptr %17, align 4, !tbaa !13
  %157 = sext i32 %156 to i64
  %158 = udiv i64 %155, %157
  %159 = trunc i64 %158 to i32
  store i32 %159, ptr %33, align 4, !tbaa !13
  %160 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  %161 = load i32, ptr %17, align 4, !tbaa !13
  %162 = sext i32 %161 to i64
  %163 = urem i64 %160, %162
  %164 = icmp ne i64 %163, 0
  br i1 %164, label %165, label %177

165:                                              ; preds = %153
  %166 = load i32, ptr %33, align 4, !tbaa !13
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %33, align 4, !tbaa !13
  br label %177

168:                                              ; preds = %147
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %24, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %25, align 4
  br label %176

172:                                              ; preds = %149
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %24, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %25, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  br label %176

176:                                              ; preds = %172, %168
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  br label %217

177:                                              ; preds = %165, %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  store i32 0, ptr %34, align 4, !tbaa !13
  br label %178

178:                                              ; preds = %206, %177
  %179 = load i32, ptr %34, align 4, !tbaa !13
  %180 = load i32, ptr %17, align 4, !tbaa !13
  %181 = icmp slt i32 %179, %180
  br i1 %181, label %183, label %182

182:                                              ; preds = %178
  store i32 4, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %213

183:                                              ; preds = %178
  %184 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE12emplace_backIJEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %185 unwind label %209

185:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %186 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  store ptr %186, ptr %35, align 8, !tbaa !5
  %187 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %188 = load ptr, ptr %35, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %188, i32 0, i32 0
  store ptr %187, ptr %189, align 8, !tbaa !17
  %190 = load ptr, ptr %35, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %190, i32 0, i32 1
  store ptr %21, ptr %191, align 8, !tbaa !28
  %192 = load i32, ptr %34, align 4, !tbaa !13
  %193 = load i32, ptr %33, align 4, !tbaa !13
  %194 = mul nsw i32 %192, %193
  %195 = load ptr, ptr %35, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %195, i32 0, i32 2
  store i32 %194, ptr %196, align 8, !tbaa !29
  %197 = load ptr, ptr %35, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %197, i32 0, i32 2
  %199 = load i32, ptr %198, align 8, !tbaa !29
  %200 = load i32, ptr %33, align 4, !tbaa !13
  %201 = add nsw i32 %199, %200
  %202 = load ptr, ptr %35, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %202, i32 0, i32 3
  store i32 %201, ptr %203, align 4, !tbaa !30
  %204 = load ptr, ptr %35, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %204, i32 0, i32 4
  store i32 0, ptr %205, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %206

206:                                              ; preds = %185
  %207 = load i32, ptr %34, align 4, !tbaa !13
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %34, align 4, !tbaa !13
  br label %178, !llvm.loop !32

209:                                              ; preds = %183
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %24, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %217

213:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  store i32 0, ptr %28, align 4
  br label %214

214:                                              ; preds = %213, %133, %111
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  %215 = load i32, ptr %28, align 4
  switch i32 %215, label %577 [
    i32 0, label %216
  ]

216:                                              ; preds = %214
  br label %219

217:                                              ; preds = %209, %176, %143, %142, %103, %99
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %218

218:                                              ; preds = %217, %95
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %578

219:                                              ; preds = %216, %8
  %220 = load i32, ptr %15, align 4, !tbaa !11
  %221 = and i32 %220, 2
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %223, label %368

223:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  invoke void @_ZN5euler8JoinPathIJNS_5SliceEA5_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 1 dereferenceable(5) @.str.21)
          to label %224 unwind label %244

224:                                              ; preds = %223
  br label %225

225:                                              ; preds = %224
  store i1 false, ptr %37, align 1
  %226 = invoke noundef ptr @_ZN5euler3Env7DefaultEv()
          to label %227 unwind label %248

227:                                              ; preds = %225
  invoke void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %228 unwind label %248

228:                                              ; preds = %227
  %229 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8
  %231 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 1
  %232 = load i64, ptr %231, align 8
  %233 = load ptr, ptr %226, align 8, !tbaa !15
  %234 = getelementptr inbounds ptr, ptr %233, i64 4
  %235 = load ptr, ptr %234, align 8
  invoke void %235(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %226, ptr %230, i64 %232, i1 noundef zeroext true, ptr noundef %20)
          to label %236 unwind label %248

236:                                              ; preds = %228
  %237 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %238 unwind label %252

238:                                              ; preds = %236
  %239 = xor i1 %237, true
  %240 = zext i1 %239 to i64
  %241 = call i64 @llvm.expect.i64(i64 %240, i64 0)
  %242 = icmp ne i64 %241, 0
  br i1 %242, label %243, label %256

243:                                              ; preds = %238
  store i1 true, ptr %37, align 1
  store i32 1, ptr %28, align 4
  br label %257

244:                                              ; preds = %223
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %24, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %25, align 4
  br label %367

248:                                              ; preds = %280, %268, %264, %228, %227, %225
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %24, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %25, align 4
  br label %366

252:                                              ; preds = %236
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %24, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %25, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %366

256:                                              ; preds = %238
  store i32 0, ptr %28, align 4
  br label %257

257:                                              ; preds = %256, %243
  %258 = load i1, ptr %37, align 1
  br i1 %258, label %260, label %259

259:                                              ; preds = %257
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %260

260:                                              ; preds = %259, %257
  %261 = load i32, ptr %28, align 4
  switch i32 %261, label %363 [
    i32 0, label %262
  ]

262:                                              ; preds = %260
  br label %263

263:                                              ; preds = %262
  br label %264

264:                                              ; preds = %263
  %265 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %266 = invoke noundef zeroext i1 @_ZNK5euler6FileIO11initializedEv(ptr noundef nonnull align 8 dereferenceable(32) %265)
          to label %267 unwind label %248

267:                                              ; preds = %264
  br i1 %266, label %268, label %275

268:                                              ; preds = %267
  %269 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %270 = load ptr, ptr %269, align 8, !tbaa !15
  %271 = getelementptr inbounds ptr, ptr %270, i64 3
  %272 = load ptr, ptr %271, align 8
  %273 = invoke noundef zeroext i1 %272(ptr noundef nonnull align 8 dereferenceable(32) %269)
          to label %274 unwind label %248

274:                                              ; preds = %268
  br i1 %273, label %296, label %275

275:                                              ; preds = %274, %267
  call void @llvm.lifetime.start.p0(i64 392, ptr %39) #9
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %39, ptr noundef @.str.23, i32 noundef 99, i32 noundef 3)
          to label %276 unwind label %283

276:                                              ; preds = %275
  %277 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA32_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %39, ptr noundef nonnull align 1 dereferenceable(32) @.str.24)
          to label %278 unwind label %287

278:                                              ; preds = %276
  %279 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %277, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %280 unwind label %287

280:                                              ; preds = %278
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %39) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %39) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %281 unwind label %248

281:                                              ; preds = %280
  invoke void @_ZN5euler6Status8NotFoundIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_EEES0_DpT_(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef @.str.25, ptr noundef %40, ptr noundef @.str.26)
          to label %282 unwind label %292

282:                                              ; preds = %281
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  store i32 1, ptr %28, align 4
  br label %363

283:                                              ; preds = %275
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %24, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %25, align 4
  br label %291

287:                                              ; preds = %278, %276
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %24, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %25, align 4
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %39) #9
  br label %291

291:                                              ; preds = %287, %283
  call void @llvm.lifetime.end.p0(i64 392, ptr %39) #9
  br label %366

292:                                              ; preds = %281
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %24, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  br label %366

296:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #9
  %297 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  invoke void @_ZNSt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %298 unwind label %317

298:                                              ; preds = %296
  %299 = load ptr, ptr %297, align 8, !tbaa !15
  %300 = getelementptr inbounds ptr, ptr %299, i64 4
  %301 = load ptr, ptr %300, align 8
  invoke void %301(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %41, ptr noundef nonnull align 8 dereferenceable(32) %297, ptr noundef %42)
          to label %302 unwind label %321

302:                                              ; preds = %298
  %303 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #9
  %304 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  %305 = load i32, ptr %17, align 4, !tbaa !13
  %306 = sext i32 %305 to i64
  %307 = udiv i64 %304, %306
  %308 = trunc i64 %307 to i32
  store i32 %308, ptr %43, align 4, !tbaa !13
  %309 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  %310 = load i32, ptr %17, align 4, !tbaa !13
  %311 = sext i32 %310 to i64
  %312 = urem i64 %309, %311
  %313 = icmp ne i64 %312, 0
  br i1 %313, label %314, label %326

314:                                              ; preds = %302
  %315 = load i32, ptr %43, align 4, !tbaa !13
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr %43, align 4, !tbaa !13
  br label %326

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

321:                                              ; preds = %298
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %24, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %25, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  br label %325

325:                                              ; preds = %321, %317
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #9
  br label %366

326:                                              ; preds = %314, %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  store i32 0, ptr %44, align 4, !tbaa !13
  br label %327

327:                                              ; preds = %355, %326
  %328 = load i32, ptr %44, align 4, !tbaa !13
  %329 = load i32, ptr %17, align 4, !tbaa !13
  %330 = icmp slt i32 %328, %329
  br i1 %330, label %332, label %331

331:                                              ; preds = %327
  store i32 9, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %362

332:                                              ; preds = %327
  %333 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE12emplace_backIJEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %334 unwind label %358

334:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %335 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  store ptr %335, ptr %45, align 8, !tbaa !5
  %336 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %337 = load ptr, ptr %45, align 8, !tbaa !5
  %338 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %337, i32 0, i32 0
  store ptr %336, ptr %338, align 8, !tbaa !17
  %339 = load ptr, ptr %45, align 8, !tbaa !5
  %340 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %339, i32 0, i32 1
  store ptr %22, ptr %340, align 8, !tbaa !28
  %341 = load i32, ptr %44, align 4, !tbaa !13
  %342 = load i32, ptr %43, align 4, !tbaa !13
  %343 = mul nsw i32 %341, %342
  %344 = load ptr, ptr %45, align 8, !tbaa !5
  %345 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %344, i32 0, i32 2
  store i32 %343, ptr %345, align 8, !tbaa !29
  %346 = load ptr, ptr %45, align 8, !tbaa !5
  %347 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %346, i32 0, i32 2
  %348 = load i32, ptr %347, align 8, !tbaa !29
  %349 = load i32, ptr %43, align 4, !tbaa !13
  %350 = add nsw i32 %348, %349
  %351 = load ptr, ptr %45, align 8, !tbaa !5
  %352 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %351, i32 0, i32 3
  store i32 %350, ptr %352, align 4, !tbaa !30
  %353 = load ptr, ptr %45, align 8, !tbaa !5
  %354 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %353, i32 0, i32 4
  store i32 1, ptr %354, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  br label %355

355:                                              ; preds = %334
  %356 = load i32, ptr %44, align 4, !tbaa !13
  %357 = add nsw i32 %356, 1
  store i32 %357, ptr %44, align 4, !tbaa !13
  br label %327, !llvm.loop !34

358:                                              ; preds = %332
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %24, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  br label %366

362:                                              ; preds = %331
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  store i32 0, ptr %28, align 4
  br label %363

363:                                              ; preds = %362, %282, %260
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  %364 = load i32, ptr %28, align 4
  switch i32 %364, label %577 [
    i32 0, label %365
  ]

365:                                              ; preds = %363
  br label %368

366:                                              ; preds = %358, %325, %292, %291, %252, %248
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %367

367:                                              ; preds = %366, %244
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %578

368:                                              ; preds = %365, %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #9
  %369 = invoke noundef ptr @_ZN5euler3Env7DefaultEv()
          to label %370 unwind label %390

370:                                              ; preds = %368
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %371 unwind label %394

371:                                              ; preds = %370
  %372 = load i32, ptr %16, align 4, !tbaa !13
  %373 = load ptr, ptr %369, align 8, !tbaa !15
  %374 = getelementptr inbounds ptr, ptr %373, i64 1
  %375 = load ptr, ptr %374, align 8
  %376 = invoke noundef ptr %375(ptr noundef nonnull align 8 dereferenceable(8) %369, ptr noundef nonnull align 8 dereferenceable(32) %47, i32 noundef %372)
          to label %377 unwind label %398

377:                                              ; preds = %371
  call void @_ZNSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef %376) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %49, ptr align 1 @__const._ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE.success, i64 1, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #9
  %378 = call noundef i64 @_ZNKSt6vectorIN5euler8TaskInfoESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %379 = trunc i64 %378 to i32
  call void @_ZNSt6atomicIiEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %50, i32 noundef %379) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %51) #9
  invoke void @_ZN5euler6SignalC2Ev(ptr noundef nonnull align 8 dereferenceable(89) %51)
          to label %380 unwind label %403

380:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  store ptr %18, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #9
  %381 = load ptr, ptr %52, align 8, !tbaa !5
  %382 = call ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %381) #9
  %383 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %53, i32 0, i32 0
  store ptr %382, ptr %383, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #9
  %384 = load ptr, ptr %52, align 8, !tbaa !5
  %385 = call ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %384) #9
  %386 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %54, i32 0, i32 0
  store ptr %385, ptr %386, align 8
  br label %387

387:                                              ; preds = %421, %380
  %388 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5euler8TaskInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #9
  br i1 %388, label %407, label %389

389:                                              ; preds = %387
  store i32 12, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  br label %432

390:                                              ; preds = %368
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %24, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %25, align 4
  br label %576

394:                                              ; preds = %370
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %24, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %25, align 4
  br label %402

398:                                              ; preds = %371
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %24, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  br label %402

402:                                              ; preds = %398, %394
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  br label %576

403:                                              ; preds = %377
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %24, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %25, align 4
  br label %575

407:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #9
  %408 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5euler8TaskInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #9
  store ptr %408, ptr %55, align 8, !tbaa !5
  %409 = call noundef ptr @_ZNKSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %57) #9
  %410 = getelementptr inbounds %class.anon, ptr %57, i32 0, i32 0
  store ptr %68, ptr %410, align 8, !tbaa !35
  %411 = getelementptr inbounds %class.anon, ptr %57, i32 0, i32 1
  store ptr %50, ptr %411, align 8, !tbaa !5
  %412 = getelementptr inbounds %class.anon, ptr %57, i32 0, i32 2
  store ptr %51, ptr %412, align 8, !tbaa !5
  %413 = getelementptr inbounds %class.anon, ptr %57, i32 0, i32 3
  %414 = load ptr, ptr %55, align 8, !tbaa !5
  store ptr %414, ptr %413, align 8, !tbaa !5
  %415 = getelementptr inbounds %class.anon, ptr %57, i32 0, i32 4
  store ptr %49, ptr %415, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvvEEC2IZN5euler12GraphBuilder5BuildEPNS3_5GraphENS3_5SliceENS3_17GlobalSamplerTypeES_IFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS3_13GraphDataTypeEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(40) %57)
          to label %416 unwind label %423

416:                                              ; preds = %407
  %417 = load ptr, ptr %409, align 8, !tbaa !15
  %418 = getelementptr inbounds ptr, ptr %417, i64 2
  %419 = load ptr, ptr %418, align 8
  invoke void %419(ptr noundef nonnull align 8 dereferenceable(8) %409, ptr noundef %56)
          to label %420 unwind label %427

420:                                              ; preds = %416
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #9
  br label %421

421:                                              ; preds = %420
  %422 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN5euler8TaskInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #9
  br label %387

423:                                              ; preds = %407
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %24, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %25, align 4
  br label %431

427:                                              ; preds = %416
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %24, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %25, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #9
  br label %431

431:                                              ; preds = %427, %423
  call void @llvm.lifetime.end.p0(i64 40, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  br label %574

432:                                              ; preds = %389
  %433 = load i32, ptr %15, align 4, !tbaa !11
  %434 = icmp ne i32 %433, 0
  br i1 %434, label %435, label %441

435:                                              ; preds = %432
  invoke void @_ZN5euler6Signal4WaitEv(ptr noundef nonnull align 8 dereferenceable(89) %51)
          to label %436 unwind label %437

436:                                              ; preds = %435
  br label %441

437:                                              ; preds = %441, %435
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %24, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %25, align 4
  br label %574

441:                                              ; preds = %436, %432
  %442 = call noundef ptr @_ZNKSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #9
  %443 = load ptr, ptr %442, align 8, !tbaa !15
  %444 = getelementptr inbounds ptr, ptr %443, i64 4
  %445 = load ptr, ptr %444, align 8
  invoke void %445(ptr noundef nonnull align 8 dereferenceable(8) %442)
          to label %446 unwind label %437

446:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 312, ptr %58) #9
  invoke void @_ZN5euler9GraphMetaC2Ev(ptr noundef nonnull align 8 dereferenceable(312) %58)
          to label %447 unwind label %463

447:                                              ; preds = %446
  call void @llvm.lifetime.start.p0(i64 32, ptr %59) #9
  invoke void @_ZN5euler8JoinPathIJNS_5SliceEA11_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %59, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 1 dereferenceable(11) @.str.28)
          to label %448 unwind label %467

448:                                              ; preds = %447
  br label %449

449:                                              ; preds = %448
  store i1 false, ptr %60, align 1
  invoke void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %450 unwind label %471

450:                                              ; preds = %449
  %451 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 0
  %452 = load ptr, ptr %451, align 8
  %453 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 1
  %454 = load i64, ptr %453, align 8
  invoke void @_ZN5euler12GraphBuilder8LoadMetaENS_5SliceEPNS_9GraphMetaE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %68, ptr %452, i64 %454, ptr noundef %58)
          to label %455 unwind label %471

455:                                              ; preds = %450
  %456 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %457 unwind label %475

457:                                              ; preds = %455
  %458 = xor i1 %456, true
  %459 = zext i1 %458 to i64
  %460 = call i64 @llvm.expect.i64(i64 %459, i64 0)
  %461 = icmp ne i64 %460, 0
  br i1 %461, label %462, label %479

462:                                              ; preds = %457
  store i1 true, ptr %60, align 1
  store i32 1, ptr %28, align 4
  br label %480

463:                                              ; preds = %446
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %24, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %25, align 4
  br label %573

467:                                              ; preds = %447
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %24, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %25, align 4
  br label %572

471:                                              ; preds = %559, %533, %506, %494, %487, %450, %449
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %24, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %25, align 4
  br label %571

475:                                              ; preds = %455
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %24, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %25, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %571

479:                                              ; preds = %457
  store i32 0, ptr %28, align 4
  br label %480

480:                                              ; preds = %479, %462
  %481 = load i1, ptr %60, align 1
  br i1 %481, label %483, label %482

482:                                              ; preds = %480
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %483

483:                                              ; preds = %482, %480
  %484 = load i32, ptr %28, align 4
  switch i32 %484, label %570 [
    i32 0, label %485
  ]

485:                                              ; preds = %483
  br label %486

486:                                              ; preds = %485
  br label %487

487:                                              ; preds = %486
  %488 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN5euler5Graph8set_metaERKNS_9GraphMetaE(ptr noundef nonnull align 8 dereferenceable(816) %488, ptr noundef nonnull align 8 dereferenceable(312) %58)
          to label %489 unwind label %471

489:                                              ; preds = %487
  %490 = call noundef zeroext i1 @_ZNKSt6atomicIbEcvbEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #9
  br i1 %490, label %505, label %491

491:                                              ; preds = %489
  call void @llvm.lifetime.start.p0(i64 392, ptr %62) #9
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %62, ptr noundef @.str.23, i32 noundef 148, i32 noundef 3)
          to label %492 unwind label %496

492:                                              ; preds = %491
  %493 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %62, ptr noundef nonnull align 1 dereferenceable(17) @.str.29)
          to label %494 unwind label %500

494:                                              ; preds = %492
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %62) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %62) #9
  invoke void @_ZN5euler6Status8InternalIJPKcEEES0_DpT_(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef @.str.30)
          to label %495 unwind label %471

495:                                              ; preds = %494
  store i32 1, ptr %28, align 4
  br label %570

496:                                              ; preds = %491
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %24, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %25, align 4
  br label %504

500:                                              ; preds = %492
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %24, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %25, align 4
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %62) #9
  br label %504

504:                                              ; preds = %500, %496
  call void @llvm.lifetime.end.p0(i64 392, ptr %62) #9
  br label %571

505:                                              ; preds = %489
  br label %506

506:                                              ; preds = %505
  store i1 false, ptr %63, align 1
  %507 = load ptr, ptr %12, align 8, !tbaa !5
  %508 = call noundef ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %509 = call noundef ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %510 = call noundef i64 @_ZNKSt6vectorIN5euler8TaskInfoESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %511 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %509, i64 %510
  invoke void @_ZN5euler12GraphBuilder10AddToGraphEPNS_5GraphEPKNS_8TaskInfoES5_(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %68, ptr noundef %507, ptr noundef %508, ptr noundef %511)
          to label %512 unwind label %471

512:                                              ; preds = %506
  %513 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %514 unwind label %520

514:                                              ; preds = %512
  %515 = xor i1 %513, 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 %524

519:                                              ; preds = %514
  store i1 true, ptr %63, align 1
  store i32 1, ptr %28, align 4
  br label %525

520:                                              ; preds = %512
  %521 = landingpad { ptr, i32 }
          cleanup
  %522 = extractvalue { ptr, i32 } %521, 0
  store ptr %522, ptr %24, align 8
  %523 = extractvalue { ptr, i32 } %521, 1
  store i32 %523, ptr %25, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %571

524:                                              ; preds = %514
  store i32 0, ptr %28, align 4
  br label %525

525:                                              ; preds = %524, %519
  %526 = load i1, ptr %63, align 1
  br i1 %526, label %528, label %527

527:                                              ; preds = %525
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %528

528:                                              ; preds = %527, %525
  %529 = load i32, ptr %28, align 4
  switch i32 %529, label %570 [
    i32 0, label %530
  ]

530:                                              ; preds = %528
  br label %531

531:                                              ; preds = %530
  br label %532

532:                                              ; preds = %531
  br label %533

533:                                              ; preds = %532
  store i1 false, ptr %64, align 1
  %534 = load ptr, ptr %12, align 8, !tbaa !5
  %535 = load i32, ptr %13, align 4, !tbaa !9
  invoke void @_ZN5euler12GraphBuilder12BuildSamplerEPNS_5GraphENS_17GlobalSamplerTypeE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %68, ptr noundef %534, i32 noundef %535)
          to label %536 unwind label %471

536:                                              ; preds = %533
  %537 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %538 unwind label %544

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

543:                                              ; preds = %538
  store i1 true, ptr %64, align 1
  store i32 1, ptr %28, align 4
  br label %549

544:                                              ; preds = %536
  %545 = landingpad { ptr, i32 }
          cleanup
  %546 = extractvalue { ptr, i32 } %545, 0
  store ptr %546, ptr %24, align 8
  %547 = extractvalue { ptr, i32 } %545, 1
  store i32 %547, ptr %25, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %571

548:                                              ; preds = %538
  store i32 0, ptr %28, align 4
  br label %549

549:                                              ; preds = %548, %543
  %550 = load i1, ptr %64, align 1
  br i1 %550, label %552, label %551

551:                                              ; preds = %549
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #9
  br label %552

552:                                              ; preds = %551, %549
  %553 = load i32, ptr %28, align 4
  switch i32 %553, label %570 [
    i32 0, label %554
  ]

554:                                              ; preds = %552
  br label %555

555:                                              ; preds = %554
  br label %556

556:                                              ; preds = %555
  call void @llvm.lifetime.start.p0(i64 392, ptr %65) #9
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %65, ptr noundef @.str.23, i32 noundef 156, i32 noundef 1)
          to label %557 unwind label %561

557:                                              ; preds = %556
  %558 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA24_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %65, ptr noundef nonnull align 1 dereferenceable(24) @.str.31)
          to label %559 unwind label %565

559:                                              ; preds = %557
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %65) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %65) #9
  invoke void @_ZN5euler6Status2OKEv(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0)
          to label %560 unwind label %471

560:                                              ; preds = %559
  store i32 1, ptr %28, align 4
  br label %570

561:                                              ; preds = %556
  %562 = landingpad { ptr, i32 }
          cleanup
  %563 = extractvalue { ptr, i32 } %562, 0
  store ptr %563, ptr %24, align 8
  %564 = extractvalue { ptr, i32 } %562, 1
  store i32 %564, ptr %25, align 4
  br label %569

565:                                              ; preds = %557
  %566 = landingpad { ptr, i32 }
          cleanup
  %567 = extractvalue { ptr, i32 } %566, 0
  store ptr %567, ptr %24, align 8
  %568 = extractvalue { ptr, i32 } %566, 1
  store i32 %568, ptr %25, align 4
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %65) #9
  br label %569

569:                                              ; preds = %565, %561
  call void @llvm.lifetime.end.p0(i64 392, ptr %65) #9
  br label %571

570:                                              ; preds = %560, %552, %528, %495, %483
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #9
  call void @_ZN5euler9GraphMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(312) %58) #9
  call void @llvm.lifetime.end.p0(i64 312, ptr %58) #9
  call void @_ZN5euler6SignalD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %51) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #9
  call void @_ZNSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  br label %577

571:                                              ; preds = %569, %544, %520, %504, %475, %471
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #9
  br label %572

572:                                              ; preds = %571, %467
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #9
  call void @_ZN5euler9GraphMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(312) %58) #9
  br label %573

573:                                              ; preds = %572, %463
  call void @llvm.lifetime.end.p0(i64 312, ptr %58) #9
  br label %574

574:                                              ; preds = %573, %437, %431
  call void @_ZN5euler6SignalD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %51) #9
  br label %575

575:                                              ; preds = %574, %403
  call void @llvm.lifetime.end.p0(i64 96, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #9
  call void @_ZNSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #9
  br label %576

576:                                              ; preds = %575, %402, %390
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  br label %578

577:                                              ; preds = %570, %363, %214
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #9
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  ret void

578:                                              ; preds = %576, %367, %218
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #9
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %579

579:                                              ; preds = %578
  %580 = load ptr, ptr %24, align 8
  %581 = load i32, ptr %25, align 4
  %582 = insertvalue { ptr, i32 } poison, ptr %580, 0
  %583 = insertvalue { ptr, i32 } %582, i32 %581, 1
  resume { ptr, i32 } %583
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler8JoinPathIJNS_5SliceEA5_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(5)) #2

declare noundef ptr @_ZN5euler3Env7DefaultEv() #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA32_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(32)) #6

declare void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler6Status8NotFoundIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_EEES0_DpT_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef, ptr noundef, ptr noundef) #2 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN5euler12GraphBuilder5BuildEPNS3_5GraphENS3_5SliceENS3_17GlobalSamplerTypeES_IFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS3_13GraphDataTypeEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler8JoinPathIJNS_5SliceEA11_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(11)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler12GraphBuilder8LoadMetaENS_5SliceEPNS_9GraphMetaE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr, i64, ptr noundef) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(17)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler6Status8InternalIJPKcEEES0_DpT_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler12GraphBuilder10AddToGraphEPNS_5GraphEPKNS_8TaskInfoES5_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler12GraphBuilder12BuildSamplerEPNS_5GraphENS_17GlobalSamplerTypeE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA24_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(24)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler6Status2OKEv(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8) #2 align 2

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { 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 = !{!"_ZTSN5euler17GlobalSamplerTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN5euler13GraphDataTypeE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSN5euler8TaskInfoE", !6, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !19, i64 24, !20, i64 32, !24, i64 56}
!19 = !{!"_ZTSN5euler8TaskTypeE", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIPN5euler4NodeESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPN5euler4NodeESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN5euler4NodeESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN5euler4NodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorIPN5euler4EdgeESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPN5euler4EdgeESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPN5euler4EdgeESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN5euler4EdgeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!18, !6, i64 8}
!29 = !{!18, !14, i64 16}
!30 = !{!18, !14, i64 20}
!31 = !{!18, !19, i64 24}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = !{!36, !6, i64 0}
!36 = !{!"_ZTSZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeEE3$_0", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}


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

%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.euler::Status" = type { i32, %"class.std::__cxx11::basic_string" }
%"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.euler::Slice" = type { ptr, i64 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::TaskInfo, std::allocator<euler::TaskInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.euler::LogMessage" = type { %"class.std::__cxx11::basic_ostringstream.base", ptr, i32, i32, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"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::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::unique_ptr.20" = type { %"struct.std::__uniq_ptr_data.21" }
%"struct.std::__uniq_ptr_data.21" = type { %"class.std::__uniq_ptr_impl.22" }
%"class.std::__uniq_ptr_impl.22" = type { %"class.std::tuple.23" }
%"class.std::tuple.23" = type { %"struct.std::_Tuple_impl.24" }
%"struct.std::_Tuple_impl.24" = type { %"struct.std::_Head_base.27" }
%"struct.std::_Head_base.27" = type { ptr }
%"class.std::allocator.0" = type { i8 }
%"struct.std::atomic.28" = type { %"struct.std::__atomic_base.29" }
%"struct.std::__atomic_base.29" = type { i32 }
%"class.euler::Signal" = type <{ %"class.euler::Mutex", %"class.euler::CondVar", %"struct.std::atomic", [7 x i8] }>
%"class.euler::Mutex" = type { %"class.std::mutex" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.euler::CondVar" = type { %"class.std::condition_variable" }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::function.30" = type { %"class.std::_Function_base", ptr }
%class.anon = type { ptr, ptr, ptr, ptr, ptr }
%"class.euler::GraphMeta" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i64, i64, i32, %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map.37", %"class.std::unordered_map.37" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.37" = type { %"class.std::_Hashtable.38" }
%"class.std::_Hashtable.38" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.euler::TaskInfo" = type { ptr, ptr, i32, i32, i32, %"class.std::vector.10", %"class.std::vector.15" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::Node *, std::allocator<euler::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::Edge *, std::allocator<euler::Edge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@__const._ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE.success = external hidden unnamed_addr constant %"struct.std::atomic", align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef %2, ptr %3, i64 %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"class.euler::Slice", align 8
  %10 = alloca %"class.std::vector.3", align 8
  %11 = alloca %"class.std::unique_ptr", align 8
  %12 = alloca %"class.std::unique_ptr", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.euler::Slice", align 8
  %17 = alloca %"class.euler::LogMessage", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::function", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.euler::Slice", align 8
  %23 = alloca %"class.euler::LogMessage", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %"class.std::function", align 8
  %27 = alloca %"class.std::unique_ptr.20", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = alloca %"struct.std::atomic", align 1
  %31 = alloca %"struct.std::atomic.28", align 4
  %32 = alloca %"class.euler::Signal", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"class.std::function.30", align 8
  %36 = alloca %class.anon, align 8
  %37 = alloca %"class.euler::GraphMeta", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.euler::Slice", align 8
  %40 = alloca %"class.euler::LogMessage", align 8
  %41 = alloca %"class.euler::LogMessage", align 8
  store ptr %3, ptr %9, align 8
  %42 = getelementptr inbounds i8, ptr %9, i64 8
  store i64 %4, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %43 = and i32 %7, 1
  %.not = icmp eq i32 %43, 0
  br i1 %.not, label %120, label %44

44:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  invoke void @_ZN5euler8JoinPathIJNS_5SliceEA5_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 1 dereferenceable(5) @.str.20)
          to label %45 unwind label %56

45:                                               ; preds = %44
  %46 = invoke noundef ptr @_ZN5euler3Env7DefaultEv()
          to label %47 unwind label %58

47:                                               ; preds = %45
  call void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(32) %15)
  %48 = load ptr, ptr %16, align 8
  %49 = getelementptr inbounds i8, ptr %16, i64 8
  %50 = load i64, ptr %49, align 8
  %51 = load ptr, ptr %46, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 32
  %53 = load ptr, ptr %52, align 8
  invoke void %53(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %46, ptr %48, i64 %50, i1 noundef zeroext true, ptr noundef nonnull %11)
          to label %54 unwind label %58

54:                                               ; preds = %47
  %55 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %55, label %60, label %.critedge130

56:                                               ; preds = %44
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %119

58:                                               ; preds = %75, %63, %47, %45
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %118

60:                                               ; preds = %54
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  %61 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %62 = call noundef zeroext i1 @_ZNK5euler6FileIO11initializedEv(ptr noundef nonnull align 8 dereferenceable(32) %61)
  br i1 %62, label %63, label %70

63:                                               ; preds = %60
  %64 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i64 24
  %67 = load ptr, ptr %66, align 8
  %68 = invoke noundef zeroext i1 %67(ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %69 unwind label %58

69:                                               ; preds = %63
  br i1 %68, label %85, label %70

70:                                               ; preds = %69, %60
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %17) #7
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %17, ptr noundef nonnull @.str.23, i32 noundef 73, i32 noundef 3)
          to label %71 unwind label %78

71:                                               ; preds = %70
  %72 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA32_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %17, ptr noundef nonnull align 1 dereferenceable(32) @.str.24)
          to label %73 unwind label %80

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %72, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %75 unwind label %80

75:                                               ; preds = %73
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %17) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %76 unwind label %58

76:                                               ; preds = %75
  invoke void @_ZN5euler6Status8NotFoundIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_EEES0_DpT_(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull @.str.25, ptr noundef nonnull %18, ptr noundef nonnull @.str.26)
          to label %77 unwind label %83

77:                                               ; preds = %76
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %.critedge130

78:                                               ; preds = %70
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

80:                                               ; preds = %73, %71
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #7
  br label %82

82:                                               ; preds = %80, %78
  %.pn = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %17) #7
  br label %118

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

85:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  %86 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  invoke void @_ZNSt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %87 unwind label %99

87:                                               ; preds = %85
  %88 = load ptr, ptr %86, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i64 32
  %90 = load ptr, ptr %89, align 8
  invoke void %90(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull %20)
          to label %91 unwind label %101

91:                                               ; preds = %87
  %92 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  %93 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %94 = lshr i64 %93, 6
  %95 = trunc i64 %94 to i32
  %96 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %97 = and i64 %96, 63
  %.not100 = icmp ne i64 %97, 0
  %98 = zext i1 %.not100 to i32
  %spec.select = add nsw i32 %98, %95
  br label %104

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

101:                                              ; preds = %87
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %103

103:                                              ; preds = %101, %99
  %.pn98 = phi { ptr, i32 } [ %102, %101 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br label %118

104:                                              ; preds = %91, %106
  %.095141 = phi i32 [ 0, %91 ], [ %115, %106 ]
  %105 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE12emplace_backIJEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %106 unwind label %116

106:                                              ; preds = %104
  %107 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %108 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  store ptr %108, ptr %107, align 8, !tbaa !8
  %109 = getelementptr inbounds i8, ptr %107, i64 8
  store ptr %13, ptr %109, align 8, !tbaa !22
  %110 = mul nsw i32 %.095141, %spec.select
  %111 = getelementptr inbounds i8, ptr %107, i64 16
  store i32 %110, ptr %111, align 8, !tbaa !23
  %112 = add nsw i32 %110, %spec.select
  %113 = getelementptr inbounds i8, ptr %107, i64 20
  store i32 %112, ptr %113, align 4, !tbaa !24
  %114 = getelementptr inbounds i8, ptr %107, i64 24
  store i32 0, ptr %114, align 8, !tbaa !25
  %115 = add nuw nsw i32 %.095141, 1
  %exitcond.not = icmp eq i32 %115, 64
  br i1 %exitcond.not, label %.critedge, label %104, !llvm.loop !26

116:                                              ; preds = %104
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %118

.critedge:                                        ; preds = %106
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %120

118:                                              ; preds = %116, %103, %83, %82, %58
  %.pn126 = phi { ptr, i32 } [ %117, %116 ], [ %.pn98, %103 ], [ %84, %83 ], [ %59, %58 ], [ %.pn, %82 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %119

119:                                              ; preds = %118, %56
  %.pn126.pn = phi { ptr, i32 } [ %.pn126, %118 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %302

120:                                              ; preds = %.critedge, %8
  %121 = and i32 %7, 2
  %.not101 = icmp eq i32 %121, 0
  br i1 %.not101, label %198, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  invoke void @_ZN5euler8JoinPathIJNS_5SliceEA5_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 1 dereferenceable(5) @.str.21)
          to label %123 unwind label %134

123:                                              ; preds = %122
  %124 = invoke noundef ptr @_ZN5euler3Env7DefaultEv()
          to label %125 unwind label %136

125:                                              ; preds = %123
  call void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(32) %21)
  %126 = load ptr, ptr %22, align 8
  %127 = getelementptr inbounds i8, ptr %22, i64 8
  %128 = load i64, ptr %127, align 8
  %129 = load ptr, ptr %124, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %129, i64 32
  %131 = load ptr, ptr %130, align 8
  invoke void %131(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %124, ptr %126, i64 %128, i1 noundef zeroext true, ptr noundef nonnull %12)
          to label %132 unwind label %136

132:                                              ; preds = %125
  %133 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %133, label %138, label %.critedge134

134:                                              ; preds = %122
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %197

136:                                              ; preds = %153, %141, %125, %123
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %196

138:                                              ; preds = %132
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  %139 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %140 = call noundef zeroext i1 @_ZNK5euler6FileIO11initializedEv(ptr noundef nonnull align 8 dereferenceable(32) %139)
  br i1 %140, label %141, label %148

141:                                              ; preds = %138
  %142 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = getelementptr inbounds i8, ptr %143, i64 24
  %145 = load ptr, ptr %144, align 8
  %146 = invoke noundef zeroext i1 %145(ptr noundef nonnull align 8 dereferenceable(32) %142)
          to label %147 unwind label %136

147:                                              ; preds = %141
  br i1 %146, label %163, label %148

148:                                              ; preds = %147, %138
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %23) #7
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %23, ptr noundef nonnull @.str.23, i32 noundef 99, i32 noundef 3)
          to label %149 unwind label %156

149:                                              ; preds = %148
  %150 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA32_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %23, ptr noundef nonnull align 1 dereferenceable(32) @.str.24)
          to label %151 unwind label %158

151:                                              ; preds = %149
  %152 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %150, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %153 unwind label %158

153:                                              ; preds = %151
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %23) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %23) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %154 unwind label %136

154:                                              ; preds = %153
  invoke void @_ZN5euler6Status8NotFoundIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_EEES0_DpT_(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull @.str.25, ptr noundef nonnull %24, ptr noundef nonnull @.str.26)
          to label %155 unwind label %161

155:                                              ; preds = %154
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %.critedge134

156:                                              ; preds = %148
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %151, %149
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %23) #7
  br label %160

160:                                              ; preds = %158, %156
  %.pn102 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %23) #7
  br label %196

161:                                              ; preds = %154
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %196

163:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #7
  %164 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  invoke void @_ZNSt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %165 unwind label %177

165:                                              ; preds = %163
  %166 = load ptr, ptr %164, align 8, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %166, i64 32
  %168 = load ptr, ptr %167, align 8
  invoke void %168(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %164, ptr noundef nonnull %26)
          to label %169 unwind label %179

169:                                              ; preds = %165
  %170 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  %171 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %172 = lshr i64 %171, 6
  %173 = trunc i64 %172 to i32
  %174 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %175 = and i64 %174, 63
  %.not106 = icmp ne i64 %175, 0
  %176 = zext i1 %.not106 to i32
  %spec.select133 = add nsw i32 %176, %173
  br label %182

177:                                              ; preds = %163
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %181

179:                                              ; preds = %165
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %181

181:                                              ; preds = %179, %177
  %.pn104 = phi { ptr, i32 } [ %180, %179 ], [ %178, %177 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  br label %196

182:                                              ; preds = %169, %184
  %.085142 = phi i32 [ 0, %169 ], [ %193, %184 ]
  %183 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE12emplace_backIJEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %184 unwind label %194

184:                                              ; preds = %182
  %185 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %186 = call noundef ptr @_ZNKSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  store ptr %186, ptr %185, align 8, !tbaa !8
  %187 = getelementptr inbounds i8, ptr %185, i64 8
  store ptr %14, ptr %187, align 8, !tbaa !22
  %188 = mul nsw i32 %.085142, %spec.select133
  %189 = getelementptr inbounds i8, ptr %185, i64 16
  store i32 %188, ptr %189, align 8, !tbaa !23
  %190 = add nsw i32 %188, %spec.select133
  %191 = getelementptr inbounds i8, ptr %185, i64 20
  store i32 %190, ptr %191, align 4, !tbaa !24
  %192 = getelementptr inbounds i8, ptr %185, i64 24
  store i32 1, ptr %192, align 8, !tbaa !25
  %193 = add nuw nsw i32 %.085142, 1
  %exitcond143.not = icmp eq i32 %193, 64
  br i1 %exitcond143.not, label %.critedge132, label %182, !llvm.loop !28

194:                                              ; preds = %182
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %196

.critedge132:                                     ; preds = %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %198

196:                                              ; preds = %194, %181, %161, %160, %136
  %.pn123 = phi { ptr, i32 } [ %195, %194 ], [ %.pn104, %181 ], [ %162, %161 ], [ %137, %136 ], [ %.pn102, %160 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %197

197:                                              ; preds = %196, %134
  %.pn123.pn = phi { ptr, i32 } [ %.pn123, %196 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %302

198:                                              ; preds = %.critedge132, %120
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %199 = invoke noundef ptr @_ZN5euler3Env7DefaultEv()
          to label %200 unwind label %218

200:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %201 unwind label %220

201:                                              ; preds = %200
  %202 = load ptr, ptr %199, align 8, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %202, i64 8
  %204 = load ptr, ptr %203, align 8
  %205 = invoke noundef ptr %204(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef nonnull align 8 dereferenceable(32) %28, i32 noundef 8)
          to label %206 unwind label %222

206:                                              ; preds = %201
  call void @_ZNSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef %205) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #7
  %207 = load i8, ptr @__const._ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE.success, align 1
  store i8 %207, ptr %30, align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #7
  %208 = call noundef i64 @_ZNKSt6vectorIN5euler8TaskInfoESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %209 = trunc i64 %208 to i32
  call void @_ZNSt6atomicIiEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %31, i32 noundef %209) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %32) #7
  invoke void @_ZN5euler6SignalC2Ev(ptr noundef nonnull align 8 dereferenceable(89) %32)
          to label %210 unwind label %225

210:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  %211 = call ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  store ptr %211, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #7
  %212 = call ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  store ptr %212, ptr %34, align 8
  %213 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5euler8TaskInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %213, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %210
  %214 = getelementptr inbounds i8, ptr %36, i64 8
  %215 = getelementptr inbounds i8, ptr %36, i64 16
  %216 = getelementptr inbounds i8, ptr %36, i64 24
  %217 = getelementptr inbounds i8, ptr %36, i64 32
  br label %227

._crit_edge:                                      ; preds = %234, %210
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  %.not109 = icmp eq i32 %7, 0
  br i1 %.not109, label %245, label %242

218:                                              ; preds = %198
  %219 = landingpad { ptr, i32 }
          cleanup
  br label %300

220:                                              ; preds = %200
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %224

222:                                              ; preds = %201
  %223 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %224

224:                                              ; preds = %222, %220
  %.pn107 = phi { ptr, i32 } [ %223, %222 ], [ %221, %220 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  br label %300

225:                                              ; preds = %206
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %299

227:                                              ; preds = %.lr.ph, %234
  %228 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5euler8TaskInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  %229 = call noundef ptr @_ZNKSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %36) #7
  store ptr %1, ptr %36, align 8, !tbaa !29
  store ptr %31, ptr %214, align 8, !tbaa !31
  store ptr %32, ptr %215, align 8, !tbaa !31
  store ptr %228, ptr %216, align 8, !tbaa !31
  store ptr %30, ptr %217, align 8, !tbaa !31
  invoke void @"_ZNSt8functionIFvvEEC2IZN5euler12GraphBuilder5BuildEPNS3_5GraphENS3_5SliceENS3_17GlobalSamplerTypeES_IFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS3_13GraphDataTypeEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(40) %36)
          to label %230 unwind label %237

230:                                              ; preds = %227
  %231 = load ptr, ptr %229, align 8, !tbaa !5
  %232 = getelementptr inbounds i8, ptr %231, i64 16
  %233 = load ptr, ptr %232, align 8
  invoke void %233(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull %35)
          to label %234 unwind label %239

234:                                              ; preds = %230
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %36) #7
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN5euler8TaskInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  %236 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5euler8TaskInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %236, label %227, label %._crit_edge

237:                                              ; preds = %227
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %241

239:                                              ; preds = %230
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %241

241:                                              ; preds = %239, %237
  %.pn118 = phi { ptr, i32 } [ %240, %239 ], [ %238, %237 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  br label %298

242:                                              ; preds = %._crit_edge
  invoke void @_ZN5euler6Signal4WaitEv(ptr noundef nonnull align 8 dereferenceable(89) %32)
          to label %245 unwind label %243

243:                                              ; preds = %245, %242
  %244 = landingpad { ptr, i32 }
          cleanup
  br label %298

245:                                              ; preds = %242, %._crit_edge
  %246 = call noundef ptr @_ZNKSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %247 = load ptr, ptr %246, align 8, !tbaa !5
  %248 = getelementptr inbounds i8, ptr %247, i64 32
  %249 = load ptr, ptr %248, align 8
  invoke void %249(ptr noundef nonnull align 8 dereferenceable(8) %246)
          to label %250 unwind label %243

250:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 312, ptr nonnull %37) #7
  invoke void @_ZN5euler9GraphMetaC2Ev(ptr noundef nonnull align 8 dereferenceable(312) %37)
          to label %251 unwind label %258

251:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #7
  invoke void @_ZN5euler8JoinPathIJNS_5SliceEA11_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %38, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 1 dereferenceable(11) @.str.28)
          to label %252 unwind label %260

252:                                              ; preds = %251
  call void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(32) %38)
  %253 = load ptr, ptr %39, align 8
  %254 = getelementptr inbounds i8, ptr %39, i64 8
  %255 = load i64, ptr %254, align 8
  invoke void @_ZN5euler12GraphBuilder8LoadMetaENS_5SliceEPNS_9GraphMetaE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr %253, i64 %255, ptr noundef nonnull %37)
          to label %256 unwind label %262

256:                                              ; preds = %252
  %257 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %257, label %264, label %.critedge136

258:                                              ; preds = %250
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %297

260:                                              ; preds = %251
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %296

262:                                              ; preds = %289, %283, %276, %270, %264, %252
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %295

264:                                              ; preds = %256
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  invoke void @_ZN5euler5Graph8set_metaERKNS_9GraphMetaE(ptr noundef nonnull align 8 dereferenceable(816) %2, ptr noundef nonnull align 8 dereferenceable(312) %37)
          to label %265 unwind label %262

265:                                              ; preds = %264
  %266 = call noundef zeroext i1 @_ZNKSt6atomicIbEcvbEv(ptr noundef nonnull align 1 dereferenceable(1) %30) #7
  br i1 %266, label %276, label %267

267:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %40) #7
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %40, ptr noundef nonnull @.str.23, i32 noundef 148, i32 noundef 3)
          to label %268 unwind label %271

268:                                              ; preds = %267
  %269 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %40, ptr noundef nonnull align 1 dereferenceable(17) @.str.29)
          to label %270 unwind label %273

270:                                              ; preds = %268
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %40) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %40) #7
  invoke void @_ZN5euler6Status8InternalIJPKcEEES0_DpT_(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull @.str.30)
          to label %.critedge136 unwind label %262

271:                                              ; preds = %267
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %275

273:                                              ; preds = %268
  %274 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %40) #7
  br label %275

275:                                              ; preds = %273, %271
  %.pn110 = phi { ptr, i32 } [ %274, %273 ], [ %272, %271 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %40) #7
  br label %295

276:                                              ; preds = %265
  %277 = call noundef ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %278 = call noundef ptr @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %279 = call noundef i64 @_ZNKSt6vectorIN5euler8TaskInfoESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %280 = getelementptr inbounds %"struct.euler::TaskInfo", ptr %278, i64 %279
  invoke void @_ZN5euler12GraphBuilder10AddToGraphEPNS_5GraphEPKNS_8TaskInfoES5_(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull %2, ptr noundef %277, ptr noundef %280)
          to label %281 unwind label %262

281:                                              ; preds = %276
  %282 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %282, label %283, label %.critedge136

283:                                              ; preds = %281
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  invoke void @_ZN5euler12GraphBuilder12BuildSamplerEPNS_5GraphENS_17GlobalSamplerTypeE(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull %2, i32 noundef %5)
          to label %284 unwind label %262

284:                                              ; preds = %283
  %285 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %285, label %286, label %.critedge136

286:                                              ; preds = %284
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %41) #7
  invoke void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %41, ptr noundef nonnull @.str.23, i32 noundef 156, i32 noundef 1)
          to label %287 unwind label %290

287:                                              ; preds = %286
  %288 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA24_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %41, ptr noundef nonnull align 1 dereferenceable(24) @.str.31)
          to label %289 unwind label %292

289:                                              ; preds = %287
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %41) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %41) #7
  invoke void @_ZN5euler6Status2OKEv(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0)
          to label %.critedge136 unwind label %262

290:                                              ; preds = %286
  %291 = landingpad { ptr, i32 }
          cleanup
  br label %294

292:                                              ; preds = %287
  %293 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %41) #7
  br label %294

294:                                              ; preds = %292, %290
  %.pn112 = phi { ptr, i32 } [ %293, %292 ], [ %291, %290 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %41) #7
  br label %295

.critedge136:                                     ; preds = %284, %281, %256, %289, %270
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #7
  call void @_ZN5euler9GraphMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(312) %37) #7
  call void @llvm.lifetime.end.p0(i64 312, ptr nonnull %37) #7
  call void @_ZN5euler6SignalD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %32) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  call void @_ZNSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %301

295:                                              ; preds = %294, %275, %262
  %.pn114 = phi { ptr, i32 } [ %263, %262 ], [ %.pn112, %294 ], [ %.pn110, %275 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  br label %296

296:                                              ; preds = %295, %260
  %.pn114.pn = phi { ptr, i32 } [ %.pn114, %295 ], [ %261, %260 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #7
  call void @_ZN5euler9GraphMetaD2Ev(ptr noundef nonnull align 8 dereferenceable(312) %37) #7
  br label %297

297:                                              ; preds = %296, %258
  %.pn114.pn.pn = phi { ptr, i32 } [ %.pn114.pn, %296 ], [ %259, %258 ]
  call void @llvm.lifetime.end.p0(i64 312, ptr nonnull %37) #7
  br label %298

298:                                              ; preds = %297, %243, %241
  %.pn118.pn = phi { ptr, i32 } [ %.pn118, %241 ], [ %.pn114.pn.pn, %297 ], [ %244, %243 ]
  call void @_ZN5euler6SignalD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %32) #7
  br label %299

299:                                              ; preds = %298, %225
  %.pn118.pn.pn = phi { ptr, i32 } [ %.pn118.pn, %298 ], [ %226, %225 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  call void @_ZNSt10unique_ptrIN5euler10ThreadPoolESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br label %300

300:                                              ; preds = %299, %224, %218
  %.pn118.pn.pn.pn = phi { ptr, i32 } [ %.pn118.pn.pn, %299 ], [ %.pn107, %224 ], [ %219, %218 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %302

.critedge130:                                     ; preds = %54, %77
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %301

.critedge134:                                     ; preds = %132, %155
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %301

301:                                              ; preds = %.critedge134, %.critedge130, %.critedge136
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  ret void

302:                                              ; preds = %300, %197, %119
  %.pn126.pn.pn = phi { ptr, i32 } [ %.pn126.pn, %119 ], [ %.pn123.pn, %197 ], [ %.pn118.pn.pn.pn, %300 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt10unique_ptrIN5euler6FileIOESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN5euler8TaskInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  resume { ptr, i32 } %.pn126.pn.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler8JoinPathIJNS_5SliceEA5_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(5)) local_unnamed_addr #2

declare noundef ptr @_ZN5euler3Env7DefaultEv() local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA32_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #5

declare void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler6Status8NotFoundIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES3_EEES0_DpT_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN5euler12GraphBuilder5BuildEPNS3_5GraphENS3_5SliceENS3_17GlobalSamplerTypeES_IFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS3_13GraphDataTypeEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler8JoinPathIJNS_5SliceEA11_cEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(11)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler12GraphBuilder8LoadMetaENS_5SliceEPNS_9GraphMetaE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr, i64, ptr noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(17)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler6Status8InternalIJPKcEEES0_DpT_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler12GraphBuilder10AddToGraphEPNS_5GraphEPKNS_8TaskInfoES5_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler12GraphBuilder12BuildSamplerEPNS_5GraphENS_17GlobalSamplerTypeE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA24_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(24)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler6Status2OKEv(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8) local_unnamed_addr #2 align 2

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTSN5euler8TaskInfoE", !10, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !13, i64 24, !14, i64 32, !18, i64 56}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"int", !11, i64 0}
!13 = !{!"_ZTSN5euler8TaskTypeE", !11, i64 0}
!14 = !{!"_ZTSSt6vectorIPN5euler4NodeESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN5euler4NodeESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN5euler4NodeESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN5euler4NodeESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!18 = !{!"_ZTSSt6vectorIPN5euler4EdgeESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIPN5euler4EdgeESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN5euler4EdgeESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN5euler4EdgeESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!22 = !{!9, !10, i64 8}
!23 = !{!9, !12, i64 16}
!24 = !{!9, !12, i64 20}
!25 = !{!9, !13, i64 24}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = !{!30, !10, i64 0}
!30 = !{!"_ZTSZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeEE3$_0", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!31 = !{!10, !10, i64 0}


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