; LLVM IR from NVIDIA/DALI :: dali/pipeline/executor (op_graph_storage)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::tuple.84" = type { %"struct.std::_Tuple_impl.85" }
%"struct.std::_Tuple_impl.85" = type { %"struct.std::_Tuple_impl.86", %"struct.std::_Head_base.107" }
%"struct.std::_Tuple_impl.86" = type { %"struct.std::_Tuple_impl.87", %"struct.std::_Head_base.106" }
%"struct.std::_Tuple_impl.87" = type { %"struct.std::_Tuple_impl.88", %"struct.std::_Head_base.105" }
%"struct.std::_Tuple_impl.88" = type { %"struct.std::_Tuple_impl.89", %"struct.std::_Head_base.104" }
%"struct.std::_Tuple_impl.89" = type { %"struct.std::_Tuple_impl.90", %"struct.std::_Head_base.97" }
%"struct.std::_Tuple_impl.90" = type { %"struct.std::_Head_base.91" }
%"struct.std::_Head_base.91" = type { %"struct.dali::StoreBufferQueue" }
%"struct.dali::StoreBufferQueue" = type { %"class.std::vector.92" }
%"class.std::vector.92" = type { %"struct.std::_Vector_base.93" }
%"struct.std::_Vector_base.93" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Head_base.97" = type { %"struct.dali::StoreBufferQueue.98" }
%"struct.dali::StoreBufferQueue.98" = type { %"class.std::vector.99" }
%"class.std::vector.99" = type { %"struct.std::_Vector_base.100" }
%"struct.std::_Vector_base.100" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Head_base.104" = type { %"struct.dali::StoreBufferQueue" }
%"struct.std::_Head_base.105" = type { %"struct.dali::StoreBufferQueue.98" }
%"struct.std::_Head_base.106" = type { %"struct.dali::StoreBufferQueue" }
%"struct.std::_Head_base.107" = type { %"struct.dali::StoreBufferQueue.98" }
%"struct.dali::TensorNode" = type { ptr, i64, %"class.std::__cxx11::basic_string", %"struct.dali::TensorMeta", %"class.std::vector.33" }
%"struct.dali::TensorMeta" = type { i64, i64, i32 }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<dali::TensorMeta, std::allocator<dali::TensorMeta>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::TensorMeta, std::allocator<dali::TensorMeta>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::TensorMeta, std::allocator<dali::TensorMeta>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::TensorMeta, std::allocator<dali::TensorMeta>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.dali::OpNode" = type { ptr, ptr, %"class.std::unique_ptr", i64, %"class.dali::OpSpec", %"class.std::set", %"class.std::set", %"class.std::vector.74", %"class.std::vector.74", %"class.std::vector.79", %"class.std::__cxx11::basic_string", i32, i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.39" }
%"struct.std::_Head_base.39" = type { ptr }
%"class.dali::OpSpec" = type { %"class.std::__cxx11::basic_string", ptr, %"class.std::vector.40", %"class.std::map.45", %"class.std::vector.50", %"class.std::map.45", %"class.std::map.55", %"class.std::vector.60", %"class.std::vector.60", %"class.std::map.65" }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = 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.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = 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.45" = type { %"class.std::_Rb_tree.46" }
%"class.std::_Rb_tree.46" = 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.55" = type { %"class.std::_Rb_tree.56" }
%"class.std::_Rb_tree.56" = 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.60" = type { %"struct.std::_Vector_base.61" }
%"struct.std::_Vector_base.61" = 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.65" = type { %"class.std::_Rb_tree.66" }
%"class.std::_Rb_tree.66" = 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" }
%"class.std::set" = type { %"class.std::_Rb_tree.70" }
%"class.std::_Rb_tree.70" = type { %"struct.std::_Rb_tree<long, long, std::_Identity<long>, std::less<long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long, long, std::_Identity<long>, std::less<long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = 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.79" = type { %"struct.std::_Vector_base.80" }
%"struct.std::_Vector_base.80" = type { %"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [94 x i8], align 1
@_ZTIN4dali13DALIExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali34CreateBackingStorageForTensorNodesERKNS_7OpGraphEiRKSt6vectorIiSaIiEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(217) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca i1, align 1
  %23 = alloca i1, align 1
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.std::tuple.84", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %4
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  %31 = trunc i64 %30 to i32
  %32 = sext i32 %31 to i64
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = call noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217) %33)
  %35 = icmp eq i64 %32, %34
  br i1 %35, label %101, label %36

36:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %37 unwind label %49

37:                                               ; preds = %36
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.5)
          to label %38 unwind label %53

38:                                               ; preds = %37
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.6)
          to label %39 unwind label %57

39:                                               ; preds = %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %40 unwind label %63

40:                                               ; preds = %39
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef @.str.8, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %41 unwind label %67

41:                                               ; preds = %40
  %42 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %43 unwind label %71

43:                                               ; preds = %41
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  store i1 true, ptr %22, align 1
  %44 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #5
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %45 unwind label %76

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %46 unwind label %80

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21)
          to label %47 unwind label %84

47:                                               ; preds = %46
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %44, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %19, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %48 unwind label %88

48:                                               ; preds = %47
  store i1 false, ptr %22, align 1
  invoke void @__cxa_throw(ptr %44, ptr @_ZTIN4dali13DALIExceptionE, ptr @_ZN4dali13DALIExceptionD2Ev) #6
          to label %182 unwind label %88

49:                                               ; preds = %36
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %13, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %14, align 4
  br label %62

53:                                               ; preds = %37
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %13, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %14, align 4
  br label %61

57:                                               ; preds = %38
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %13, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %61

61:                                               ; preds = %57, %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %62

62:                                               ; preds = %61, %49
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  br label %100

63:                                               ; preds = %39
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %13, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  br label %99

67:                                               ; preds = %40
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %13, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %14, align 4
  br label %75

71:                                               ; preds = %41
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %13, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %75

75:                                               ; preds = %71, %67
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %98

76:                                               ; preds = %43
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %13, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %14, align 4
  br label %94

80:                                               ; preds = %45
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %13, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %14, align 4
  br label %93

84:                                               ; preds = %46
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %13, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %14, align 4
  br label %92

88:                                               ; preds = %48, %47
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %13, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %92

92:                                               ; preds = %88, %84
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %93

93:                                               ; preds = %92, %80
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  br label %94

94:                                               ; preds = %93, %76
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  %95 = load i1, ptr %22, align 1
  br i1 %95, label %96, label %97

96:                                               ; preds = %94
  call void @__cxa_free_exception(ptr %44) #5
  br label %97

97:                                               ; preds = %96, %94
  br label %98

98:                                               ; preds = %97, %75
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %99

99:                                               ; preds = %98, %63
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %100

100:                                              ; preds = %99, %62
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  br label %177

101:                                              ; preds = %28
  br label %102

102:                                              ; preds = %101
  store i1 false, ptr %23, align 1
  call void @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = invoke noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217) %103)
          to label %105 unwind label %115

105:                                              ; preds = %102
  invoke void @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %104)
          to label %106 unwind label %115

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %107

107:                                              ; preds = %154, %106
  %108 = load i32, ptr %24, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = invoke noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217) %110)
          to label %112 unwind label %119

112:                                              ; preds = %107
  %113 = icmp slt i64 %109, %111
  br i1 %113, label %123, label %114

114:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %172

115:                                              ; preds = %105, %102
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %13, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %14, align 4
  br label %176

119:                                              ; preds = %107
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %13, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %14, align 4
  br label %171

123:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = load i32, ptr %24, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZNK4dali7OpGraph6TensorEl(ptr noundef nonnull align 8 dereferenceable(217) %124, i64 noundef %126)
          to label %128 unwind label %157

128:                                              ; preds = %123
  store ptr %127, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = load ptr, ptr %25, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.dali::TensorNode", ptr %130, i32 0, i32 3
  %132 = getelementptr inbounds %"struct.dali::TensorMeta", ptr %131, i32 0, i32 0
  %133 = load i64, ptr %132, align 8, !tbaa !11
  %134 = invoke noundef nonnull align 8 dereferenceable(576) ptr @_ZNK4dali7OpGraph4NodeEl(ptr noundef nonnull align 8 dereferenceable(217) %129, i64 noundef %133)
          to label %135 unwind label %161

