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

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

%"class.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::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.anon = type { i32, i32 }
%"class.euler::GraphBuilder" = type { i8 }
%"class.euler::Slice" = 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.euler::Graph" = type { %"class.std::vector.3", %"class.std::vector.3", %"class.std::unordered_map", %"class.std::unordered_map.13", %"class.std::unordered_map.29", i8, i8, i8, i8, i32, i32, %"class.euler::GraphMeta", %"class.euler::common::FastWeightedCollection", %"class.euler::common::FastWeightedCollection", %"class.std::vector.87", %"class.std::vector.92" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.13" = type { %"class.std::_Hashtable.14" }
%"class.std::_Hashtable.14" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.29" = type { %"class.std::_Hashtable.30" }
%"class.std::_Hashtable.30" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.euler::GraphMeta" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i64, i64, i32, %"class.std::unordered_map.43", %"class.std::unordered_map.43", %"class.std::unordered_map.63", %"class.std::unordered_map.63" }
%"class.std::unordered_map.43" = type { %"class.std::_Hashtable.44" }
%"class.std::_Hashtable.44" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.63" = type { %"class.std::_Hashtable.64" }
%"class.std::_Hashtable.64" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.euler::common::FastWeightedCollection" = type <{ %"class.euler::common::WeightedCollection", %"class.std::vector.77", %"class.std::vector.3", %"class.euler::common::AliasMethod", float, [4 x i8] }>
%"class.euler::common::WeightedCollection" = type { ptr }
%"class.std::vector.77" = type { %"struct.std::_Vector_base.78" }
%"struct.std::_Vector_base.78" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.euler::common::AliasMethod" = type { %"class.std::vector.3", %"class.std::vector.82" }
%"class.std::vector.82" = type { %"struct.std::_Vector_base.83" }
%"struct.std::_Vector_base.83" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<euler::common::FastWeightedCollection<unsigned long>, std::allocator<euler::common::FastWeightedCollection<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::common::FastWeightedCollection<unsigned long>, std::allocator<euler::common::FastWeightedCollection<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::common::FastWeightedCollection<unsigned long>, std::allocator<euler::common::FastWeightedCollection<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::common::FastWeightedCollection<unsigned long>, std::allocator<euler::common::FastWeightedCollection<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.92" = type { %"struct.std::_Vector_base.93" }
%"struct.std::_Vector_base.93" = type { %"struct.std::_Vector_base<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>, std::allocator<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>, std::allocator<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>, std::allocator<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>, std::allocator<euler::common::FastWeightedCollection<std::tuple<unsigned long, unsigned long, int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.24 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [17 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

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 uwtable
declare dso_local void @_ZN5euler19StringToSamplerTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17GlobalSamplerTypeE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5euler5Graph4InitEiiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_S8_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(816) %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %6) #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.euler::LogMessage", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i1, align 1
  %20 = alloca i32, align 4
  %21 = alloca %class.anon, align 4
  %22 = alloca i32, align 4
  %23 = alloca i1, align 1
  %24 = alloca i1, align 1
  %25 = alloca %"class.euler::GraphBuilder", align 1
  %26 = alloca %"class.euler::Slice", align 8
  %27 = alloca %"class.std::function", align 8
  %28 = alloca %"class.euler::LogMessage", align 8
  %29 = alloca %"class.euler::LogMessage", align 8
  store ptr %0, ptr %8, align 8
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8
  %31 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 8
  %32 = load i8, ptr %31, align 1, !tbaa !11, !range !55, !noundef !56
  %33 = trunc i8 %32 to i1
  br i1 %33, label %186, label %34

34:                                               ; preds = %7
  %35 = load i32, ptr %11, align 4, !tbaa !9
  %36 = icmp sle i32 %35, 0
  br i1 %36, label %42, label %37

37:                                               ; preds = %34
  %38 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 9
  %39 = load i32, ptr %38, align 4, !tbaa !57
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = icmp sge i32 %39, %40
  br i1 %41, label %42, label %57

