; LLVM IR from NVIDIA/DALI :: dali/operators/reader/numpy_reader_op.ll (ZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceE)

; 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.dali::CPUBackend" = type { i8 }
%"class.dali::ConstSampleView" = type { %"class.dali::SampleViewBase.base", [4 x i8] }
%"class.dali::SampleViewBase.base" = type <{ ptr, %"struct.dali::TensorShape", i32 }>
%"struct.dali::TensorShape" = type { %"struct.dali::TensorShapeBase" }
%"struct.dali::TensorShapeBase" = type { %"class.dali::SmallVector.195" }
%"class.dali::SmallVector.195" = type { %union.anon.198, i64 }
%union.anon.198 = type { %struct.anon.199, [32 x i8] }
%struct.anon.199 = type { ptr, i64 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.dali::SampleView" = type { %"class.dali::SampleViewBase.base.248", [4 x i8] }
%"class.dali::SampleViewBase.base.248" = type <{ ptr, %"struct.dali::TensorShape", i32 }>
%"class.std::function.211" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.249 = type { i32, [4 x i8], %"class.dali::ConstSampleView", ptr }
%"struct.dali::NumpyFileWrapper" = type { %"class.dali::Tensor", %"class.std::__cxx11::basic_string", i64, %"struct.dali::TensorShape", i32, [4 x i8], %"class.dali::DALIMeta", i64, i8, %"class.std::unique_ptr.200" }
%"class.dali::Tensor" = type { %"class.dali::Buffer.base", %"struct.dali::TensorShape", %"class.dali::DALIMeta", %"class.dali::CUDASharedEvent" }
%"class.dali::Buffer.base" = type <{ ptr, %"class.dali::TypeInfo", %"class.std::shared_ptr.189", %"class.std::function.192", i64, i64, i32, [4 x i8], %"class.dali::AccessOrder", i8, i8 }>
%"class.dali::TypeInfo" = type { ptr, i32, i64, %"class.std::basic_string_view" }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::shared_ptr.189" = type { %"class.std::__shared_ptr.190" }
%"class.std::__shared_ptr.190" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::function.192" = type { %"class.std::_Function_base", ptr }
%"class.dali::AccessOrder" = type <{ ptr, i32, [4 x i8] }>
%"class.dali::CUDASharedEvent" = type { %"class.std::shared_ptr.189" }
%"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::DALIMeta" = type <{ %"class.dali::TensorLayout", %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%"class.dali::TensorLayout" = type { [16 x i8] }
%"class.std::unique_ptr.200" = type { %"struct.std::__uniq_ptr_data.201" }
%"struct.std::__uniq_ptr_data.201" = type { %"class.std::__uniq_ptr_impl.202" }
%"class.std::__uniq_ptr_impl.202" = type { %"class.std::tuple.203" }
%"class.std::tuple.203" = type { %"struct.std::_Tuple_impl.204" }
%"struct.std::_Tuple_impl.204" = type { %"struct.std::_Head_base.207" }
%"struct.std::_Head_base.207" = type { ptr }
%"class.dali::NumpyReader" = type { %"class.dali::DataReader", %"class.dali::NamedSliceAttr", %"class.std::vector.160", i32, float, %"class.std::vector.165", %"class.std::vector.165" }
%"class.dali::DataReader" = type { %"class.dali::Operator", %"class.std::thread", %"class.std::mutex", %"class.std::condition_variable", %"class.std::condition_variable", %"struct.std::atomic", i32, i8, %"class.std::vector.93", i32, i32, i8, i8, i8, %"class.std::vector.98", i32, i32, i32, %"struct.std::atomic.103", %"class.std::__exception_ptr::exception_ptr", %"class.std::unique_ptr.105", %"class.std::unique_ptr.113" }
%"class.dali::Operator" = type { %"class.dali::OperatorBase" }
%"class.dali::OperatorBase" = type { ptr, %"class.dali::OpSpec", i32, i32, %"class.std::unordered_map.79" }
%"class.dali::OpSpec" = type { %"class.std::__cxx11::basic_string", ptr, %"class.std::vector.49", %"class.std::map.54", %"class.std::vector.59", %"class.std::map.54", %"class.std::map.64", %"class.std::vector.69", %"class.std::vector.69", %"class.std::map.74" }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = 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.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = 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.54" = type { %"class.std::_Rb_tree.55" }
%"class.std::_Rb_tree.55" = 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.64" = type { %"class.std::_Rb_tree.65" }
%"class.std::_Rb_tree.65" = 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.69" = type { %"struct.std::_Vector_base.70" }
%"struct.std::_Vector_base.70" = 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.74" = type { %"class.std::_Rb_tree.75" }
%"class.std::_Rb_tree.75" = 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::unordered_map.79" = type { %"class.std::_Hashtable.80" }
%"class.std::_Hashtable.80" = 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::thread" = type { %"class.std::thread::id" }
%"class.std::thread::id" = type { i64 }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.std::vector.93" = type { %"struct.std::_Vector_base.94" }
%"struct.std::_Vector_base.94" = type { %"struct.std::_Vector_base<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>, std::allocator<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>, std::allocator<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>, std::allocator<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>, std::allocator<std::vector<std::shared_ptr<dali::NumpyFileWrapper>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.98" = type { %"struct.std::_Vector_base.99" }
%"struct.std::_Vector_base.99" = type { %"struct.std::_Vector_base<dali::LoaderStateSnapshot, std::allocator<dali::LoaderStateSnapshot>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::LoaderStateSnapshot, std::allocator<dali::LoaderStateSnapshot>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::LoaderStateSnapshot, std::allocator<dali::LoaderStateSnapshot>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::LoaderStateSnapshot, std::allocator<dali::LoaderStateSnapshot>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::atomic.103" = type { %"struct.std::__atomic_base.104" }
%"struct.std::__atomic_base.104" = type { i32 }
%"class.std::__exception_ptr::exception_ptr" = type { ptr }
%"class.std::unique_ptr.105" = type { %"struct.std::__uniq_ptr_data.106" }
%"struct.std::__uniq_ptr_data.106" = type { %"class.std::__uniq_ptr_impl.107" }
%"class.std::__uniq_ptr_impl.107" = type { %"class.std::tuple.108" }
%"class.std::tuple.108" = type { %"struct.std::_Tuple_impl.109" }
%"struct.std::_Tuple_impl.109" = type { %"struct.std::_Head_base.112" }
%"struct.std::_Head_base.112" = type { ptr }
%"class.std::unique_ptr.113" = type { %"struct.std::__uniq_ptr_data.114" }
%"struct.std::__uniq_ptr_data.114" = type { %"class.std::__uniq_ptr_impl.115" }
%"class.std::__uniq_ptr_impl.115" = type { %"class.std::tuple.116" }
%"class.std::tuple.116" = type { %"struct.std::_Tuple_impl.117" }
%"struct.std::_Tuple_impl.117" = type { %"struct.std::_Head_base.120" }
%"struct.std::_Head_base.120" = type { ptr }
%"class.dali::NamedSliceAttr" = type <{ %"class.dali::AxisArgs", %"class.dali::ArgValue", %"class.dali::ArgValue.141", %"class.dali::ArgValue", %"class.dali::ArgValue.141", %"class.dali::ArgValue", %"class.dali::ArgValue.141", %"class.std::vector.155", i8, i8, i8, [5 x i8] }>
%"class.dali::AxisArgs" = type { i32, %"class.std::unique_ptr.121", i8, i8, %"class.dali::TensorLayout", %"class.dali::SmallVector", %"struct.dali::TensorListShape" }
%"class.std::unique_ptr.121" = type { %"struct.std::__uniq_ptr_data.122" }
%"struct.std::__uniq_ptr_data.122" = type { %"class.std::__uniq_ptr_impl.123" }
%"class.std::__uniq_ptr_impl.123" = type { %"class.std::tuple.124" }
%"class.std::tuple.124" = type { %"struct.std::_Tuple_impl.125" }
%"struct.std::_Tuple_impl.125" = type { %"struct.std::_Head_base.128" }
%"struct.std::_Head_base.128" = type { ptr }
%"class.dali::SmallVector" = type { %union.anon.129, i64 }
%union.anon.129 = type { %struct.anon.130, [8 x i8] }
%struct.anon.130 = type { ptr, i64 }
%"struct.dali::TensorListShape" = type { %"struct.dali::TensorListShapeBase.base", [4 x i8] }
%"struct.dali::TensorListShapeBase.base" = type <{ %"class.std::vector.131", i32 }>
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = 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.dali::ArgValue" = type <{ %"class.std::__cxx11::basic_string", %"class.std::vector.44", %"struct.dali::TensorListView", i8, i8, [6 x i8], i64, i8, [7 x i8] }>
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.dali::TensorListView" = type { %"struct.dali::TensorListViewBase" }
%"struct.dali::TensorListViewBase" = type { %"struct.dali::TensorListShape", %"class.std::vector.136" }
%"class.std::vector.136" = type { %"struct.std::_Vector_base.137" }
%"struct.std::_Vector_base.137" = type { %"struct.std::_Vector_base<const int *, std::allocator<const int *>>::_Vector_impl" }
%"struct.std::_Vector_base<const int *, std::allocator<const int *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const int *, std::allocator<const int *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const int *, std::allocator<const int *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.dali::ArgValue.141" = type <{ %"class.std::__cxx11::basic_string", %"class.std::vector.142", %"struct.dali::TensorListView.147", i8, i8, [6 x i8], i64, i8, [7 x i8] }>
%"class.std::vector.142" = type { %"struct.std::_Vector_base.143" }
%"struct.std::_Vector_base.143" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.dali::TensorListView.147" = type { %"struct.dali::TensorListViewBase.148" }
%"struct.dali::TensorListViewBase.148" = type { %"struct.dali::TensorListShape", %"class.std::vector.149" }
%"class.std::vector.149" = type { %"struct.std::_Vector_base.150" }
%"struct.std::_Vector_base.150" = type { %"struct.std::_Vector_base<const float *, std::allocator<const float *>>::_Vector_impl" }
%"struct.std::_Vector_base<const float *, std::allocator<const float *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const float *, std::allocator<const float *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const float *, std::allocator<const float *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.155" = type { %"struct.std::_Vector_base.156" }
%"struct.std::_Vector_base.156" = type { %"struct.std::_Vector_base<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>, std::allocator<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>, std::allocator<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>, std::allocator<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>, std::allocator<std::function<dali::CropWindow (const dali::TensorShape<DynamicDimensions> &, const dali::TensorLayout &)>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.160" = type { %"struct.std::_Vector_base.161" }
%"struct.std::_Vector_base.161" = type { %"struct.std::_Vector_base<dali::CropWindow, std::allocator<dali::CropWindow>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::CropWindow, std::allocator<dali::CropWindow>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::CropWindow, std::allocator<dali::CropWindow>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::CropWindow, std::allocator<dali::CropWindow>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.165" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN4dali10ThreadPool7AddWorkESt8functionIFviEElb(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef, i64 noundef, i1 noundef zeroext) #1

declare void @_ZN4dali10ThreadPool6RunAllEb(ptr noundef nonnull align 8 dereferenceable(224), i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(1984) %0, ptr noundef nonnull align 8 dereferenceable(664) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.dali::CPUBackend", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca %"class.dali::ConstSampleView", align 8
  %20 = alloca %"struct.std::_Bit_reference", align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"struct.std::_Bit_reference", align 8
  %24 = alloca %"class.dali::SampleView", align 8
  %25 = alloca %"class.dali::ConstSampleView", align 8
  %26 = alloca %"struct.std::_Bit_reference", align 8
  %27 = alloca %"class.dali::SampleView", align 8
  %28 = alloca %"class.dali::ConstSampleView", align 8
  %29 = alloca %"struct.std::_Bit_reference", align 8
  %30 = alloca %"class.std::function.211", align 8
  %31 = alloca %class.anon.249, align 8
  %32 = alloca %"class.dali::SampleView", align 8
  %33 = alloca %"class.dali::ConstSampleView", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %34 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = call noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %35, i32 noundef 0)
  store ptr %36, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKR4dali10TensorListINS_10CPUBackendEE5shapeEv(ptr noundef nonnull align 8 dereferenceable(304) %37)
  store ptr %38, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = call noundef i32 @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(28) %39)
  store i32 %40, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = call noundef nonnull align 8 dereferenceable(224) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE13GetThreadPoolEv(ptr noundef nonnull align 8 dereferenceable(664) %41)
  store ptr %42, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = call noundef i32 @_ZNK4dali10ThreadPool10NumThreadsEv(ptr noundef nonnull align 8 dereferenceable(224) %43)
  store i32 %44, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 1, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = mul nsw i32 10, %45
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = sdiv i32 %46, %47
  store i32 %48, ptr %13, align 4, !tbaa !9
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %50 = load i32, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  store i32 %50, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 16384, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %233, %2
  %52 = load i32, ptr %15, align 4, !tbaa !9
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %237

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = call noundef nonnull align 8 dereferenceable(456) ptr @_ZN4dali10DataReaderINS_10CPUBackendENS_16NumpyFileWrapperES2_Lb1EE9GetSampleEi(ptr noundef nonnull align 8 dereferenceable(664) %34, i32 noundef %57)
  store ptr %58, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK4dali16NumpyFileWrapper9get_shapeEv(ptr noundef nonnull align 8 dereferenceable(456) %59)
  store ptr %60, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %61 = load ptr, ptr %16, align 8, !tbaa !5
  %62 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK4dali16NumpyFileWrapper9get_shapeEv(ptr noundef nonnull align 8 dereferenceable(456) %61)
  %63 = call noundef i64 @_ZN4dali6volumeINS_11TensorShapeILin1EEEEEDTcl6volumeclsr4daliE5beginfp_Eclsr4daliE3endfp_EEERKT_(ptr noundef nonnull align 8 dereferenceable(56) %62)
  store i64 %63, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 72, ptr %19) #6
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.dali::NumpyFileWrapper", ptr %64, i32 0, i32 0
  call void @_ZN4dali17const_sample_viewINS_10CPUBackendEEENS_15ConstSampleViewIT_EERKNS_6TensorIS3_EE(ptr dead_on_unwind writable sret(%"class.dali::ConstSampleView") align 8 %19, ptr noundef nonnull align 8 dereferenceable(272) %65)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %66 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 6
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %69 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %66, i64 noundef %68)
          to label %70 unwind label %104

70:                                               ; preds = %56
  %71 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %72 = extractvalue { ptr, i64 } %69, 0
  store ptr %72, ptr %71, align 8
  %73 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %74 = extractvalue { ptr, i64 } %69, 1
  store i64 %74, ptr %73, align 8
  %75 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  br i1 %75, label %76, label %87

76:                                               ; preds = %70
  %77 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 5
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %77, i64 noundef %79)
          to label %81 unwind label %108

81:                                               ; preds = %76
  %82 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %83 = extractvalue { ptr, i64 } %80, 0
  store ptr %83, ptr %82, align 8
  %84 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %85 = extractvalue { ptr, i64 } %80, 1
  store i64 %85, ptr %84, align 8
  %86 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %23) #6
  br label %87

87:                                               ; preds = %81, %70
  %88 = phi i1 [ false, %70 ], [ %86, %81 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br i1 %88, label %89, label %126

89:                                               ; preds = %87
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind writable sret(%"class.dali::SampleView") align 8 %24, ptr noundef nonnull align 8 dereferenceable(304) %90, i64 noundef %92)
          to label %93 unwind label %113

93:                                               ; preds = %89
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %25, ptr noundef nonnull align 8 dereferenceable(68) %19)
          to label %94 unwind label %117

94:                                               ; preds = %93
  %95 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 2
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4dali10CropWindowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %97) #6
  %99 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 4
  %100 = load float, ptr %99, align 4, !tbaa !13
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN4daliL18SlicePermuteHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef %24, ptr noundef %25, ptr noundef nonnull align 8 dereferenceable(112) %98, float noundef %100, ptr noundef nonnull align 8 dereferenceable(224) %101, i32 noundef 16384, i32 noundef %102)
          to label %103 unwind label %121

103:                                              ; preds = %94
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %25) #6
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %24) #6
  br label %226

104:                                              ; preds = %56
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %21, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %22, align 4
  br label %112

108:                                              ; preds = %76
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %21, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %112

112:                                              ; preds = %108, %104
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %236

113:                                              ; preds = %231, %226, %206, %137, %89
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %21, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %22, align 4
  br label %236

117:                                              ; preds = %93
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %21, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %22, align 4
  br label %125

121:                                              ; preds = %94
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %21, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %22, align 4
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %25) #6
  br label %125

125:                                              ; preds = %121, %117
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %24) #6
  br label %236

126:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %127 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 6
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %127, i64 noundef %129)
          to label %131 unwind label %152

131:                                              ; preds = %126
  %132 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %133 = extractvalue { ptr, i64 } %130, 0
  store ptr %133, ptr %132, align 8
  %134 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %135 = extractvalue { ptr, i64 } %130, 1
  store i64 %135, ptr %134, align 8
  %136 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br i1 %136, label %137, label %165

137:                                              ; preds = %131
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind writable sret(%"class.dali::SampleView") align 8 %27, ptr noundef nonnull align 8 dereferenceable(304) %138, i64 noundef %140)
          to label %141 unwind label %113

141:                                              ; preds = %137
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %28, ptr noundef nonnull align 8 dereferenceable(68) %19)
          to label %142 unwind label %156

142:                                              ; preds = %141
  %143 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 2
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4dali10CropWindowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #6
  %147 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 4
  %148 = load float, ptr %147, align 4, !tbaa !13
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN4daliL11SliceHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef %27, ptr noundef %28, ptr noundef nonnull align 8 dereferenceable(112) %146, float noundef %148, ptr noundef nonnull align 8 dereferenceable(224) %149, i32 noundef 16384, i32 noundef %150)
          to label %151 unwind label %160

151:                                              ; preds = %142
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %28) #6
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %27) #6
  br label %225

152:                                              ; preds = %126
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %21, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %236

156:                                              ; preds = %141
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %21, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %22, align 4
  br label %164

160:                                              ; preds = %142
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %21, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %22, align 4
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %28) #6
  br label %164

164:                                              ; preds = %160, %156
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %27) #6
  br label %236

165:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %166 = getelementptr inbounds %"class.dali::NumpyReader", ptr %34, i32 0, i32 5
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %166, i64 noundef %168)
          to label %170 unwind label %188

170:                                              ; preds = %165
  %171 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %172 = extractvalue { ptr, i64 } %169, 0
  store ptr %172, ptr %171, align 8
  %173 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %174 = extractvalue { ptr, i64 } %169, 1
  store i64 %174, ptr %173, align 8
  %175 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  br i1 %175, label %176, label %206

176:                                              ; preds = %170
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr %31) #6
  %178 = getelementptr inbounds %class.anon.249, ptr %31, i32 0, i32 0
  %179 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %179, ptr %178, align 8, !tbaa !137
  %180 = getelementptr inbounds %class.anon.249, ptr %31, i32 0, i32 2
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %180, ptr noundef nonnull align 8 dereferenceable(68) %19)
          to label %181 unwind label %192

181:                                              ; preds = %176
  %182 = getelementptr inbounds %class.anon.249, ptr %31, i32 0, i32 3
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %183, ptr %182, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFviEEC2IZN4dali14NumpyReaderCPU7RunImplERNS3_9WorkspaceEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(88) %31)
          to label %184 unwind label %196

184:                                              ; preds = %181
  %185 = load i64, ptr %18, align 8, !tbaa !11
  %186 = mul nsw i64 %185, 8
  invoke void @_ZN4dali10ThreadPool7AddWorkESt8functionIFviEElb(ptr noundef nonnull align 8 dereferenceable(224) %177, ptr noundef %30, i64 noundef %186, i1 noundef zeroext false)
          to label %187 unwind label %200

187:                                              ; preds = %184
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @"_ZZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(88) %31) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %31) #6
  br label %224

188:                                              ; preds = %165
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %21, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  br label %236

192:                                              ; preds = %176
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %21, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %22, align 4
  br label %205

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

200:                                              ; preds = %184
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %21, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %22, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %204

204:                                              ; preds = %200, %196
  call void @"_ZZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(88) %31) #6
  br label %205

205:                                              ; preds = %204, %192
  call void @llvm.lifetime.end.p0(i64 88, ptr %31) #6
  br label %236

206:                                              ; preds = %170
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind writable sret(%"class.dali::SampleView") align 8 %32, ptr noundef nonnull align 8 dereferenceable(304) %207, i64 noundef %209)
          to label %210 unwind label %113

210:                                              ; preds = %206
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %33, ptr noundef nonnull align 8 dereferenceable(68) %19)
          to label %211 unwind label %215

211:                                              ; preds = %210
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN4daliL10CopyHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERNS_10ThreadPoolEii(ptr noundef %32, ptr noundef %33, ptr noundef nonnull align 8 dereferenceable(224) %212, i32 noundef 16384, i32 noundef %213)
          to label %214 unwind label %219

214:                                              ; preds = %211
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %33) #6
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %32) #6
  br label %224

215:                                              ; preds = %210
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %21, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %22, align 4
  br label %223

219:                                              ; preds = %211
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %21, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %22, align 4
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %33) #6
  br label %223

223:                                              ; preds = %219, %215
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %32) #6
  br label %236

224:                                              ; preds = %214, %187
  br label %225

225:                                              ; preds = %224, %151
  br label %226

226:                                              ; preds = %225, %103
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = load ptr, ptr %16, align 8, !tbaa !5
  %230 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZNK4dali16NumpyFileWrapper8get_metaEv(ptr noundef nonnull align 8 dereferenceable(456) %229)
          to label %231 unwind label %113

231:                                              ; preds = %226
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE7SetMetaEiRKNS_8DALIMetaE(ptr noundef nonnull align 8 dereferenceable(304) %227, i32 noundef %228, ptr noundef nonnull align 8 dereferenceable(49) %230)
          to label %232 unwind label %113

232:                                              ; preds = %231
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %19) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %15, align 4, !tbaa !9
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %15, align 4, !tbaa !9
  br label %51, !llvm.loop !145

236:                                              ; preds = %223, %205, %188, %164, %152, %125, %113, %112
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %19) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %239

237:                                              ; preds = %55
  %238 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN4dali10ThreadPool6RunAllEb(ptr noundef nonnull align 8 dereferenceable(224) %238, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

239:                                              ; preds = %236
  %240 = load ptr, ptr %21, align 8
  %241 = load i32, ptr %22, align 4
  %242 = insertvalue { ptr, i32 } poison, ptr %240, 0
  %243 = insertvalue { ptr, i32 } %242, i32 %241, 1
  resume { ptr, i32 } %243
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(224) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE13GetThreadPoolEv(ptr noundef nonnull align 8 dereferenceable(664)) #4 align 2

declare noundef i32 @_ZNK4dali10ThreadPool10NumThreadsEv(ptr noundef nonnull align 8 dereferenceable(224)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(456) ptr @_ZN4dali10DataReaderINS_10CPUBackendENS_16NumpyFileWrapperES2_Lb1EE9GetSampleEi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4dali6volumeINS_11TensorShapeILin1EEEEEDTcl6volumeclsr4daliE5beginfp_Eclsr4daliE3endfp_EEERKT_(ptr noundef nonnull align 8 dereferenceable(56)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali17const_sample_viewINS_10CPUBackendEEENS_15ConstSampleViewIT_EERKNS_6TensorIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.dali::ConstSampleView") align 8, ptr noundef nonnull align 8 dereferenceable(272)) #2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4daliL18SlicePermuteHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(112), float noundef, ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef) #2

declare void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind writable sret(%"class.dali::SampleView") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4dali10CropWindowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4daliL11SliceHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(112), float noundef, ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4daliL10CopyHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERNS_10ThreadPoolEii(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef) #2

declare void @_ZN4dali10TensorListINS_10CPUBackendEE7SetMetaEiRKNS_8DALIMetaE(ptr noundef nonnull align 8 dereferenceable(304), i32 noundef, ptr noundef nonnull align 8 dereferenceable(49)) #1

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { 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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !51, i64 1644}
!14 = !{!"_ZTSN4dali11NumpyReaderINS_10CPUBackendENS_16NumpyFileWrapperEEE", !15, i64 0, !84, i64 664, !126, i64 1616, !130, i64 1640, !51, i64 1644, !131, i64 1648, !131, i64 1688}
!15 = !{!"_ZTSN4dali10DataReaderINS_10CPUBackendENS_16NumpyFileWrapperES2_Lb1EEE", !16, i64 0, !52, i64 400, !54, i64 408, !56, i64 448, !56, i64 496, !58, i64 544, !10, i64 548, !60, i64 552, !61, i64 560, !10, i64 584, !10, i64 588, !60, i64 592, !60, i64 593, !60, i64 594, !65, i64 600, !10, i64 624, !10, i64 628, !10, i64 632, !69, i64 636, !71, i64 640, !72, i64 648, !78, i64 656}
!16 = !{!"_ZTSN4dali8OperatorINS_10CPUBackendEEE", !17, i64 0}
!17 = !{!"_ZTSN4dali12OperatorBaseE", !18, i64 8, !10, i64 336, !10, i64 340, !47, i64 344}
!18 = !{!"_ZTSN4dali6OpSpecE", !19, i64 0, !6, i64 32, !21, i64 40, !25, i64 64, !33, i64 112, !25, i64 136, !37, i64 184, !40, i64 232, !40, i64 256, !44, i64 280}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !12, i64 8, !7, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!21 = !{!"_ZTSSt6vectorISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIvESaISt4pairIKS5_iEEE", !26, i64 0}
!26 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !27, i64 0}
!27 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !28, i64 0, !30, i64 8}
!28 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIvEE", !29, i64 0}
!29 = !{!"_ZTSSt4lessIvE"}
!30 = !{!"_ZTSSt15_Rb_tree_header", !31, i64 0, !12, i64 32}
!31 = !{!"_ZTSSt18_Rb_tree_node_base", !32, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!32 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!33 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIvESaISt4pairIKS5_S5_EEE", !38, i64 0}
!38 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !39, i64 0}
!39 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !28, i64 0, !30, i64 8}
!40 = !{!"_ZTSSt6vectorIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSSt3mapIN4dali6OpSpec15InOutDeviceDescEiSt4lessIvESaISt4pairIKS2_iEEE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !28, i64 0, !30, i64 8}
!47 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt3anySt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE", !48, i64 0}
!48 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3anyESaIS9_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !12, i64 8, !49, i64 16, !12, i64 24, !50, i64 32, !6, i64 48}
!49 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!50 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !51, i64 0, !12, i64 8}
!51 = !{!"float", !7, i64 0}
!52 = !{!"_ZTSSt6thread", !53, i64 0}
!53 = !{!"_ZTSNSt6thread2idE", !12, i64 0}
!54 = !{!"_ZTSSt5mutex", !55, i64 0}
!55 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!56 = !{!"_ZTSSt18condition_variable", !57, i64 0}
!57 = !{!"_ZTSSt9__condvar", !7, i64 0}
!58 = !{!"_ZTSSt6atomicIbE", !59, i64 0}
!59 = !{!"_ZTSSt13__atomic_baseIbE", !60, i64 0}
!60 = !{!"bool", !7, i64 0}
!61 = !{!"_ZTSSt6vectorIS_ISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS3_EESaIS5_EE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseISt6vectorISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS4_EESaIS6_EE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS4_EESaIS6_EE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS4_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!65 = !{!"_ZTSSt6vectorIN4dali19LoaderStateSnapshotESaIS1_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseIN4dali19LoaderStateSnapshotESaIS1_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIN4dali19LoaderStateSnapshotESaIS1_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIN4dali19LoaderStateSnapshotESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!69 = !{!"_ZTSSt6atomicIiE", !70, i64 0}
!70 = !{!"_ZTSSt13__atomic_baseIiE", !10, i64 0}
!71 = !{!"_ZTSNSt15__exception_ptr13exception_ptrE", !6, i64 0}
!72 = !{!"_ZTSSt10unique_ptrIN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EE", !73, i64 0}
!73 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_ELb1ELb1EE", !74, i64 0}
!74 = !{!"_ZTSSt15__uniq_ptr_implIN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EE", !75, i64 0}
!75 = !{!"_ZTSSt5tupleIJPN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EEE", !76, i64 0}
!76 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EEE", !77, i64 0}
!77 = !{!"_ZTSSt10_Head_baseILm0EPN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEELb0EE", !6, i64 0}
!78 = !{!"_ZTSSt10unique_ptrIN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EE", !79, i64 0}
!79 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_ELb1ELb1EE", !80, i64 0}
!80 = !{!"_ZTSSt15__uniq_ptr_implIN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EE", !81, i64 0}
!81 = !{!"_ZTSSt5tupleIJPN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EEE", !82, i64 0}
!82 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EEE", !83, i64 0}
!83 = !{!"_ZTSSt10_Head_baseILm0EPN4dali6ParserINS0_16NumpyFileWrapperEEELb0EE", !6, i64 0}
!84 = !{!"_ZTSN4dali14NamedSliceAttrE", !85, i64 0, !100, i64 104, !111, i64 240, !100, i64 376, !111, i64 512, !100, i64 648, !111, i64 784, !122, i64 920, !60, i64 944, !60, i64 945, !60, i64 946}
!85 = !{!"_ZTSN4dali8AxisArgsE", !10, i64 0, !86, i64 8, !60, i64 16, !60, i64 17, !92, i64 18, !93, i64 40, !94, i64 72}
!86 = !{!"_ZTSSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !87, i64 0}
!87 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_ELb1ELb1EE", !88, i64 0}
!88 = !{!"_ZTSSt15__uniq_ptr_implIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !89, i64 0}
!89 = !{!"_ZTSSt5tupleIJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !90, i64 0}
!90 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !91, i64 0}
!91 = !{!"_ZTSSt10_Head_baseILm0EPN4dali8ArgValueIiLi1EEELb0EE", !6, i64 0}
!92 = !{!"_ZTSN4dali12TensorLayoutE", !7, i64 0}
!93 = !{!"_ZTSN4dali11SmallVectorIiLm6ESaIiEEE", !7, i64 0, !12, i64 24}
!94 = !{!"_ZTSN4dali15TensorListShapeILi1EEE", !95, i64 0}
!95 = !{!"_ZTSN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EEE", !96, i64 0, !10, i64 24}
!96 = !{!"_ZTSSt6vectorIlSaIlEE", !97, i64 0}
!97 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !98, i64 0}
!98 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !99, i64 0}
!99 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!100 = !{!"_ZTSN4dali8ArgValueIiLi1EEE", !19, i64 0, !101, i64 32, !105, i64 56, !60, i64 112, !60, i64 113, !12, i64 120, !60, i64 128}
!101 = !{!"_ZTSSt6vectorIiSaIiEE", !102, i64 0}
!102 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !103, i64 0}
!103 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !104, i64 0}
!104 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!105 = !{!"_ZTSN4dali14TensorListViewINS_10StorageCPUEKiLi1EEE", !106, i64 0}
!106 = !{!"_ZTSN4dali18TensorListViewBaseINS_10StorageCPUEKiLi1EEE", !94, i64 0, !107, i64 32}
!107 = !{!"_ZTSSt6vectorIPKiSaIS1_EE", !108, i64 0}
!108 = !{!"_ZTSSt12_Vector_baseIPKiSaIS1_EE", !109, i64 0}
!109 = !{!"_ZTSNSt12_Vector_baseIPKiSaIS1_EE12_Vector_implE", !110, i64 0}
!110 = !{!"_ZTSNSt12_Vector_baseIPKiSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!111 = !{!"_ZTSN4dali8ArgValueIfLi1EEE", !19, i64 0, !112, i64 32, !116, i64 56, !60, i64 112, !60, i64 113, !12, i64 120, !60, i64 128}
!112 = !{!"_ZTSSt6vectorIfSaIfEE", !113, i64 0}
!113 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !114, i64 0}
!114 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !115, i64 0}
!115 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!116 = !{!"_ZTSN4dali14TensorListViewINS_10StorageCPUEKfLi1EEE", !117, i64 0}
!117 = !{!"_ZTSN4dali18TensorListViewBaseINS_10StorageCPUEKfLi1EEE", !94, i64 0, !118, i64 32}
!118 = !{!"_ZTSSt6vectorIPKfSaIS1_EE", !119, i64 0}
!119 = !{!"_ZTSSt12_Vector_baseIPKfSaIS1_EE", !120, i64 0}
!120 = !{!"_ZTSNSt12_Vector_baseIPKfSaIS1_EE12_Vector_implE", !121, i64 0}
!121 = !{!"_ZTSNSt12_Vector_baseIPKfSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!122 = !{!"_ZTSSt6vectorISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE", !123, i64 0}
!123 = !{!"_ZTSSt12_Vector_baseISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE", !124, i64 0}
!124 = !{!"_ZTSNSt12_Vector_baseISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE12_Vector_implE", !125, i64 0}
!125 = !{!"_ZTSNSt12_Vector_baseISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!126 = !{!"_ZTSSt6vectorIN4dali10CropWindowESaIS1_EE", !127, i64 0}
!127 = !{!"_ZTSSt12_Vector_baseIN4dali10CropWindowESaIS1_EE", !128, i64 0}
!128 = !{!"_ZTSNSt12_Vector_baseIN4dali10CropWindowESaIS1_EE12_Vector_implE", !129, i64 0}
!129 = !{!"_ZTSNSt12_Vector_baseIN4dali10CropWindowESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!130 = !{!"_ZTSN4dali17OutOfBoundsPolicyE", !7, i64 0}
!131 = !{!"_ZTSSt6vectorIbSaIbEE", !132, i64 0}
!132 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !133, i64 0}
!133 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !134, i64 0}
!134 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !135, i64 0, !135, i64 16, !6, i64 32}
!135 = !{!"_ZTSSt13_Bit_iterator", !136, i64 0}
!136 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !10, i64 8}
!137 = !{!138, !10, i64 0}
!138 = !{!"_ZTSZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEE3$_0", !10, i64 0, !139, i64 8, !6, i64 80}
!139 = !{!"_ZTSN4dali15ConstSampleViewINS_10CPUBackendEEE", !140, i64 0}
!140 = !{!"_ZTSN4dali14SampleViewBaseINS_10CPUBackendEPKvEE", !6, i64 0, !141, i64 8, !144, i64 64}
!141 = !{!"_ZTSN4dali11TensorShapeILin1EEE", !142, i64 0}
!142 = !{!"_ZTSN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEE", !143, i64 0}
!143 = !{!"_ZTSN4dali11SmallVectorIlLm6ESaIlEEE", !7, i64 0, !12, i64 48}
!144 = !{!"_ZTS13_DALIDataType", !7, i64 0}
!145 = distinct !{!145, !146}
!146 = !{!"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.dali::ConstSampleView" = type { %"class.dali::SampleViewBase.base", [4 x i8] }
%"class.dali::SampleViewBase.base" = type <{ ptr, %"struct.dali::TensorShape", i32 }>
%"struct.dali::TensorShape" = type { %"struct.dali::TensorShapeBase" }
%"struct.dali::TensorShapeBase" = type { %"class.dali::SmallVector.195" }
%"class.dali::SmallVector.195" = type { %union.anon.198, i64 }
%union.anon.198 = type { %struct.anon.199, [32 x i8] }
%struct.anon.199 = type { ptr, i64 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.dali::SampleView" = type { %"class.dali::SampleViewBase.base.248", [4 x i8] }
%"class.dali::SampleViewBase.base.248" = type <{ ptr, %"struct.dali::TensorShape", i32 }>
%"class.std::function.211" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.249 = type { i32, [4 x i8], %"class.dali::ConstSampleView", ptr }

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN4dali10ThreadPool7AddWorkESt8functionIFviEElb(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef, i64 noundef, i1 noundef zeroext) local_unnamed_addr #1

declare void @_ZN4dali10ThreadPool6RunAllEb(ptr noundef nonnull align 8 dereferenceable(224), i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceE(ptr noundef nonnull align 8 dereferenceable(1984) %0, ptr noundef nonnull align 8 dereferenceable(664) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.dali::ConstSampleView", align 8
  %6 = alloca %"struct.std::_Bit_reference", align 8
  %7 = alloca %"struct.std::_Bit_reference", align 8
  %8 = alloca %"class.dali::SampleView", align 8
  %9 = alloca %"class.dali::ConstSampleView", align 8
  %10 = alloca %"struct.std::_Bit_reference", align 8
  %11 = alloca %"class.dali::SampleView", align 8
  %12 = alloca %"class.dali::ConstSampleView", align 8
  %13 = alloca %"struct.std::_Bit_reference", align 8
  %14 = alloca %"class.std::function.211", align 8
  %15 = alloca %class.anon.249, align 8
  %16 = alloca %"class.dali::SampleView", align 8
  %17 = alloca %"class.dali::ConstSampleView", align 8
  %18 = tail call noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %1, i32 noundef 0)
  %19 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKR4dali10TensorListINS_10CPUBackendEE5shapeEv(ptr noundef nonnull align 8 dereferenceable(304) %18)
  %20 = tail call noundef i32 @_ZNK4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(28) %19)
  %21 = tail call noundef nonnull align 8 dereferenceable(224) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE13GetThreadPoolEv(ptr noundef nonnull align 8 dereferenceable(664) %1)
  %22 = tail call noundef i32 @_ZNK4dali10ThreadPool10NumThreadsEv(ptr noundef nonnull align 8 dereferenceable(224) %21)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 1, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  %23 = mul nsw i32 %22, 10
  %24 = sdiv i32 %23, %20
  store i32 %24, ptr %4, align 4, !tbaa !5
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %26 = load i32, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  %27 = icmp sgt i32 %20, 0
  br i1 %27, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %28 = getelementptr inbounds i8, ptr %0, i64 1688
  %29 = getelementptr inbounds i8, ptr %6, i64 8
  %30 = getelementptr inbounds i8, ptr %0, i64 1648
  %31 = getelementptr inbounds i8, ptr %7, i64 8
  %32 = getelementptr inbounds i8, ptr %10, i64 8
  %33 = getelementptr inbounds i8, ptr %13, i64 8
  %34 = getelementptr inbounds i8, ptr %15, i64 8
  %35 = getelementptr inbounds i8, ptr %15, i64 80
  %36 = getelementptr inbounds i8, ptr %0, i64 1616
  %37 = getelementptr inbounds i8, ptr %0, i64 1644
  %wide.trip.count = zext nneg i32 %20 to i64
  br label %38

._crit_edge:                                      ; preds = %124, %2
  call void @_ZN4dali10ThreadPool6RunAllEb(ptr noundef nonnull align 8 dereferenceable(224) %21, i1 noundef zeroext true)
  ret void

38:                                               ; preds = %.lr.ph, %124
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %124 ]
  %39 = trunc nuw nsw i64 %indvars.iv to i32
  %40 = call noundef nonnull align 8 dereferenceable(456) ptr @_ZN4dali10DataReaderINS_10CPUBackendENS_16NumpyFileWrapperES2_Lb1EE9GetSampleEi(ptr noundef nonnull align 8 dereferenceable(664) %0, i32 noundef %39)
  %41 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK4dali16NumpyFileWrapper9get_shapeEv(ptr noundef nonnull align 8 dereferenceable(456) %40)
  %42 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK4dali16NumpyFileWrapper9get_shapeEv(ptr noundef nonnull align 8 dereferenceable(456) %40)
  %43 = call noundef i64 @_ZN4dali6volumeINS_11TensorShapeILin1EEEEEDTcl6volumeclsr4daliE5beginfp_Eclsr4daliE3endfp_EEERKT_(ptr noundef nonnull align 8 dereferenceable(56) %42)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #6
  call void @_ZN4dali17const_sample_viewINS_10CPUBackendEEENS_15ConstSampleViewIT_EERKNS_6TensorIS3_EE(ptr dead_on_unwind nonnull writable sret(%"class.dali::ConstSampleView") align 8 %5, ptr noundef nonnull align 8 dereferenceable(272) %40)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %44 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %28, i64 noundef %indvars.iv)
          to label %45 unwind label %61

45:                                               ; preds = %38
  %46 = extractvalue { ptr, i64 } %44, 0
  store ptr %46, ptr %6, align 8
  %47 = extractvalue { ptr, i64 } %44, 1
  store i64 %47, ptr %29, align 8
  %48 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br i1 %48, label %49, label %.critedge

49:                                               ; preds = %45
  %50 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %30, i64 noundef %indvars.iv)
          to label %51 unwind label %63

51:                                               ; preds = %49
  %52 = extractvalue { ptr, i64 } %50, 0
  store ptr %52, ptr %7, align 8
  %53 = extractvalue { ptr, i64 } %50, 1
  store i64 %53, ptr %31, align 8
  %54 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br i1 %54, label %55, label %73

55:                                               ; preds = %51
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind nonnull writable sret(%"class.dali::SampleView") align 8 %8, ptr noundef nonnull align 8 dereferenceable(304) %18, i64 noundef %indvars.iv)
          to label %56 unwind label %66

56:                                               ; preds = %55
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %9, ptr noundef nonnull align 8 dereferenceable(68) %5)
          to label %57 unwind label %68

57:                                               ; preds = %56
  %58 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4dali10CropWindowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv) #6
  %59 = load float, ptr %37, align 4, !tbaa !9
  invoke void @_ZN4daliL18SlicePermuteHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull align 8 dereferenceable(112) %58, float noundef %59, ptr noundef nonnull align 8 dereferenceable(224) %21, i32 noundef 16384, i32 noundef %26)
          to label %60 unwind label %70

60:                                               ; preds = %57
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %9) #6
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %8) #6
  br label %122

61:                                               ; preds = %38
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %65

63:                                               ; preds = %49
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %65

65:                                               ; preds = %63, %61
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %125

66:                                               ; preds = %122, %113, %79, %55
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %125

68:                                               ; preds = %56
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %72

70:                                               ; preds = %57
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %9) #6
  br label %72

72:                                               ; preds = %70, %68
  %.pn58 = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %8) #6
  br label %125

.critedge:                                        ; preds = %45
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %73

73:                                               ; preds = %.critedge, %51
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %74 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %28, i64 noundef %indvars.iv)
          to label %75 unwind label %85

75:                                               ; preds = %73
  %76 = extractvalue { ptr, i64 } %74, 0
  store ptr %76, ptr %10, align 8
  %77 = extractvalue { ptr, i64 } %74, 1
  store i64 %77, ptr %32, align 8
  %78 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br i1 %78, label %79, label %92

79:                                               ; preds = %75
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind nonnull writable sret(%"class.dali::SampleView") align 8 %11, ptr noundef nonnull align 8 dereferenceable(304) %18, i64 noundef %indvars.iv)
          to label %80 unwind label %66

80:                                               ; preds = %79
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %12, ptr noundef nonnull align 8 dereferenceable(68) %5)
          to label %81 unwind label %87

81:                                               ; preds = %80
  %82 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4dali10CropWindowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv) #6
  %83 = load float, ptr %37, align 4, !tbaa !9
  invoke void @_ZN4daliL11SliceHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull align 8 dereferenceable(112) %82, float noundef %83, ptr noundef nonnull align 8 dereferenceable(224) %21, i32 noundef 16384, i32 noundef %26)
          to label %84 unwind label %89

84:                                               ; preds = %81
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %12) #6
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %11) #6
  br label %122

85:                                               ; preds = %73
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %125

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

89:                                               ; preds = %81
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %12) #6
  br label %91

91:                                               ; preds = %89, %87
  %.pn56 = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ]
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %11) #6
  br label %125

92:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  %93 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %30, i64 noundef %indvars.iv)
          to label %94 unwind label %103

94:                                               ; preds = %92
  %95 = extractvalue { ptr, i64 } %93, 0
  store ptr %95, ptr %13, align 8
  %96 = extractvalue { ptr, i64 } %93, 1
  store i64 %96, ptr %33, align 8
  %97 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br i1 %97, label %98, label %113

98:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %15) #6
  store i32 %39, ptr %15, align 8, !tbaa !135
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %34, ptr noundef nonnull align 8 dereferenceable(68) %5)
          to label %99 unwind label %105

99:                                               ; preds = %98
  store ptr %18, ptr %35, align 8, !tbaa !143
  invoke void @"_ZNSt8functionIFviEEC2IZN4dali14NumpyReaderCPU7RunImplERNS3_9WorkspaceEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(88) %15)
          to label %100 unwind label %107

100:                                              ; preds = %99
  %101 = shl nsw i64 %43, 3
  invoke void @_ZN4dali10ThreadPool7AddWorkESt8functionIFviEElb(ptr noundef nonnull align 8 dereferenceable(224) %21, ptr noundef nonnull %14, i64 noundef %101, i1 noundef zeroext false)
          to label %102 unwind label %109

102:                                              ; preds = %100
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @"_ZZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(88) %15) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %15) #6
  br label %122

103:                                              ; preds = %92
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br label %125

105:                                              ; preds = %98
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %112

107:                                              ; preds = %99
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %100
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %111

111:                                              ; preds = %109, %107
  %.pn53 = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @"_ZZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(88) %15) #6
  br label %112

112:                                              ; preds = %111, %105
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %111 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %15) #6
  br label %125

113:                                              ; preds = %94
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind nonnull writable sret(%"class.dali::SampleView") align 8 %16, ptr noundef nonnull align 8 dereferenceable(304) %18, i64 noundef %indvars.iv)
          to label %114 unwind label %66

114:                                              ; preds = %113
  invoke void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68) %17, ptr noundef nonnull align 8 dereferenceable(68) %5)
          to label %115 unwind label %117

115:                                              ; preds = %114
  invoke void @_ZN4daliL10CopyHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERNS_10ThreadPoolEii(ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull align 8 dereferenceable(224) %21, i32 noundef 16384, i32 noundef %26)
          to label %116 unwind label %119

116:                                              ; preds = %115
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %17) #6
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %16) #6
  br label %122

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

119:                                              ; preds = %115
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %17) #6
  br label %121

121:                                              ; preds = %119, %117
  %.pn51 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %16) #6
  br label %125

122:                                              ; preds = %84, %116, %102, %60
  %123 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZNK4dali16NumpyFileWrapper8get_metaEv(ptr noundef nonnull align 8 dereferenceable(456) %40)
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE7SetMetaEiRKNS_8DALIMetaE(ptr noundef nonnull align 8 dereferenceable(304) %18, i32 noundef %39, ptr noundef nonnull align 8 dereferenceable(49) %123)
          to label %124 unwind label %66

124:                                              ; preds = %122
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %5) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %38, !llvm.loop !144

125:                                              ; preds = %121, %112, %103, %91, %85, %72, %66, %65
  %.pn60 = phi { ptr, i32 } [ %67, %66 ], [ %.pn58, %72 ], [ %.pn56, %91 ], [ %.pn53.pn, %112 ], [ %.pn51, %121 ], [ %104, %103 ], [ %86, %85 ], [ %.pn, %65 ]
  call void @_ZN4dali14SampleViewBaseINS_10CPUBackendEPKvED2Ev(ptr noundef nonnull align 8 dereferenceable(68) %5) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn60
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(224) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE13GetThreadPoolEv(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #4 align 2

declare noundef i32 @_ZNK4dali10ThreadPool10NumThreadsEv(ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(456) ptr @_ZN4dali10DataReaderINS_10CPUBackendENS_16NumpyFileWrapperES2_Lb1EE9GetSampleEi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4dali6volumeINS_11TensorShapeILin1EEEEEDTcl6volumeclsr4daliE5beginfp_Eclsr4daliE3endfp_EEERKT_(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali17const_sample_viewINS_10CPUBackendEEENS_15ConstSampleViewIT_EERKNS_6TensorIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.dali::ConstSampleView") align 8, ptr noundef nonnull align 8 dereferenceable(272)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4daliL18SlicePermuteHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(112), float noundef, ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN4dali10TensorListINS_10CPUBackendEEixEm(ptr dead_on_unwind writable sret(%"class.dali::SampleView") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4dali15ConstSampleViewINS_10CPUBackendEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4daliL11SliceHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERKNS_10CropWindowEfRNS_10ThreadPoolEii(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(112), float noundef, ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4daliL10CopyHelperENS_10SampleViewINS_10CPUBackendEEENS_15ConstSampleViewIS1_EERNS_10ThreadPoolEii(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN4dali10TensorListINS_10CPUBackendEE7SetMetaEiRKNS_8DALIMetaE(ptr noundef nonnull align 8 dereferenceable(304), i32 noundef, ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #1

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { 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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !49, i64 1644}
!10 = !{!"_ZTSN4dali11NumpyReaderINS_10CPUBackendENS_16NumpyFileWrapperEEE", !11, i64 0, !82, i64 664, !124, i64 1616, !128, i64 1640, !49, i64 1644, !129, i64 1648, !129, i64 1688}
!11 = !{!"_ZTSN4dali10DataReaderINS_10CPUBackendENS_16NumpyFileWrapperES2_Lb1EEE", !12, i64 0, !50, i64 400, !52, i64 408, !54, i64 448, !54, i64 496, !56, i64 544, !6, i64 548, !58, i64 552, !59, i64 560, !6, i64 584, !6, i64 588, !58, i64 592, !58, i64 593, !58, i64 594, !63, i64 600, !6, i64 624, !6, i64 628, !6, i64 632, !67, i64 636, !69, i64 640, !70, i64 648, !76, i64 656}
!12 = !{!"_ZTSN4dali8OperatorINS_10CPUBackendEEE", !13, i64 0}
!13 = !{!"_ZTSN4dali12OperatorBaseE", !14, i64 8, !6, i64 336, !6, i64 340, !45, i64 344}
!14 = !{!"_ZTSN4dali6OpSpecE", !15, i64 0, !17, i64 32, !19, i64 40, !23, i64 64, !31, i64 112, !23, i64 136, !35, i64 184, !38, i64 232, !38, i64 256, !42, i64 280}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !18, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSSt6vectorISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali8ArgumentEESaIS3_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!23 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIvESaISt4pairIKS5_iEEE", !24, i64 0}
!24 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !25, i64 0}
!25 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !26, i64 0, !28, i64 8}
!26 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIvEE", !27, i64 0}
!27 = !{!"_ZTSSt4lessIvE"}
!28 = !{!"_ZTSSt15_Rb_tree_header", !29, i64 0, !18, i64 32}
!29 = !{!"_ZTSSt18_Rb_tree_node_base", !30, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!30 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!31 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiESaIS7_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!35 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIvESaISt4pairIKS5_S5_EEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !26, i64 0, !28, i64 8}
!38 = !{!"_ZTSSt6vectorIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpSpec15InOutDeviceDescESaIS2_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!42 = !{!"_ZTSSt3mapIN4dali6OpSpec15InOutDeviceDescEiSt4lessIvESaISt4pairIKS2_iEEE", !43, i64 0}
!43 = !{!"_ZTSSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE", !44, i64 0}
!44 = !{!"_ZTSNSt8_Rb_treeIN4dali6OpSpec15InOutDeviceDescESt4pairIKS2_iESt10_Select1stIS5_ESt4lessIvESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !26, i64 0, !28, i64 8}
!45 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt3anySt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S6_EEE", !46, i64 0}
!46 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St3anyESaIS9_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb1ELb0ELb1EEEE", !17, i64 0, !18, i64 8, !47, i64 16, !18, i64 24, !48, i64 32, !17, i64 48}
!47 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !17, i64 0}
!48 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !49, i64 0, !18, i64 8}
!49 = !{!"float", !7, i64 0}
!50 = !{!"_ZTSSt6thread", !51, i64 0}
!51 = !{!"_ZTSNSt6thread2idE", !18, i64 0}
!52 = !{!"_ZTSSt5mutex", !53, i64 0}
!53 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!54 = !{!"_ZTSSt18condition_variable", !55, i64 0}
!55 = !{!"_ZTSSt9__condvar", !7, i64 0}
!56 = !{!"_ZTSSt6atomicIbE", !57, i64 0}
!57 = !{!"_ZTSSt13__atomic_baseIbE", !58, i64 0}
!58 = !{!"bool", !7, i64 0}
!59 = !{!"_ZTSSt6vectorIS_ISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS3_EESaIS5_EE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseISt6vectorISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS4_EESaIS6_EE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS4_EESaIS6_EE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt10shared_ptrIN4dali16NumpyFileWrapperEESaIS4_EESaIS6_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!63 = !{!"_ZTSSt6vectorIN4dali19LoaderStateSnapshotESaIS1_EE", !64, i64 0}
!64 = !{!"_ZTSSt12_Vector_baseIN4dali19LoaderStateSnapshotESaIS1_EE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIN4dali19LoaderStateSnapshotESaIS1_EE12_Vector_implE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIN4dali19LoaderStateSnapshotESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!67 = !{!"_ZTSSt6atomicIiE", !68, i64 0}
!68 = !{!"_ZTSSt13__atomic_baseIiE", !6, i64 0}
!69 = !{!"_ZTSNSt15__exception_ptr13exception_ptrE", !17, i64 0}
!70 = !{!"_ZTSSt10unique_ptrIN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EE", !71, i64 0}
!71 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_ELb1ELb1EE", !72, i64 0}
!72 = !{!"_ZTSSt15__uniq_ptr_implIN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EE", !73, i64 0}
!73 = !{!"_ZTSSt5tupleIJPN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EEE", !74, i64 0}
!74 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEESt14default_deleteIS4_EEE", !75, i64 0}
!75 = !{!"_ZTSSt10_Head_baseILm0EPN4dali6LoaderINS0_10CPUBackendENS0_16NumpyFileWrapperELb1EEELb0EE", !17, i64 0}
!76 = !{!"_ZTSSt10unique_ptrIN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EE", !77, i64 0}
!77 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_ELb1ELb1EE", !78, i64 0}
!78 = !{!"_ZTSSt15__uniq_ptr_implIN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EE", !79, i64 0}
!79 = !{!"_ZTSSt5tupleIJPN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EEE", !80, i64 0}
!80 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali6ParserINS0_16NumpyFileWrapperEEESt14default_deleteIS3_EEE", !81, i64 0}
!81 = !{!"_ZTSSt10_Head_baseILm0EPN4dali6ParserINS0_16NumpyFileWrapperEEELb0EE", !17, i64 0}
!82 = !{!"_ZTSN4dali14NamedSliceAttrE", !83, i64 0, !98, i64 104, !109, i64 240, !98, i64 376, !109, i64 512, !98, i64 648, !109, i64 784, !120, i64 920, !58, i64 944, !58, i64 945, !58, i64 946}
!83 = !{!"_ZTSN4dali8AxisArgsE", !6, i64 0, !84, i64 8, !58, i64 16, !58, i64 17, !90, i64 18, !91, i64 40, !92, i64 72}
!84 = !{!"_ZTSSt10unique_ptrIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !85, i64 0}
!85 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_ELb1ELb1EE", !86, i64 0}
!86 = !{!"_ZTSSt15__uniq_ptr_implIN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EE", !87, i64 0}
!87 = !{!"_ZTSSt5tupleIJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !88, i64 0}
!88 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali8ArgValueIiLi1EEESt14default_deleteIS2_EEE", !89, i64 0}
!89 = !{!"_ZTSSt10_Head_baseILm0EPN4dali8ArgValueIiLi1EEELb0EE", !17, i64 0}
!90 = !{!"_ZTSN4dali12TensorLayoutE", !7, i64 0}
!91 = !{!"_ZTSN4dali11SmallVectorIiLm6ESaIiEEE", !7, i64 0, !18, i64 24}
!92 = !{!"_ZTSN4dali15TensorListShapeILi1EEE", !93, i64 0}
!93 = !{!"_ZTSN4dali19TensorListShapeBaseINS_15TensorListShapeILi1EEELi1EEE", !94, i64 0, !6, i64 24}
!94 = !{!"_ZTSSt6vectorIlSaIlEE", !95, i64 0}
!95 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !96, i64 0}
!96 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !97, i64 0}
!97 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!98 = !{!"_ZTSN4dali8ArgValueIiLi1EEE", !15, i64 0, !99, i64 32, !103, i64 56, !58, i64 112, !58, i64 113, !18, i64 120, !58, i64 128}
!99 = !{!"_ZTSSt6vectorIiSaIiEE", !100, i64 0}
!100 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !101, i64 0}
!101 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !102, i64 0}
!102 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!103 = !{!"_ZTSN4dali14TensorListViewINS_10StorageCPUEKiLi1EEE", !104, i64 0}
!104 = !{!"_ZTSN4dali18TensorListViewBaseINS_10StorageCPUEKiLi1EEE", !92, i64 0, !105, i64 32}
!105 = !{!"_ZTSSt6vectorIPKiSaIS1_EE", !106, i64 0}
!106 = !{!"_ZTSSt12_Vector_baseIPKiSaIS1_EE", !107, i64 0}
!107 = !{!"_ZTSNSt12_Vector_baseIPKiSaIS1_EE12_Vector_implE", !108, i64 0}
!108 = !{!"_ZTSNSt12_Vector_baseIPKiSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!109 = !{!"_ZTSN4dali8ArgValueIfLi1EEE", !15, i64 0, !110, i64 32, !114, i64 56, !58, i64 112, !58, i64 113, !18, i64 120, !58, i64 128}
!110 = !{!"_ZTSSt6vectorIfSaIfEE", !111, i64 0}
!111 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !112, i64 0}
!112 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !113, i64 0}
!113 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!114 = !{!"_ZTSN4dali14TensorListViewINS_10StorageCPUEKfLi1EEE", !115, i64 0}
!115 = !{!"_ZTSN4dali18TensorListViewBaseINS_10StorageCPUEKfLi1EEE", !92, i64 0, !116, i64 32}
!116 = !{!"_ZTSSt6vectorIPKfSaIS1_EE", !117, i64 0}
!117 = !{!"_ZTSSt12_Vector_baseIPKfSaIS1_EE", !118, i64 0}
!118 = !{!"_ZTSNSt12_Vector_baseIPKfSaIS1_EE12_Vector_implE", !119, i64 0}
!119 = !{!"_ZTSNSt12_Vector_baseIPKfSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!120 = !{!"_ZTSSt6vectorISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE", !121, i64 0}
!121 = !{!"_ZTSSt12_Vector_baseISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE", !122, i64 0}
!122 = !{!"_ZTSNSt12_Vector_baseISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE12_Vector_implE", !123, i64 0}
!123 = !{!"_ZTSNSt12_Vector_baseISt8functionIFN4dali10CropWindowERKNS1_11TensorShapeILin1EEERKNS1_12TensorLayoutEEESaISB_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!124 = !{!"_ZTSSt6vectorIN4dali10CropWindowESaIS1_EE", !125, i64 0}
!125 = !{!"_ZTSSt12_Vector_baseIN4dali10CropWindowESaIS1_EE", !126, i64 0}
!126 = !{!"_ZTSNSt12_Vector_baseIN4dali10CropWindowESaIS1_EE12_Vector_implE", !127, i64 0}
!127 = !{!"_ZTSNSt12_Vector_baseIN4dali10CropWindowESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!128 = !{!"_ZTSN4dali17OutOfBoundsPolicyE", !7, i64 0}
!129 = !{!"_ZTSSt6vectorIbSaIbEE", !130, i64 0}
!130 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !131, i64 0}
!131 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !132, i64 0}
!132 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !133, i64 0, !133, i64 16, !17, i64 32}
!133 = !{!"_ZTSSt13_Bit_iterator", !134, i64 0}
!134 = !{!"_ZTSSt18_Bit_iterator_base", !17, i64 0, !6, i64 8}
!135 = !{!136, !6, i64 0}
!136 = !{!"_ZTSZN4dali14NumpyReaderCPU7RunImplERNS_9WorkspaceEE3$_0", !6, i64 0, !137, i64 8, !17, i64 80}
!137 = !{!"_ZTSN4dali15ConstSampleViewINS_10CPUBackendEEE", !138, i64 0}
!138 = !{!"_ZTSN4dali14SampleViewBaseINS_10CPUBackendEPKvEE", !17, i64 0, !139, i64 8, !142, i64 64}
!139 = !{!"_ZTSN4dali11TensorShapeILin1EEE", !140, i64 0}
!140 = !{!"_ZTSN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEE", !141, i64 0}
!141 = !{!"_ZTSN4dali11SmallVectorIlLm6ESaIlEEE", !7, i64 0, !18, i64 48}
!142 = !{!"_ZTS13_DALIDataType", !7, i64 0}
!143 = !{!17, !17, i64 0}
!144 = distinct !{!144, !145}
!145 = !{!"llvm.loop.mustprogress"}


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