135:                                              ; preds = %128
  %136 = getelementptr inbounds %"struct.dali::OpNode", ptr %134, i32 0, i32 11
  %137 = load i32, ptr %136, align 8, !tbaa !22
  store i32 %137, ptr %26, align 4, !tbaa !71
  call void @llvm.lifetime.start.p0(i64 144, ptr %27) #5
  %138 = load i32, ptr %26, align 4, !tbaa !71
  %139 = load ptr, ptr %25, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.dali::TensorNode", ptr %139, i32 0, i32 3
  %141 = getelementptr inbounds %"struct.dali::TensorMeta", ptr %140, i32 0, i32 2
  %142 = load i32, ptr %141, align 8, !tbaa !72
  %143 = load i32, ptr %7, align 4, !tbaa !9
  %144 = load ptr, ptr %8, align 8, !tbaa !5
  %145 = load i32, ptr %24, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %146) #5
  %148 = load i32, ptr %147, align 4, !tbaa !9
  invoke void @_ZN4dali12BatchFactoryENS_6OpTypeENS_13StorageDeviceEii(ptr dead_on_unwind writable sret(%"class.std::tuple.84") align 8 %27, i32 noundef %138, i32 noundef %142, i32 noundef %143, i32 noundef %148)
          to label %149 unwind label %165

149:                                              ; preds = %135
  %150 = load i32, ptr %24, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %151) #5
  %153 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS0_10TensorListINS0_10CPUBackendEEEEEENS1_IS2_INS3_INS0_10GPUBackendEEEEEES7_SB_S7_SB_EEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(144) %152, ptr noundef nonnull align 8 dereferenceable(144) %27) #5
  call void @_ZNSt11_Tuple_implILm0EJN4dali16StoreBufferQueueISt10shared_ptrINS0_10TensorListINS0_10CPUBackendEEEEEENS1_IS2_INS3_INS0_10GPUBackendEEEEEES7_SB_S7_SB_EED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %27) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %154

154:                                              ; preds = %149
  %155 = load i32, ptr %24, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %24, align 4, !tbaa !9
  br label %107, !llvm.loop !73

157:                                              ; preds = %123
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %13, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %14, align 4
  br label %170

161:                                              ; preds = %128
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %13, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %14, align 4
  br label %169

165:                                              ; preds = %135
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %13, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 144, ptr %27) #5
  br label %169

169:                                              ; preds = %165, %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %170

170:                                              ; preds = %169, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %171

171:                                              ; preds = %170, %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %176

172:                                              ; preds = %114
  store i1 true, ptr %23, align 1
  %173 = load i1, ptr %23, align 1
  br i1 %173, label %175, label %174

174:                                              ; preds = %172
  call void @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %175

175:                                              ; preds = %174, %172
  ret void

176:                                              ; preds = %171, %115
  call void @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %177

177:                                              ; preds = %176, %100
  %178 = load ptr, ptr %13, align 8
  %179 = load i32, ptr %14, align 4
  %180 = insertvalue { ptr, i32 } poison, ptr %178, 0
  %181 = insertvalue { ptr, i32 } %180, i32 %179, 1
  resume { ptr, i32 } %181

182:                                              ; preds = %48
  unreachable
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217)) #3 align 2

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) #4

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNK4dali7OpGraph6TensorEl(ptr noundef nonnull align 8 dereferenceable(217), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(576) ptr @_ZNK4dali7OpGraph4NodeEl(ptr noundef nonnull align 8 dereferenceable(217), i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali12BatchFactoryENS_6OpTypeENS_13StorageDeviceEii(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.84") align 8, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { 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, !13, i64 48}
!12 = !{!"_ZTSN4dali10TensorNodeE", !6, i64 0, !13, i64 8, !14, i64 16, !16, i64 48, !18, i64 72}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !13, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!16 = !{!"_ZTSN4dali10TensorMetaE", !13, i64 0, !13, i64 8, !17, i64 16}
!17 = !{!"_ZTSN4dali13StorageDeviceE", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIN4dali10TensorMetaESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN4dali10TensorMetaESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorMetaESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorMetaESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!23, !70, i64 560}
!23 = !{!"_ZTSN4dali6OpNodeE", !6, i64 8, !24, i64 16, !13, i64 24, !30, i64 32, !57, i64 360, !57, i64 408, !62, i64 456, !62, i64 480, !66, i64 504, !14, i64 528, !70, i64 560, !13, i64 568}
!24 = !{!"_ZTSSt10unique_ptrIN4dali12OperatorBaseESt14default_deleteIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali12OperatorBaseESt14default_deleteIS1_ELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIN4dali12OperatorBaseESt14default_deleteIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPN4dali12OperatorBaseELb0EE", !6, i64 0}
!30 = !{!"_ZTSN4dali6OpSpecE", !14, i64 0, !6, i64 32, !31, i64 40, !35, i64 64, !43, i64 112, !35, i64 136, !47, i64 184, !50, i64 232, !50, i64 256, !54, i64 280}
!31 = !{!"_ZTSSt6vectorISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIvESaISt4pairIKS5_iEEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !38, i64 0, !40, i64 8}
!38 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIvEE", !39, i64 0}
!39 = !{!"_ZTSSt4lessIvE"}
!40 = !{!"_ZTSSt15_Rb_tree_header", !41, i64 0, !13, i64 32}
!41 = !{!"_ZTSSt18_Rb_tree_node_base", !42, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!42 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!43 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!47 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIvESaISt4pairIKS5_S5_EEE", !48, i64 0}
!48 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !49, i64 0}
!49 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !38, i64 0, !40, i64 8}
!50 = !{!"_ZTSSt6vectorIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSSt3mapIN4dali6OpSpec15InOutDeviceDescEiSt4lessIvESaISt4pairIKS2_iEEE", !55, i64 0}
!55 = !{!"_ZTSSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE", !56, i64 0}
!56 = !{!"_ZTSNSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !38, i64 0, !40, i64 8}
!57 = !{!"_ZTSSt3setIlSt4lessIlESaIlEE", !58, i64 0}
!58 = !{!"_ZTSSt8_Rb_treeIllSt9_IdentityIlESt4lessIlESaIlEE", !59, i64 0}
!59 = !{!"_ZTSNSt8_Rb_treeIllSt9_IdentityIlESt4lessIlESaIlEE13_Rb_tree_implIS3_Lb1EEE", !60, i64 0, !40, i64 8}
!60 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIlEE", !61, i64 0}
!61 = !{!"_ZTSSt4lessIlE"}
!62 = !{!"_ZTSSt6vectorIlSaIlEE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!66 = !{!"_ZTSSt6vectorIN4dali10OutputDescESaIS1_EE", !67, i64 0}
!67 = !{!"_ZTSSt12_Vector_baseIN4dali10OutputDescESaIS1_EE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIN4dali10OutputDescESaIS1_EE12_Vector_implE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIN4dali10OutputDescESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!70 = !{!"_ZTSN4dali6OpTypeE", !7, i64 0}
!71 = !{!70, !70, i64 0}
!72 = !{!12, !17, i64 64}
!73 = distinct !{!73, !74}
!74 = !{!"llvm.loop.mustprogress"}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::tuple.84" = type { %"struct.std::_Tuple_impl.85" }
%"struct.std::_Tuple_impl.85" = type { %"struct.std::_Tuple_impl.86", %"struct.std::_Head_base.107" }
%"struct.std::_Tuple_impl.86" = type { %"struct.std::_Tuple_impl.87", %"struct.std::_Head_base.106" }
%"struct.std::_Tuple_impl.87" = type { %"struct.std::_Tuple_impl.88", %"struct.std::_Head_base.105" }
%"struct.std::_Tuple_impl.88" = type { %"struct.std::_Tuple_impl.89", %"struct.std::_Head_base.104" }
%"struct.std::_Tuple_impl.89" = type { %"struct.std::_Tuple_impl.90", %"struct.std::_Head_base.97" }
%"struct.std::_Tuple_impl.90" = type { %"struct.std::_Head_base.91" }
%"struct.std::_Head_base.91" = type { %"struct.dali::StoreBufferQueue" }
%"struct.dali::StoreBufferQueue" = type { %"class.std::vector.92" }
%"class.std::vector.92" = type { %"struct.std::_Vector_base.93" }
%"struct.std::_Vector_base.93" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::GPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Head_base.97" = type { %"struct.dali::StoreBufferQueue.98" }
%"struct.dali::StoreBufferQueue.98" = type { %"class.std::vector.99" }
%"class.std::vector.99" = type { %"struct.std::_Vector_base.100" }
%"struct.std::_Vector_base.100" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<dali::TensorList<dali::CPUBackend>>, std::allocator<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Head_base.104" = type { %"struct.dali::StoreBufferQueue" }
%"struct.std::_Head_base.105" = type { %"struct.dali::StoreBufferQueue.98" }
%"struct.std::_Head_base.106" = type { %"struct.dali::StoreBufferQueue" }
%"struct.std::_Head_base.107" = type { %"struct.dali::StoreBufferQueue.98" }

@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [94 x i8], align 1
@_ZTIN4dali13DALIExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali34CreateBackingStorageForTensorNodesERKNS_7OpGraphEiRKSt6vectorIiSaIiEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(217) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::tuple.84", align 8
  %17 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %sext = shl i64 %17, 32
  %18 = ashr exact i64 %sext, 32
  %19 = tail call noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217) %1)
  %20 = icmp eq i64 %18, %19
  br i1 %20, label %62, label %21

21:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %22 unwind label %34

22:                                               ; preds = %21
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.5)
          to label %23 unwind label %36

23:                                               ; preds = %22
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.6)
          to label %24 unwind label %38

24:                                               ; preds = %23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %25 unwind label %42

25:                                               ; preds = %24
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull @.str.8, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %26 unwind label %44

26:                                               ; preds = %25
  %27 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %28 unwind label %46

28:                                               ; preds = %26
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  %29 = call ptr @__cxa_allocate_exception(i64 80) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #5
  invoke void @_ZN4dali11make_stringIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEES6_DpRKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %30 unwind label %.thread

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %31 unwind label %50

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #5
  invoke void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15)
          to label %32 unwind label %52

32:                                               ; preds = %31
  invoke void @_ZN4dali13DALIExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_S8_(ptr noundef nonnull align 8 dereferenceable(80) %29, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull %13, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %33 unwind label %54

33:                                               ; preds = %32
  invoke void @__cxa_throw(ptr nonnull %29, ptr nonnull @_ZTIN4dali13DALIExceptionE, ptr nonnull @_ZN4dali13DALIExceptionD2Ev) #6
          to label %93 unwind label %54

34:                                               ; preds = %21
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %41

36:                                               ; preds = %22
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %40

38:                                               ; preds = %23
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %40

40:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %41

41:                                               ; preds = %40, %34
  %.pn.pn = phi { ptr, i32 } [ %.pn, %40 ], [ %35, %34 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  br label %61

42:                                               ; preds = %24
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  br label %60

44:                                               ; preds = %25
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %26
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %48

48:                                               ; preds = %46, %44
  %.pn40 = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  br label %59

.thread:                                          ; preds = %28
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  br label %58

50:                                               ; preds = %30
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %57

52:                                               ; preds = %31
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %56

54:                                               ; preds = %33, %32
  %.033 = phi i1 [ false, %33 ], [ true, %32 ]
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %56

56:                                               ; preds = %54, %52
  %.134 = phi i1 [ %.033, %54 ], [ true, %52 ]
  %.pn42 = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %57

57:                                               ; preds = %50, %56
  %.235 = phi i1 [ %.134, %56 ], [ true, %50 ]
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %56 ], [ %51, %50 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  br i1 %.235, label %58, label %59

58:                                               ; preds = %.thread, %57
  %.pn42.pn.pn56 = phi { ptr, i32 } [ %49, %.thread ], [ %.pn42.pn, %57 ]
  call void @__cxa_free_exception(ptr %29) #5
  br label %59

59:                                               ; preds = %57, %58, %48
  %.pn42.pn.pn.pn = phi { ptr, i32 } [ %.pn42.pn.pn56, %58 ], [ %.pn42.pn, %57 ], [ %.pn40, %48 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %60

60:                                               ; preds = %59, %42
  %.pn42.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn42.pn.pn.pn, %59 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %61

61:                                               ; preds = %60, %41
  %.pn42.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn42.pn.pn.pn.pn, %60 ], [ %.pn.pn, %41 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %92

62:                                               ; preds = %4
  tail call void @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %63 = tail call noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217) %1)
  invoke void @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %63)
          to label %.preheader unwind label %66

.preheader:                                       ; preds = %62
  %64 = tail call noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217) %1)
  %65 = icmp sgt i64 %64, 0
  br i1 %65, label %.lr.ph, label %._crit_edge

66:                                               ; preds = %62
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %91

.lr.ph:                                           ; preds = %.preheader, %80
  %indvars.iv = phi i64 [ %indvars.iv.next, %80 ], [ 0, %.preheader ]
  %68 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZNK4dali7OpGraph6TensorEl(ptr noundef nonnull align 8 dereferenceable(217) %1, i64 noundef %indvars.iv)
          to label %69 unwind label %85

69:                                               ; preds = %.lr.ph
  %70 = getelementptr inbounds i8, ptr %68, i64 48
  %71 = load i64, ptr %70, align 8, !tbaa !5
  %72 = invoke noundef nonnull align 8 dereferenceable(576) ptr @_ZNK4dali7OpGraph4NodeEl(ptr noundef nonnull align 8 dereferenceable(217) %1, i64 noundef %71)
          to label %73 unwind label %87

73:                                               ; preds = %69
  %74 = getelementptr inbounds i8, ptr %72, i64 560
  %75 = load i32, ptr %74, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %16) #5
  %76 = getelementptr inbounds i8, ptr %68, i64 64
  %77 = load i32, ptr %76, align 8, !tbaa !68
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #5
  %79 = load i32, ptr %78, align 4, !tbaa !69
  invoke void @_ZN4dali12BatchFactoryENS_6OpTypeENS_13StorageDeviceEii(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.84") align 8 %16, i32 noundef %75, i32 noundef %77, i32 noundef %2, i32 noundef %79)
          to label %80 unwind label %89

80:                                               ; preds = %73
  %81 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #5
  %82 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS0_10TensorListINS0_10CPUBackendEEEEEENS1_IS2_INS3_INS0_10GPUBackendEEEEEES7_SB_S7_SB_EEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(144) %81, ptr noundef nonnull align 8 dereferenceable(144) %16) #5
  call void @_ZNSt11_Tuple_implILm0EJN4dali16StoreBufferQueueISt10shared_ptrINS0_10TensorListINS0_10CPUBackendEEEEEENS1_IS2_INS3_INS0_10GPUBackendEEEEEES7_SB_S7_SB_EED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %83 = call noundef i64 @_ZNK4dali7OpGraph9NumTensorEv(ptr noundef nonnull align 8 dereferenceable(217) %1)
  %84 = icmp sgt i64 %83, %indvars.iv.next
  br i1 %84, label %.lr.ph, label %._crit_edge, !llvm.loop !71

85:                                               ; preds = %.lr.ph
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %91

87:                                               ; preds = %69
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %91

89:                                               ; preds = %73
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #5
  br label %91

._crit_edge:                                      ; preds = %80, %.preheader
  ret void

91:                                               ; preds = %85, %89, %87, %66
  %.pn49.pn.pn = phi { ptr, i32 } [ %67, %66 ], [ %86, %85 ], [ %90, %89 ], [ %88, %87 ]
  call void @_ZNSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %92

92:                                               ; preds = %91, %61
  %.pn49.pn.pn.pn = phi { ptr, i32 } [ %.pn49.pn.pn, %91 ], [ %.pn42.pn.pn.pn.pn.pn, %61 ]
  resume { ptr, i32 } %.pn49.pn.pn.pn

93:                                               ; preds = %33
  unreachable
}

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali13GetStacktraceB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) local_unnamed_addr #4

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

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNK4dali7OpGraph6TensorEl(ptr noundef nonnull align 8 dereferenceable(217), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(576) ptr @_ZNK4dali7OpGraph4NodeEl(ptr noundef nonnull align 8 dereferenceable(217), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali12BatchFactoryENS_6OpTypeENS_13StorageDeviceEii(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.84") align 8, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { 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, !10, i64 48}
!6 = !{!"_ZTSN4dali10TensorNodeE", !7, i64 0, !10, i64 8, !11, i64 16, !13, i64 48, !15, i64 72}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !10, i64 8, !8, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!13 = !{!"_ZTSN4dali10TensorMetaE", !10, i64 0, !10, i64 8, !14, i64 16}
!14 = !{!"_ZTSN4dali13StorageDeviceE", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIN4dali10TensorMetaESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN4dali10TensorMetaESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorMetaESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorMetaESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!20, !67, i64 560}
!20 = !{!"_ZTSN4dali6OpNodeE", !7, i64 8, !21, i64 16, !10, i64 24, !27, i64 32, !54, i64 360, !54, i64 408, !59, i64 456, !59, i64 480, !63, i64 504, !11, i64 528, !67, i64 560, !10, i64 568}
!21 = !{!"_ZTSSt10unique_ptrIN4dali12OperatorBaseESt14default_deleteIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali12OperatorBaseESt14default_deleteIS1_ELb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_implIN4dali12OperatorBaseESt14default_deleteIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt5tupleIJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm0EPN4dali12OperatorBaseELb0EE", !7, i64 0}
!27 = !{!"_ZTSN4dali6OpSpecE", !11, i64 0, !7, i64 32, !28, i64 40, !32, i64 64, !40, i64 112, !32, i64 136, !44, i64 184, !47, i64 232, !47, i64 256, !51, i64 280}
!28 = !{!"_ZTSSt6vectorISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!32 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIvESaISt4pairIKS5_iEEE", !33, i64 0}
!33 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !34, i64 0}
!34 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !35, i64 0, !37, i64 8}
!35 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIvEE", !36, i64 0}
!36 = !{!"_ZTSSt4lessIvE"}
!37 = !{!"_ZTSSt15_Rb_tree_header", !38, i64 0, !10, i64 32}
!38 = !{!"_ZTSSt18_Rb_tree_node_base", !39, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!39 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!40 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!44 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIvESaISt4pairIKS5_S5_EEE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !35, i64 0, !37, i64 8}
!47 = !{!"_ZTSSt6vectorIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!51 = !{!"_ZTSSt3mapIN4dali6OpSpec15InOutDeviceDescEiSt4lessIvESaISt4pairIKS2_iEEE", !52, i64 0}
!52 = !{!"_ZTSSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE", !53, i64 0}
!53 = !{!"_ZTSNSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !35, i64 0, !37, i64 8}
!54 = !{!"_ZTSSt3setIlSt4lessIlESaIlEE", !55, i64 0}
!55 = !{!"_ZTSSt8_Rb_treeIllSt9_IdentityIlESt4lessIlESaIlEE", !56, i64 0}
!56 = !{!"_ZTSNSt8_Rb_treeIllSt9_IdentityIlESt4lessIlESaIlEE13_Rb_tree_implIS3_Lb1EEE", !57, i64 0, !37, i64 8}
!57 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIlEE", !58, i64 0}
!58 = !{!"_ZTSSt4lessIlE"}
!59 = !{!"_ZTSSt6vectorIlSaIlEE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!63 = !{!"_ZTSSt6vectorIN4dali10OutputDescESaIS1_EE", !64, i64 0}
!64 = !{!"_ZTSSt12_Vector_baseIN4dali10OutputDescESaIS1_EE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIN4dali10OutputDescESaIS1_EE12_Vector_implE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIN4dali10OutputDescESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!67 = !{!"_ZTSN4dali6OpTypeE", !8, i64 0}
!68 = !{!6, !14, i64 64}
!69 = !{!70, !70, i64 0}
!70 = !{!"int", !8, i64 0}
!71 = distinct !{!71, !72}
!72 = !{!"llvm.loop.mustprogress"}


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