42:                                               ; preds = %37, %34
  call void @llvm.lifetime.start.p0(i64 392, ptr %15) #8
  call void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %15, ptr noundef @.str.24, i32 noundef 78, i32 noundef 3)
  %43 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %15, ptr noundef nonnull align 1 dereferenceable(21) @.str.28)
          to label %44 unwind label %53

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %43, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %46 unwind label %53

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %45, ptr noundef nonnull align 1 dereferenceable(17) @.str.29)
          to label %48 unwind label %53

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %47, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %50 unwind label %53

50:                                               ; preds = %48
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %15) #8
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = load i32, ptr %11, align 4, !tbaa !9
  call void @_ZN5euler6Status15InvalidArgumentIJPKciS3_iEEES0_DpT_(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef @.str.30, i32 noundef %51, ptr noundef @.str.31, i32 noundef %52)
  br label %187

53:                                               ; preds = %48, %46, %44, %42
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %16, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %17, align 4
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %15) #8
  br label %188

57:                                               ; preds = %37
  %58 = load i32, ptr %10, align 4, !tbaa !9
  %59 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 9
  store i32 %58, ptr %59, align 4, !tbaa !57
  %60 = load i32, ptr %11, align 4, !tbaa !9
  %61 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 10
  store i32 %60, ptr %61, align 8, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 1, ptr %18, align 4, !tbaa !59
  br label %62

62:                                               ; preds = %57
  store i1 false, ptr %19, align 1
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN5euler19StringToSamplerTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17GlobalSamplerTypeE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef %18)
  %64 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %65 unwind label %71

65:                                               ; preds = %62
  %66 = xor i1 %64, true
  %67 = zext i1 %66 to i64
  %68 = call i64 @llvm.expect.i64(i64 %67, i64 0)
  %69 = icmp ne i64 %68, 0
  br i1 %69, label %70, label %75

70:                                               ; preds = %65
  store i1 true, ptr %19, align 1
  store i32 1, ptr %20, align 4
  br label %76

71:                                               ; preds = %62
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %16, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %17, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %185

75:                                               ; preds = %65
  store i32 0, ptr %20, align 4
  br label %76

76:                                               ; preds = %75, %70
  %77 = load i1, ptr %19, align 1
  br i1 %77, label %79, label %78

78:                                               ; preds = %76
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %79

79:                                               ; preds = %78, %76
  %80 = load i32, ptr %20, align 4
  switch i32 %80, label %177 [
    i32 0, label %81
  ]

81:                                               ; preds = %79
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %84 = getelementptr inbounds %class.anon, ptr %21, i32 0, i32 0
  %85 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %85, ptr %84, align 4, !tbaa !61
  %86 = getelementptr inbounds %class.anon, ptr %21, i32 0, i32 1
  %87 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %87, ptr %86, align 4, !tbaa !63
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 1, ptr %22, align 4, !tbaa !64
  br label %88

88:                                               ; preds = %83
  store i1 false, ptr %23, align 1
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN5euler16StringToDataTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_13GraphDataTypeE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef %22)
  %90 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %91 unwind label %97

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

96:                                               ; preds = %91
  store i1 true, ptr %23, align 1
  store i32 1, ptr %20, align 4
  br label %102

97:                                               ; preds = %88
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %16, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %17, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %184

101:                                              ; preds = %91
  store i32 0, ptr %20, align 4
  br label %102

102:                                              ; preds = %101, %96
  %103 = load i1, ptr %23, align 1
  br i1 %103, label %105, label %104

104:                                              ; preds = %102
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %105

105:                                              ; preds = %104, %102
  %106 = load i32, ptr %20, align 4
  switch i32 %106, label %176 [
    i32 0, label %107
  ]

107:                                              ; preds = %105
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  store i1 false, ptr %24, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @_ZN5euler12GraphBuilderC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25)
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(32) %111)
  %112 = load i32, ptr %18, align 4, !tbaa !59
  call void @"_ZNSt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2IRZN5euler5Graph4InitEiiS7_S7_S7_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 4 dereferenceable(8) %21) #8
  %113 = load i32, ptr %22, align 4, !tbaa !64
  %114 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8
  %116 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %117 = load i64, ptr %116, align 8
  invoke void @_ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %25, ptr noundef %30, ptr %115, i64 %117, i32 noundef %112, ptr noundef %27, i32 noundef %113)
          to label %118 unwind label %126

118:                                              ; preds = %110
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  %119 = invoke noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
          to label %120 unwind label %130

120:                                              ; preds = %118
  %121 = xor i1 %119, true
  %122 = zext i1 %121 to i64
  %123 = call i64 @llvm.expect.i64(i64 %122, i64 0)
  %124 = icmp ne i64 %123, 0
  br i1 %124, label %125, label %134

125:                                              ; preds = %120
  store i1 true, ptr %24, align 1
  store i32 1, ptr %20, align 4
  br label %135

126:                                              ; preds = %110
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %16, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %184

130:                                              ; preds = %118
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %16, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %17, align 4
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %184

134:                                              ; preds = %120
  store i32 0, ptr %20, align 4
  br label %135

135:                                              ; preds = %134, %125
  %136 = load i1, ptr %24, align 1
  br i1 %136, label %138, label %137

137:                                              ; preds = %135
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #8
  br label %138

138:                                              ; preds = %137, %135
  %139 = load i32, ptr %20, align 4
  switch i32 %139, label %176 [
    i32 0, label %140
  ]

140:                                              ; preds = %138
  br label %141

141:                                              ; preds = %140
  br label %142

142:                                              ; preds = %141
  %143 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 11
  %144 = getelementptr inbounds %"class.euler::GraphMeta", ptr %143, i32 0, i32 4
  %145 = load i32, ptr %144, align 8, !tbaa !66
  %146 = icmp sle i32 %145, 0
  br i1 %146, label %147, label %154

147:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 392, ptr %28) #8
  call void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %28, ptr noundef @.str.24, i32 noundef 107, i32 noundef 3)
  %148 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA30_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %28, ptr noundef nonnull align 1 dereferenceable(30) @.str.32)
          to label %149 unwind label %150

149:                                              ; preds = %147
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %28) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %28) #8
  call void @_ZN5euler6Status8InternalIJPKcEEES0_DpT_(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef @.str.32)
  store i32 1, ptr %20, align 4
  br label %176

150:                                              ; preds = %147
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %16, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %17, align 4
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %28) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %28) #8
  br label %184

154:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 392, ptr %29) #8
  call void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %29, ptr noundef @.str.24, i32 noundef 111, i32 noundef 1)
  %155 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA40_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %29, ptr noundef nonnull align 1 dereferenceable(40) @.str.33)
          to label %156 unwind label %180

156:                                              ; preds = %154
  %157 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 9
  %158 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %155, ptr noundef nonnull align 4 dereferenceable(4) %157)
          to label %159 unwind label %180

159:                                              ; preds = %156
  %160 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %158, ptr noundef nonnull align 1 dereferenceable(17) @.str.29)
          to label %161 unwind label %180

161:                                              ; preds = %159
  %162 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 10
  %163 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %160, ptr noundef nonnull align 4 dereferenceable(4) %162)
          to label %164 unwind label %180

164:                                              ; preds = %161
  %165 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA14_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %163, ptr noundef nonnull align 1 dereferenceable(14) @.str.34)
          to label %166 unwind label %180

166:                                              ; preds = %164
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %165, ptr noundef nonnull align 8 dereferenceable(32) %167)
          to label %169 unwind label %180

169:                                              ; preds = %166
  %170 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %168, ptr noundef nonnull align 1 dereferenceable(17) @.str.35)
          to label %171 unwind label %180

171:                                              ; preds = %169
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %170, ptr noundef nonnull align 8 dereferenceable(32) %172)
          to label %174 unwind label %180

174:                                              ; preds = %171
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %29) #8
  %175 = getelementptr inbounds %"class.euler::Graph", ptr %30, i32 0, i32 8
  store i8 1, ptr %175, align 1, !tbaa !11
  store i32 0, ptr %20, align 4
  br label %176

176:                                              ; preds = %174, %149, %138, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %177

177:                                              ; preds = %176, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  %178 = load i32, ptr %20, align 4
  switch i32 %178, label %193 [
    i32 0, label %179
    i32 1, label %187
  ]

179:                                              ; preds = %177
  br label %186

180:                                              ; preds = %171, %169, %166, %164, %161, %159, %156, %154
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %16, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %17, align 4
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %29) #8
  br label %184

184:                                              ; preds = %180, %150, %130, %126, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %185

185:                                              ; preds = %184, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %188

186:                                              ; preds = %179, %7
  call void @_ZN5euler6Status2OKEv(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0)
  br label %187

187:                                              ; preds = %186, %177, %50
  ret void

188:                                              ; preds = %185, %53
  %189 = load ptr, ptr %16, align 8
  %190 = load i32, ptr %17, align 4
  %191 = insertvalue { ptr, i32 } poison, ptr %189, 0
  %192 = insertvalue { ptr, i32 } %191, i32 %190, 1
  resume { ptr, i32 } %192

193:                                              ; preds = %177
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 4 dereferenceable(4)) #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)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(21)) #2

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

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

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

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

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

declare void @_ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr, i64, i32 noundef, ptr noundef, i32 noundef) #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 #5 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA30_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(30)) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA14_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(14)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA40_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(40)) #2

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !28, i64 219}
!12 = !{!"_ZTSN5euler5GraphE", !13, i64 0, !13, i64 24, !17, i64 48, !23, i64 104, !25, i64 160, !27, i64 216, !28, i64 217, !28, i64 218, !28, i64 219, !10, i64 220, !10, i64 224, !29, i64 232, !36, i64 544, !36, i64 656, !47, i64 768, !51, i64 792}
!13 = !{!"_ZTSSt6vectorIfSaIfEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt13unordered_mapImPN5euler4NodeESt4hashImESt8equal_toImESaISt4pairIKmS2_EEE", !18, i64 0}
!18 = !{!"_ZTSSt10_HashtableImSt4pairIKmPN5euler4NodeEESaIS5_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !20, i64 16, !19, i64 24, !21, i64 32, !6, i64 48}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!21 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !22, i64 0, !19, i64 8}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSSt13unordered_mapISt5tupleIJmmiEEPN5euler4EdgeENS2_6common14EdgeIDHashFuncENS5_14EdgeIDEqualKeyESaISt4pairIKS1_S4_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_HashtableISt5tupleIJmmiEESt4pairIKS1_PN5euler4EdgeEESaIS7_ENSt8__detail10_Select1stENS4_6common14EdgeIDEqualKeyENSB_14EdgeIDHashFuncENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !20, i64 16, !19, i64 24, !21, i64 32, !6, i64 48}
!25 = !{!"_ZTSSt13unordered_mapImSt5tupleIJmmiEESt4hashImESt8equal_toImESaISt4pairIKmS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_HashtableImSt4pairIKmSt5tupleIJmmiEEESaIS4_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !20, i64 16, !19, i64 24, !21, i64 32, !6, i64 48}
!27 = !{!"_ZTSN5euler6common14EdgeIDHashFuncE"}
!28 = !{!"bool", !7, i64 0}
!29 = !{!"_ZTSN5euler9GraphMetaE", !30, i64 0, !30, i64 32, !19, i64 64, !19, i64 72, !10, i64 80, !32, i64 88, !32, i64 144, !34, i64 200, !34, i64 256}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !31, i64 0, !19, i64 8, !7, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!32 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5tupleIJN5euler11FeatureTypeEilEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5tupleIJN5euler11FeatureTypeEilEEESaISC_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !20, i64 16, !19, i64 24, !21, i64 32, !6, i64 48}
!34 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_jEEE", !35, i64 0}
!35 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !20, i64 16, !19, i64 24, !21, i64 32, !6, i64 48}
!36 = !{!"_ZTSN5euler6common22FastWeightedCollectionIiEE", !37, i64 0, !38, i64 8, !13, i64 32, !42, i64 56, !22, i64 104}
!37 = !{!"_ZTSN5euler6common18WeightedCollectionIiEE"}
!38 = !{!"_ZTSSt6vectorIiSaIiEE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!"_ZTSN5euler6common11AliasMethodE", !13, i64 0, !43, i64 24}
!43 = !{!"_ZTSSt6vectorIlSaIlEE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!47 = !{!"_ZTSSt6vectorIN5euler6common22FastWeightedCollectionImEESaIS3_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIN5euler6common22FastWeightedCollectionImEESaIS3_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionImEESaIS3_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionImEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"_ZTSSt6vectorIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = !{!12, !10, i64 220}
!58 = !{!12, !10, i64 224}
!59 = !{!60, !60, i64 0}
!60 = !{!"_ZTSN5euler17GlobalSamplerTypeE", !7, i64 0}
!61 = !{!62, !10, i64 0}
!62 = !{!"_ZTSZN5euler5Graph4InitEiiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_S8_E3$_0", !10, i64 0, !10, i64 4}
!63 = !{!62, !10, i64 4}
!64 = !{!65, !65, i64 0}
!65 = !{!"_ZTSN5euler13GraphDataTypeE", !7, i64 0}
!66 = !{!12, !10, i64 312}


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

%"class.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::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.anon = type { i32, i32 }
%"class.euler::GraphBuilder" = type { i8 }
%"class.euler::Slice" = 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 } }

@.str.24 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [17 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

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 uwtable
declare dso_local void @_ZN5euler19StringToSamplerTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17GlobalSamplerTypeE(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5euler5Graph4InitEiiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_S8_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(816) %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %6) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.euler::LogMessage", align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.anon, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.euler::GraphBuilder", align 1
  %15 = alloca %"class.euler::Slice", align 8
  %16 = alloca %"class.std::function", align 8
  %17 = alloca %"class.euler::LogMessage", align 8
  %18 = alloca %"class.euler::LogMessage", align 8
  store i32 %2, ptr %8, align 4, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %1, i64 219
  %20 = load i8, ptr %19, align 1, !tbaa !9, !range !54, !noundef !55
  %21 = trunc nuw i8 %20 to i1
  br i1 %21, label %84, label %22

22:                                               ; preds = %7
  %23 = icmp slt i32 %3, 1
  br i1 %23, label %27, label %24

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %1, i64 220
  %26 = load i32, ptr %25, align 4, !tbaa !56
  %.not = icmp slt i32 %26, %3
  br i1 %.not, label %40, label %27

27:                                               ; preds = %24, %22
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %10) #7
  call void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %10, ptr noundef nonnull @.str.24, i32 noundef 78, i32 noundef 3)
  %28 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %10, ptr noundef nonnull align 1 dereferenceable(21) @.str.28)
          to label %29 unwind label %38

29:                                               ; preds = %27
  %30 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %28, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %31 unwind label %38

31:                                               ; preds = %29
  %32 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %30, ptr noundef nonnull align 1 dereferenceable(17) @.str.29)
          to label %33 unwind label %38

33:                                               ; preds = %31
  %34 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %32, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %35 unwind label %38

35:                                               ; preds = %33
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %10) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %10) #7
  %36 = load i32, ptr %8, align 4, !tbaa !5
  %37 = load i32, ptr %9, align 4, !tbaa !5
  call void @_ZN5euler6Status15InvalidArgumentIJPKciS3_iEEES0_DpT_(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull @.str.30, i32 noundef %36, ptr noundef nonnull @.str.31, i32 noundef %37)
  br label %85

38:                                               ; preds = %33, %31, %29, %27
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %10) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %10) #7
  br label %86

40:                                               ; preds = %24
  store i32 %2, ptr %25, align 4, !tbaa !56
  %41 = getelementptr inbounds i8, ptr %1, i64 224
  store i32 %3, ptr %41, align 8, !tbaa !57
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 1, ptr %11, align 4, !tbaa !58
  call void @_ZN5euler19StringToSamplerTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17GlobalSamplerTypeE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %11)
  %42 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %42, label %43, label %.critedge.thread

.critedge.thread:                                 ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %85

43:                                               ; preds = %40
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store i32 %2, ptr %12, align 4, !tbaa !60
  %44 = getelementptr inbounds i8, ptr %12, i64 4
  store i32 %3, ptr %44, align 4, !tbaa !62
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 1, ptr %13, align 4, !tbaa !63
  call void @_ZN5euler16StringToDataTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_13GraphDataTypeE(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %13)
  %45 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %45, label %46, label %.critedge.thread33

46:                                               ; preds = %43
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  call void @_ZN5euler12GraphBuilderC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @_ZN5euler5SliceC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(32) %5)
  %47 = load i32, ptr %11, align 4, !tbaa !58
  call void @"_ZNSt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2IRZN5euler5Graph4InitEiiS7_S7_S7_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 4 dereferenceable(8) %12) #7
  %48 = load i32, ptr %13, align 4, !tbaa !63
  %49 = load ptr, ptr %15, align 8
  %50 = getelementptr inbounds i8, ptr %15, i64 8
  %51 = load i64, ptr %50, align 8
  invoke void @_ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull %1, ptr %49, i64 %51, i32 noundef %47, ptr noundef nonnull %16, i32 noundef %48)
          to label %52 unwind label %54

52:                                               ; preds = %46
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  %53 = call noundef zeroext i1 @_ZNK5euler6Status2okEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %53, label %56, label %.critedge.thread33

54:                                               ; preds = %46
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  br label %83

56:                                               ; preds = %52
  call void @_ZN5euler6StatusD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #7
  %57 = getelementptr inbounds i8, ptr %1, i64 312
  %58 = load i32, ptr %57, align 8, !tbaa !65
  %59 = icmp slt i32 %58, 1
  br i1 %59, label %60, label %65

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %17) #7
  call void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %17, ptr noundef nonnull @.str.24, i32 noundef 107, i32 noundef 3)
  %61 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA30_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %17, ptr noundef nonnull align 1 dereferenceable(30) @.str.32)
          to label %62 unwind label %63

62:                                               ; preds = %60
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %17) #7
  call void @_ZN5euler6Status8InternalIJPKcEEES0_DpT_(ptr dead_on_unwind nonnull writable sret(%"class.euler::Status") align 8 %0, ptr noundef nonnull @.str.32)
  br label %.critedge.thread33

63:                                               ; preds = %60
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %17) #7
  br label %83

65:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %18) #7
  call void @_ZN5euler10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef nonnull @.str.24, i32 noundef 111, i32 noundef 1)
  %66 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA40_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef nonnull align 1 dereferenceable(40) @.str.33)
          to label %67 unwind label %81

67:                                               ; preds = %65
  %68 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %66, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %69 unwind label %81

69:                                               ; preds = %67
  %70 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %68, ptr noundef nonnull align 1 dereferenceable(17) @.str.29)
          to label %71 unwind label %81

71:                                               ; preds = %69
  %72 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %70, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %73 unwind label %81

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA14_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %72, ptr noundef nonnull align 1 dereferenceable(14) @.str.34)
          to label %75 unwind label %81

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %74, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %77 unwind label %81

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %76, ptr noundef nonnull align 1 dereferenceable(17) @.str.35)
          to label %79 unwind label %81

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %78, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %.critedge unwind label %81

.critedge.thread33:                               ; preds = %62, %43, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %85

.critedge:                                        ; preds = %79
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %18) #7
  store i8 1, ptr %19, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %84

81:                                               ; preds = %79, %77, %75, %73, %71, %69, %67, %65
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5euler10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %18) #7
  br label %83

83:                                               ; preds = %81, %63, %54
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %82, %81 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %86

84:                                               ; preds = %.critedge, %7
  call void @_ZN5euler6Status2OKEv(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8 %0)
  br label %85

85:                                               ; preds = %.critedge.thread33, %.critedge.thread, %84, %35
  ret void

86:                                               ; preds = %83, %38
  %.pn25 = phi { ptr, i32 } [ %39, %38 ], [ %.pn, %83 ]
  resume { ptr, i32 } %.pn25
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEiEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #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 #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA21_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(21)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5euler6Status15InvalidArgumentIJPKciS3_iEEES0_DpT_(ptr dead_on_unwind noalias writable sret(%"class.euler::Status") align 8, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_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 #5 align 2

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

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

declare void @_ZN5euler12GraphBuilder5BuildEPNS_5GraphENS_5SliceENS_17GlobalSamplerTypeESt8functionIFbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_13GraphDataTypeE(ptr dead_on_unwind writable sret(%"class.euler::Status") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr, i64, i32 noundef, ptr noundef, i32 noundef) 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 #5 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA30_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(30)) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA14_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN5euler10LogMessageEA40_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(40)) local_unnamed_addr #2

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !27, i64 219}
!10 = !{!"_ZTSN5euler5GraphE", !11, i64 0, !11, i64 24, !16, i64 48, !22, i64 104, !24, i64 160, !26, i64 216, !27, i64 217, !27, i64 218, !27, i64 219, !6, i64 220, !6, i64 224, !28, i64 232, !35, i64 544, !35, i64 656, !46, i64 768, !50, i64 792}
!11 = !{!"_ZTSSt6vectorIfSaIfEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSSt13unordered_mapImPN5euler4NodeESt4hashImESt8equal_toImESaISt4pairIKmS2_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_HashtableImSt4pairIKmPN5euler4NodeEESaIS5_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !15, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !15, i64 48}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !15, i64 0}
!20 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !21, i64 0, !18, i64 8}
!21 = !{!"float", !7, i64 0}
!22 = !{!"_ZTSSt13unordered_mapISt5tupleIJmmiEEPN5euler4EdgeENS2_6common14EdgeIDHashFuncENS5_14EdgeIDEqualKeyESaISt4pairIKS1_S4_EEE", !23, i64 0}
!23 = !{!"_ZTSSt10_HashtableISt5tupleIJmmiEESt4pairIKS1_PN5euler4EdgeEESaIS7_ENSt8__detail10_Select1stENS4_6common14EdgeIDEqualKeyENSB_14EdgeIDHashFuncENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !15, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !15, i64 48}
!24 = !{!"_ZTSSt13unordered_mapImSt5tupleIJmmiEESt4hashImESt8equal_toImESaISt4pairIKmS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_HashtableImSt4pairIKmSt5tupleIJmmiEEESaIS4_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !15, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !15, i64 48}
!26 = !{!"_ZTSN5euler6common14EdgeIDHashFuncE"}
!27 = !{!"bool", !7, i64 0}
!28 = !{!"_ZTSN5euler9GraphMetaE", !29, i64 0, !29, i64 32, !18, i64 64, !18, i64 72, !6, i64 80, !31, i64 88, !31, i64 144, !33, i64 200, !33, i64 256}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !30, i64 0, !18, i64 8, !7, i64 16}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!31 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5tupleIJN5euler11FeatureTypeEilEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St5tupleIJN5euler11FeatureTypeEilEEESaISC_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSE_18_Mod_range_hashingENSE_20_Default_ranged_hashENSE_20_Prime_rehash_policyENSE_17_Hashtable_traitsILb1ELb0ELb1EEEE", !15, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !15, i64 48}
!33 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_jEEE", !34, i64 0}
!34 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !15, i64 0, !18, i64 8, !19, i64 16, !18, i64 24, !20, i64 32, !15, i64 48}
!35 = !{!"_ZTSN5euler6common22FastWeightedCollectionIiEE", !36, i64 0, !37, i64 8, !11, i64 32, !41, i64 56, !21, i64 104}
!36 = !{!"_ZTSN5euler6common18WeightedCollectionIiEE"}
!37 = !{!"_ZTSSt6vectorIiSaIiEE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!41 = !{!"_ZTSN5euler6common11AliasMethodE", !11, i64 0, !42, i64 24}
!42 = !{!"_ZTSSt6vectorIlSaIlEE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!46 = !{!"_ZTSSt6vectorIN5euler6common22FastWeightedCollectionImEESaIS3_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIN5euler6common22FastWeightedCollectionImEESaIS3_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionImEESaIS3_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionImEESaIS3_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!50 = !{!"_ZTSSt6vectorIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN5euler6common22FastWeightedCollectionISt5tupleIJmmiEEEESaIS5_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!54 = !{i8 0, i8 2}
!55 = !{}
!56 = !{!10, !6, i64 220}
!57 = !{!10, !6, i64 224}
!58 = !{!59, !59, i64 0}
!59 = !{!"_ZTSN5euler17GlobalSamplerTypeE", !7, i64 0}
!60 = !{!61, !6, i64 0}
!61 = !{!"_ZTSZN5euler5Graph4InitEiiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_S8_E3$_0", !6, i64 0, !6, i64 4}
!62 = !{!61, !6, i64 4}
!63 = !{!64, !64, i64 0}
!64 = !{!"_ZTSN5euler13GraphDataTypeE", !7, i64 0}
!65 = !{!10, !6, i64 312}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass