; LLVM IR from NVIDIA/DALI :: dali/pipeline/graph (op_graph2)

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

%"class.std::__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.dali::OpSpec" = type { %"class.std::__cxx11::basic_string", ptr, %"class.std::vector", %"class.std::map", %"class.std::vector.6", %"class.std::map", %"class.std::map.11", %"class.std::vector.16", %"class.std::vector.16", %"class.std::map.21" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<void>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<void>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.11" = type { %"class.std::_Rb_tree.12" }
%"class.std::_Rb_tree.12" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<void>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<void>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.21" = type { %"class.std::_Rb_tree.22" }
%"class.std::_Rb_tree.22" = type { %"struct.std::_Rb_tree<dali::OpSpec::InOutDeviceDesc, std::pair<const dali::OpSpec::InOutDeviceDesc, int>, std::_Select1st<std::pair<const dali::OpSpec::InOutDeviceDesc, int>>, std::less<void>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<dali::OpSpec::InOutDeviceDesc, std::pair<const dali::OpSpec::InOutDeviceDesc, int>, std::_Select1st<std::pair<const dali::OpSpec::InOutDeviceDesc, int>>, std::less<void>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::__detail::_Node_iterator.103" = type { %"struct.std::__detail::_Node_iterator_base.104" }
%"struct.std::__detail::_Node_iterator_base.104" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.dali::graph::DataEdge" = type <{ ptr, i32, [4 x i8] }>
%"class.dali::graph::OpGraph::Builder" = type { i8, i8, %"class.std::vector.29", %"class.dali::graph::OpGraph" }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = 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.dali::graph::OpGraph" = type { %"class.std::__cxx11::list", %"class.std::__cxx11::list.65", %"class.std::unordered_map", %"class.std::unordered_map.75", %"class.std::vector.89" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<dali::graph::OpNode, std::allocator<dali::graph::OpNode>>::_List_impl" }
%"struct.std::__cxx11::_List_base<dali::graph::OpNode, std::allocator<dali::graph::OpNode>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::__cxx11::list.65" = type { %"class.std::__cxx11::_List_base.66" }
%"class.std::__cxx11::_List_base.66" = type { %"struct.std::__cxx11::_List_base<dali::graph::DataNode, std::allocator<dali::graph::DataNode>>::_List_impl" }
%"struct.std::__cxx11::_List_base<dali::graph::DataNode, std::allocator<dali::graph::DataNode>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"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.75" = type { %"class.std::_Hashtable.76" }
%"class.std::_Hashtable.76" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.89" = type { %"struct.std::_Vector_base.90" }
%"struct.std::_Vector_base.90" = type { %"struct.std::_Vector_base<std::basic_string_view<char>, std::allocator<std::basic_string_view<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::basic_string_view<char>, std::allocator<std::basic_string_view<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::basic_string_view<char>, std::allocator<std::basic_string_view<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::basic_string_view<char>, std::allocator<std::basic_string_view<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.dali::graph::OpNode" = type { %"struct.std::_List_iterator", i8, i8, %"class.std::__cxx11::basic_string", %"class.dali::OpSpec", i32, i8, %"class.dali::SmallVector", %"class.dali::SmallVector.62" }
%"struct.std::_List_iterator" = type { ptr }
%"class.dali::SmallVector" = type { %union.anon.61, i64 }
%union.anon.61 = type { %struct.anon, [48 x i8] }
%struct.anon = type { ptr, i64 }
%"class.dali::SmallVector.62" = type { %union.anon.63, i64 }
%union.anon.63 = type { %struct.anon.64, [16 x i8] }
%struct.anon.64 = type { ptr, i64 }
%"struct.std::pair.109" = type { %"class.std::basic_string_view", ptr }
%"struct.dali::graph::DataNode" = type <{ %"struct.std::_List_iterator.95", i8, i8, [6 x i8], %"class.std::__cxx11::basic_string", i32, [4 x i8], %"struct.dali::graph::DataEdge", %"class.dali::SmallVector.96", i8, [7 x i8] }>
%"struct.std::_List_iterator.95" = type { ptr }
%"class.dali::SmallVector.96" = type { %union.anon.99, i64 }
%union.anon.99 = type { %struct.anon.100, [48 x i8] }
%struct.anon.100 = type { ptr, i64 }

@_ZTISt16invalid_argument = external constant ptr
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 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) #3

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

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt16invalid_argumentC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNSt16invalid_argumentD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @__cxa_free_exception(ptr)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(145) ptr @_ZN4dali5graph7OpGraph7AddDataENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13StorageDeviceE(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef, i32 noundef) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali5graph7OpGraph7Builder3AddENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_6OpSpecE(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef %1, ptr noundef %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.dali::OpSpec", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"struct.dali::graph::DataEdge", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %25 = alloca %"class.std::basic_string_view", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca i1, align 1
  %30 = alloca i32, align 4
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"struct.dali::graph::DataEdge", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %34 = getelementptr inbounds %"class.dali::graph::OpGraph::Builder", ptr %33, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  call void @_ZN4dali6OpSpecC2EOS0_(ptr noundef nonnull align 8 dereferenceable(328) %9, ptr noundef nonnull align 8 dereferenceable(328) %2) #8
  %35 = invoke noundef nonnull align 8 dereferenceable(496) ptr @_ZN4dali5graph7OpGraph5AddOpENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_6OpSpecE(ptr noundef nonnull align 8 dereferenceable(184) %34, ptr noundef %8, ptr noundef %9)
          to label %36 unwind label %45

36:                                               ; preds = %3
  call void @_ZN4dali6OpSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %9) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  store ptr %35, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.dali::graph::OpNode", ptr %37, i32 0, i32 4
  store ptr %38, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %107, %36
  %40 = load i32, ptr %13, align 4, !tbaa !9
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  %42 = call noundef i32 @_ZNK4dali6OpSpec8NumInputEv(ptr noundef nonnull align 8 dereferenceable(328) %41)
  %43 = icmp slt i32 %40, %42
  br i1 %43, label %49, label %44

44:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %120

45:                                               ; preds = %3
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %10, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %11, align 4
  call void @_ZN4dali6OpSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %9) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %226

49:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZNK4dali6OpSpec5InputB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(328) %50, i32 noundef %51)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %52 = getelementptr inbounds %"class.dali::graph::OpGraph::Builder", ptr %33, i32 0, i32 3
  %53 = getelementptr inbounds %"class.dali::graph::OpGraph", ptr %52, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %54 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  %55 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 0
  %56 = extractvalue { i64, ptr } %54, 0
  store i64 %56, ptr %55, align 8
  %57 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 1
  %58 = extractvalue { i64, ptr } %54, 1
  store ptr %58, ptr %57, align 8
  %59 = invoke ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %53, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %60 unwind label %73

60:                                               ; preds = %49
  %61 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.103", ptr %15, i32 0, i32 0
  %62 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.104", ptr %61, i32 0, i32 0
  store ptr %59, ptr %62, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %63 = getelementptr inbounds %"class.dali::graph::OpGraph::Builder", ptr %33, i32 0, i32 3
  %64 = getelementptr inbounds %"class.dali::graph::OpGraph", ptr %63, i32 0, i32 3
  %65 = call ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %64) #8
  %66 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.103", ptr %18, i32 0, i32 0
  %67 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.104", ptr %66, i32 0, i32 0
  store ptr %65, ptr %67, align 8
  %68 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br i1 %68, label %69, label %77

69:                                               ; preds = %60
  %70 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %71 = getelementptr inbounds %"struct.std::pair.109", ptr %70, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  store ptr %72, ptr %17, align 8, !tbaa !5
  br label %96

73:                                               ; preds = %49
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %10, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %119

77:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  %79 = load i32, ptr %13, align 4, !tbaa !9
  %80 = invoke noundef i32 @_ZNK4dali6OpSpec11InputDeviceEi(ptr noundef nonnull align 8 dereferenceable(328) %78, i32 noundef %79)
          to label %81 unwind label %87

81:                                               ; preds = %77
  store i32 %80, ptr %19, align 4, !tbaa !15
  %82 = getelementptr inbounds %"class.dali::graph::OpGraph::Builder", ptr %33, i32 0, i32 3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %83 unwind label %87

83:                                               ; preds = %81
  %84 = load i32, ptr %19, align 4, !tbaa !15
  %85 = invoke noundef nonnull align 8 dereferenceable(145) ptr @_ZN4dali5graph7OpGraph7AddDataENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13StorageDeviceE(ptr noundef nonnull align 8 dereferenceable(184) %82, ptr noundef %20, i32 noundef %84)
          to label %86 unwind label %91

86:                                               ; preds = %83
  store ptr %85, ptr %17, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %96

87:                                               ; preds = %81, %77
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %10, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %11, align 4
  br label %95

91:                                               ; preds = %83
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %10, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  br label %95

95:                                               ; preds = %91, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %118

96:                                               ; preds = %86, %69
  %97 = load ptr, ptr %17, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.dali::graph::DataNode", ptr %97, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %99 = getelementptr inbounds %"struct.dali::graph::DataEdge", ptr %21, i32 0, i32 0
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %100, ptr %99, align 8, !tbaa !17
  %101 = getelementptr inbounds %"struct.dali::graph::DataEdge", ptr %21, i32 0, i32 1
  %102 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %102, ptr %101, align 8, !tbaa !19
  invoke void @_ZN4dali11SmallVectorINS_5graph8DataEdgeELm4ESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(72) %98, ptr noundef nonnull align 8 dereferenceable(12) %21)
          to label %103 unwind label %110

103:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.dali::graph::OpNode", ptr %104, i32 0, i32 7
  invoke void @_ZN4dali11SmallVectorIPNS_5graph8DataNodeELm8ESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(72) %105, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %106 unwind label %114

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

107:                                              ; preds = %106
  %108 = load i32, ptr %13, align 4, !tbaa !9
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %13, align 4, !tbaa !9
  br label %39, !llvm.loop !20

110:                                              ; preds = %96
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %10, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  br label %118

114:                                              ; preds = %103
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %10, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %11, align 4
  br label %118

118:                                              ; preds = %114, %110, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %119

119:                                              ; preds = %118, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %225

120:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %215, %120
  %122 = load i32, ptr %22, align 4, !tbaa !9
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = call noundef i32 @_ZNK4dali6OpSpec9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(328) %123)
  %125 = icmp slt i32 %122, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %224

127:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #8
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = load i32, ptr %22, align 4, !tbaa !9
  call void @_ZNK4dali6OpSpec6OutputB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(328) %128, i32 noundef %129)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %130 = getelementptr inbounds %"class.dali::graph::OpGraph::Builder", ptr %33, i32 0, i32 3
  %131 = getelementptr inbounds %"class.dali::graph::OpGraph", ptr %130, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %132 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %133 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 0
  %134 = extractvalue { i64, ptr } %132, 0
  store i64 %134, ptr %133, align 8
  %135 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 1
  %136 = extractvalue { i64, ptr } %132, 1
  store ptr %136, ptr %135, align 8
  %137 = invoke ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %131, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %138 unwind label %170

138:                                              ; preds = %127
  %139 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.103", ptr %24, i32 0, i32 0
  %140 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.104", ptr %139, i32 0, i32 0
  store ptr %137, ptr %140, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %141 = getelementptr inbounds %"class.dali::graph::OpGraph::Builder", ptr %33, i32 0, i32 3
  %142 = getelementptr inbounds %"class.dali::graph::OpGraph", ptr %141, i32 0, i32 3
  %143 = call ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %142) #8
  %144 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.103", ptr %27, i32 0, i32 0
  %145 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.104", ptr %144, i32 0, i32 0
  store ptr %143, ptr %145, align 8
  %146 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br i1 %146, label %147, label %187

147:                                              ; preds = %138
  %148 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  %149 = getelementptr inbounds %"struct.std::pair.109", ptr %148, i32 0, i32 1
  %150 = load ptr, ptr %149, align 8, !tbaa !11
  store ptr %150, ptr %26, align 8, !tbaa !5
  %151 = load ptr, ptr %26, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.dali::graph::DataNode", ptr %151, i32 0, i32 7
  %153 = getelementptr inbounds %"struct.dali::graph::DataEdge", ptr %152, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8, !tbaa !22
  %155 = icmp ne ptr %154, null
  br i1 %155, label %156, label %186

156:                                              ; preds = %147
  store i1 true, ptr %29, align 1
  %157 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #8
  %158 = load ptr, ptr %26, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.dali::graph::DataNode", ptr %158, i32 0, i32 7
  %160 = getelementptr inbounds %"struct.dali::graph::DataEdge", ptr %159, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8, !tbaa !22
  %162 = getelementptr inbounds %"struct.dali::graph::OpNode", ptr %161, i32 0, i32 3
  %163 = load ptr, ptr %26, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.dali::graph::DataNode", ptr %163, i32 0, i32 7
  %165 = getelementptr inbounds %"struct.dali::graph::DataEdge", ptr %164, i32 0, i32 1
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.dali::graph::OpNode", ptr %166, i32 0, i32 3
  invoke void @_ZN4dali11make_stringIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA35_cS7_A10_ciA6_cS7_S9_iEEES7_DpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 1 dereferenceable(16) @.str.14, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 1 dereferenceable(35) @.str.15, ptr noundef nonnull align 8 dereferenceable(32) %162, ptr noundef nonnull align 1 dereferenceable(10) @.str.16, ptr noundef nonnull align 4 dereferenceable(4) %165, ptr noundef nonnull align 1 dereferenceable(6) @.str.17, ptr noundef nonnull align 8 dereferenceable(32) %167, ptr noundef nonnull align 1 dereferenceable(10) @.str.16, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %168 unwind label %174

168:                                              ; preds = %156
  invoke void @_ZNSt16invalid_argumentC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %157, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %169 unwind label %178

169:                                              ; preds = %168
  store i1 false, ptr %29, align 1
  invoke void @__cxa_throw(ptr %157, ptr @_ZTISt16invalid_argument, ptr @_ZNSt16invalid_argumentD1Ev) #9
          to label %232 unwind label %178

170:                                              ; preds = %127
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %10, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %223

174:                                              ; preds = %156
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %10, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %11, align 4
  br label %182

178:                                              ; preds = %169, %168
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %10, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %182

182:                                              ; preds = %178, %174
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #8
  %183 = load i1, ptr %29, align 1
  br i1 %183, label %184, label %185

184:                                              ; preds = %182
  call void @__cxa_free_exception(ptr %157) #8
  br label %185

185:                                              ; preds = %184, %182
  br label %222

186:                                              ; preds = %147
  br label %205

187:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = load i32, ptr %22, align 4, !tbaa !9
  %190 = invoke noundef i32 @_ZNK4dali6OpSpec12OutputDeviceEi(ptr noundef nonnull align 8 dereferenceable(328) %188, i32 noundef %189)
          to label %191 unwind label %196

191:                                              ; preds = %187
  store i32 %190, ptr %30, align 4, !tbaa !15
  %192 = getelementptr inbounds %"class.dali::graph::OpGraph::Builder", ptr %33, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %193 = load i32, ptr %30, align 4, !tbaa !15
  %194 = invoke noundef nonnull align 8 dereferenceable(145) ptr @_ZN4dali5graph7OpGraph7AddDataENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13StorageDeviceE(ptr noundef nonnull align 8 dereferenceable(184) %192, ptr noundef %31, i32 noundef %193)
          to label %195 unwind label %200

195:                                              ; preds = %191
  store ptr %194, ptr %26, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %205

196:                                              ; preds = %187
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %10, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %11, align 4
  br label %204

200:                                              ; preds = %191
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %10, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  br label %204

204:                                              ; preds = %200, %196
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %222

205:                                              ; preds = %195, %186
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  %206 = getelementptr inbounds %"struct.dali::graph::DataEdge", ptr %32, i32 0, i32 0
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %207, ptr %206, align 8, !tbaa !17
  %208 = getelementptr inbounds %"struct.dali::graph::DataEdge", ptr %32, i32 0, i32 1
  %209 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %209, ptr %208, align 8, !tbaa !19
  %210 = load ptr, ptr %26, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.dali::graph::DataNode", ptr %210, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %211, ptr align 8 %32, i64 12, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.dali::graph::OpNode", ptr %212, i32 0, i32 8
  invoke void @_ZN4dali11SmallVectorIPNS_5graph8DataNodeELm4ESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(40) %213, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %214 unwind label %218

214:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  br label %215

215:                                              ; preds = %214
  %216 = load i32, ptr %22, align 4, !tbaa !9
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %22, align 4, !tbaa !9
  br label %121, !llvm.loop !30

218:                                              ; preds = %205
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %10, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %11, align 4
  br label %222

222:                                              ; preds = %218, %204, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %223

223:                                              ; preds = %222, %170
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %225

224:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret void

225:                                              ; preds = %223, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %226

226:                                              ; preds = %225, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %227

227:                                              ; preds = %226
  %228 = load ptr, ptr %10, align 8
  %229 = load i32, ptr %11, align 4
  %230 = insertvalue { ptr, i32 } poison, ptr %228, 0
  %231 = insertvalue { ptr, i32 } %230, i32 %229, 1
  resume { ptr, i32 } %231

232:                                              ; preds = %169
  unreachable
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali6OpSpec11InputDeviceEi(ptr noundef nonnull align 8 dereferenceable(328), i32 noundef) #0 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 #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali11SmallVectorINS_5graph8DataEdgeELm4ESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(12)) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali11SmallVectorIPNS_5graph8DataNodeELm8ESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(8)) #7 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA35_cS7_A10_ciA6_cS7_S9_iEEES7_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(35), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 4 dereferenceable(4)) #0

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

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

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

!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, !6, i64 16}
!12 = !{!"_ZTSSt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEE", !13, i64 0, !6, i64 16}
!13 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !14, i64 0, !6, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTSN4dali13StorageDeviceE", !7, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSN4dali5graph8DataEdgeE", !6, i64 0, !10, i64 8}
!19 = !{!18, !10, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !6, i64 56}
!23 = !{!"_ZTSN4dali5graph8DataNodeE", !24, i64 0, !25, i64 8, !25, i64 9, !26, i64 16, !16, i64 48, !18, i64 56, !28, i64 72, !25, i64 144}
!24 = !{!"_ZTSSt14_List_iteratorIN4dali5graph8DataNodeEE", !6, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !27, i64 0, !14, i64 8, !7, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!28 = !{!"_ZTSN4dali11SmallVectorINS_5graph8DataEdgeELm4ESaIS2_EEE", !7, i64 0, !14, i64 64}
!29 = !{i64 0, i64 8, !5, i64 8, i64 4, !9}
!30 = distinct !{!30, !21}


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

%"class.std::__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.dali::OpSpec" = type { %"class.std::__cxx11::basic_string", ptr, %"class.std::vector", %"class.std::map", %"class.std::vector.6", %"class.std::map", %"class.std::map.11", %"class.std::vector.16", %"class.std::vector.16", %"class.std::map.21" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<dali::Argument>, std::allocator<std::shared_ptr<dali::Argument>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<void>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<void>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.11" = type { %"class.std::_Rb_tree.12" }
%"class.std::_Rb_tree.12" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<void>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<void>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::OpSpec::InOutDeviceDesc, std::allocator<dali::OpSpec::InOutDeviceDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.21" = type { %"class.std::_Rb_tree.22" }
%"class.std::_Rb_tree.22" = type { %"struct.std::_Rb_tree<dali::OpSpec::InOutDeviceDesc, std::pair<const dali::OpSpec::InOutDeviceDesc, int>, std::_Select1st<std::pair<const dali::OpSpec::InOutDeviceDesc, int>>, std::less<void>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<dali::OpSpec::InOutDeviceDesc, std::pair<const dali::OpSpec::InOutDeviceDesc, int>, std::_Select1st<std::pair<const dali::OpSpec::InOutDeviceDesc, int>>, std::less<void>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::__detail::_Node_iterator.103" = type { %"struct.std::__detail::_Node_iterator_base.104" }
%"struct.std::__detail::_Node_iterator_base.104" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"struct.dali::graph::DataEdge" = type <{ ptr, i32, [4 x i8] }>

@_ZTISt16invalid_argument = external constant ptr
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt16invalid_argumentC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZNSt16invalid_argumentD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(145) ptr @_ZN4dali5graph7OpGraph7AddDataENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13StorageDeviceE(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali5graph7OpGraph7Builder3AddENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_6OpSpecE(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef nonnull %1, ptr noundef %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.dali::OpSpec", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"struct.dali::graph::DataEdge", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::__detail::_Node_iterator.103", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @_ZN4dali6OpSpecC2EOS0_(ptr noundef nonnull align 8 dereferenceable(328) %5, ptr noundef nonnull align 8 dereferenceable(328) %2) #7
  %22 = invoke noundef nonnull align 8 dereferenceable(496) ptr @_ZN4dali5graph7OpGraph5AddOpENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_6OpSpecE(ptr noundef nonnull align 8 dereferenceable(184) %21, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %23 unwind label %36

23:                                               ; preds = %3
  call void @_ZN4dali6OpSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  %24 = getelementptr inbounds i8, ptr %22, i64 48
  %25 = call noundef i32 @_ZNK4dali6OpSpec8NumInputEv(ptr noundef nonnull align 8 dereferenceable(328) %24)
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %23
  %27 = getelementptr inbounds i8, ptr %0, i64 136
  %28 = getelementptr inbounds i8, ptr %8, i64 8
  %29 = getelementptr inbounds i8, ptr %12, i64 8
  %30 = getelementptr inbounds i8, ptr %22, i64 384
  br label %38

._crit_edge:                                      ; preds = %66, %23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  %31 = call noundef i32 @_ZNK4dali6OpSpec9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(328) %24)
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph53, label %._crit_edge54

.lr.ph53:                                         ; preds = %._crit_edge
  %33 = getelementptr inbounds i8, ptr %0, i64 136
  %34 = getelementptr inbounds i8, ptr %16, i64 8
  %35 = getelementptr inbounds i8, ptr %22, i64 456
  br label %76

36:                                               ; preds = %3
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali6OpSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  br label %128

38:                                               ; preds = %.lr.ph, %66
  %.03151 = phi i32 [ 0, %.lr.ph ], [ %67, %66 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  call void @_ZNK4dali6OpSpec5InputB5cxx11Ei(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(328) %24, i32 noundef %.03151)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %39 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  %40 = extractvalue { i64, ptr } %39, 0
  store i64 %40, ptr %8, align 8
  %41 = extractvalue { i64, ptr } %39, 1
  store ptr %41, ptr %28, align 8
  %42 = invoke ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %43 unwind label %50

43:                                               ; preds = %38
  store ptr %42, ptr %7, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %44 = call ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %27) #7
  store ptr %44, ptr %10, align 8
  %45 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br i1 %45, label %46, label %52

46:                                               ; preds = %43
  %47 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  store ptr %49, ptr %9, align 8, !tbaa !14
  br label %62

50:                                               ; preds = %38
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %75

52:                                               ; preds = %43
  %53 = invoke noundef i32 @_ZNK4dali6OpSpec11InputDeviceEi(ptr noundef nonnull align 8 dereferenceable(328) %24, i32 noundef %.03151)
          to label %54 unwind label %58

54:                                               ; preds = %52
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %55 unwind label %58

55:                                               ; preds = %54
  %56 = invoke noundef nonnull align 8 dereferenceable(145) ptr @_ZN4dali5graph7OpGraph7AddDataENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13StorageDeviceE(ptr noundef nonnull align 8 dereferenceable(184) %21, ptr noundef nonnull %11, i32 noundef %53)
          to label %57 unwind label %60

57:                                               ; preds = %55
  store ptr %56, ptr %9, align 8, !tbaa !14
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  %.pre = load ptr, ptr %9, align 8, !tbaa !14
  br label %62

58:                                               ; preds = %54, %52
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %74

60:                                               ; preds = %55
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %74

62:                                               ; preds = %57, %46
  %63 = phi ptr [ %.pre, %57 ], [ %49, %46 ]
  %64 = getelementptr inbounds i8, ptr %63, i64 72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  store ptr %22, ptr %12, align 8, !tbaa !15
  store i32 %.03151, ptr %29, align 8, !tbaa !17
  invoke void @_ZN4dali11SmallVectorINS_5graph8DataEdgeELm4ESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(72) %64, ptr noundef nonnull align 8 dereferenceable(12) %12)
          to label %65 unwind label %70

65:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  invoke void @_ZN4dali11SmallVectorIPNS_5graph8DataNodeELm8ESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(72) %30, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %66 unwind label %72

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  %67 = add nuw nsw i32 %.03151, 1
  %68 = call noundef i32 @_ZNK4dali6OpSpec8NumInputEv(ptr noundef nonnull align 8 dereferenceable(328) %24)
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %38, label %._crit_edge, !llvm.loop !18

70:                                               ; preds = %62
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %74

72:                                               ; preds = %65
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %74

74:                                               ; preds = %58, %60, %72, %70
  %.pn41 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ], [ %61, %60 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %75

75:                                               ; preds = %74, %50
  %.pn41.pn = phi { ptr, i32 } [ %.pn41, %74 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %128

._crit_edge54:                                    ; preds = %120, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  ret void

76:                                               ; preds = %.lr.ph53, %120
  %77 = phi i32 [ 0, %.lr.ph53 ], [ %121, %120 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  call void @_ZNK4dali6OpSpec6OutputB5cxx11Ei(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(328) %24, i32 noundef %77)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  %78 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %79 = extractvalue { i64, ptr } %78, 0
  store i64 %79, ptr %16, align 8
  %80 = extractvalue { i64, ptr } %78, 1
  store ptr %80, ptr %34, align 8
  %81 = invoke ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %82 unwind label %102

82:                                               ; preds = %76
  store ptr %81, ptr %15, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %83 = call ptr @_ZNSt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %33) #7
  store ptr %83, ptr %18, align 8
  %84 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br i1 %84, label %85, label %108

85:                                               ; preds = %82
  %86 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  store ptr %88, ptr %17, align 8, !tbaa !14
  %89 = getelementptr inbounds i8, ptr %88, i64 56
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %.not = icmp eq ptr %90, null
  br i1 %.not, label %117, label %91

91:                                               ; preds = %85
  %92 = call ptr @__cxa_allocate_exception(i64 16) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #7
  %93 = load ptr, ptr %17, align 8, !tbaa !14
  %94 = getelementptr inbounds i8, ptr %93, i64 56
  %95 = load ptr, ptr %94, align 8, !tbaa !20
  %96 = getelementptr inbounds i8, ptr %95, i64 16
  %97 = getelementptr inbounds i8, ptr %93, i64 64
  %98 = getelementptr inbounds i8, ptr %22, i64 16
  invoke void @_ZN4dali11make_stringIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA35_cS7_A10_ciA6_cS7_S9_iEEES7_DpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 1 dereferenceable(16) @.str.14, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 1 dereferenceable(35) @.str.15, ptr noundef nonnull align 8 dereferenceable(32) %96, ptr noundef nonnull align 1 dereferenceable(10) @.str.16, ptr noundef nonnull align 4 dereferenceable(4) %97, ptr noundef nonnull align 1 dereferenceable(6) @.str.17, ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef nonnull align 1 dereferenceable(10) @.str.16, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %99 unwind label %.thread

99:                                               ; preds = %91
  invoke void @_ZNSt16invalid_argumentC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %92, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %101 unwind label %.thread49

.thread49:                                        ; preds = %99
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  br label %107

101:                                              ; preds = %99
  invoke void @__cxa_throw(ptr nonnull %92, ptr nonnull @_ZTISt16invalid_argument, ptr nonnull @_ZNSt16invalid_argumentD1Ev) #8
          to label %129 unwind label %105

102:                                              ; preds = %76
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %127

.thread:                                          ; preds = %91
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  br label %107

105:                                              ; preds = %101
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  br label %126

107:                                              ; preds = %.thread49, %.thread
  %.pn3548 = phi { ptr, i32 } [ %104, %.thread ], [ %100, %.thread49 ]
  call void @__cxa_free_exception(ptr %92) #7
  br label %126

108:                                              ; preds = %82
  %109 = invoke noundef i32 @_ZNK4dali6OpSpec12OutputDeviceEi(ptr noundef nonnull align 8 dereferenceable(328) %24, i32 noundef %77)
          to label %110 unwind label %113

110:                                              ; preds = %108
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %111 = invoke noundef nonnull align 8 dereferenceable(145) ptr @_ZN4dali5graph7OpGraph7AddDataENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13StorageDeviceE(ptr noundef nonnull align 8 dereferenceable(184) %21, ptr noundef nonnull %20, i32 noundef %109)
          to label %112 unwind label %115

112:                                              ; preds = %110
  store ptr %111, ptr %17, align 8, !tbaa !14
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  %.pre55 = load ptr, ptr %17, align 8, !tbaa !14
  br label %117

113:                                              ; preds = %108
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %126

115:                                              ; preds = %110
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %126

117:                                              ; preds = %85, %112
  %118 = phi ptr [ %88, %85 ], [ %.pre55, %112 ]
  %119 = getelementptr inbounds i8, ptr %118, i64 56
  store ptr %22, ptr %119, align 8, !tbaa !14
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %118, i64 64
  store i32 %77, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !5
  invoke void @_ZN4dali11SmallVectorIPNS_5graph8DataNodeELm4ESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %120 unwind label %124

120:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  %121 = add nuw nsw i32 %77, 1
  store i32 %121, ptr %13, align 4, !tbaa !5
  %122 = call noundef i32 @_ZNK4dali6OpSpec9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(328) %24)
  %123 = icmp slt i32 %121, %122
  br i1 %123, label %76, label %._crit_edge54, !llvm.loop !28

124:                                              ; preds = %117
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %126

126:                                              ; preds = %105, %113, %115, %107, %124
  %.pn35.pn = phi { ptr, i32 } [ %.pn3548, %107 ], [ %106, %105 ], [ %125, %124 ], [ %116, %115 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %127

127:                                              ; preds = %126, %102
  %.pn35.pn.pn = phi { ptr, i32 } [ %.pn35.pn, %126 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  br label %128

128:                                              ; preds = %75, %127, %36
  %.pn41.pn.pn.pn = phi { ptr, i32 } [ %37, %36 ], [ %.pn41.pn, %75 ], [ %.pn35.pn.pn, %127 ]
  resume { ptr, i32 } %.pn41.pn.pn.pn

129:                                              ; preds = %101
  unreachable
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali6OpSpec11InputDeviceEi(ptr noundef nonnull align 8 dereferenceable(328), i32 noundef) local_unnamed_addr #0 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 #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali11SmallVectorINS_5graph8DataEdgeELm4ESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali11SmallVectorIPNS_5graph8DataNodeELm8ESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11make_stringIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA35_cS7_A10_ciA6_cS7_S9_iEEES7_DpRKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(35), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(6), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali11SmallVectorIPNS_5graph8DataNodeELm4ESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

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

!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, !13, i64 16}
!10 = !{!"_ZTSSt4pairIKSt17basic_string_viewIcSt11char_traitsIcEEPN4dali5graph8DataNodeEE", !11, i64 0, !13, i64 16}
!11 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !12, i64 0, !13, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"_ZTSN4dali5graph8DataEdgeE", !13, i64 0, !6, i64 8}
!17 = !{!16, !6, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !13, i64 56}
!21 = !{!"_ZTSN4dali5graph8DataNodeE", !22, i64 0, !23, i64 8, !23, i64 9, !24, i64 16, !26, i64 48, !16, i64 56, !27, i64 72, !23, i64 144}
!22 = !{!"_ZTSSt14_List_iteratorIN4dali5graph8DataNodeEE", !13, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !12, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!26 = !{!"_ZTSN4dali13StorageDeviceE", !7, i64 0}
!27 = !{!"_ZTSN4dali11SmallVectorINS_5graph8DataEdgeELm4ESaIS2_EEE", !7, i64 0, !12, i64 64}
!28 = distinct !{!28, !19}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass