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

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

%"class.std::basic_string_view" = type { i64, ptr }
%"class.dali::Executor" = type <{ %"class.dali::ExecutorBase", %"struct.dali::SeparateQueuePolicy", %"class.dali::OpGraph", i32, i32, i64, %"class.std::mutex", %"class.std::mutex", %"class.std::mutex", ptr, ptr, %"class.std::vector.43", %"class.std::vector.48", %"class.dali::Executor<dali::AOT_WS_Policy<SeparateQueuePolicy>, dali::SeparateQueuePolicy>::EventList", %"class.dali::Executor<dali::AOT_WS_Policy<SeparateQueuePolicy>, dali::SeparateQueuePolicy>::EventList", %"struct.dali::StageQueues", [4 x i8], %"class.std::queue", ptr, %"class.dali::EventPool", %"class.dali::ThreadPool", %"class.std::vector.79", %"class.std::mutex", i8, [3 x i8], %"struct.dali::QueueSizes", [4 x i8], %"class.std::vector.84", %"class.dali::CUDAStreamLease", %"class.dali::CUDAStreamLease", %"class.std::vector.89", %"struct.std::atomic", [7 x i8], %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::vector.99", %"struct.dali::AOT_WS_Policy", %"class.std::vector.109", i64, i64, i64, i64, i8, i8, [6 x i8] }>
%"class.dali::ExecutorBase" = type { ptr }
%"struct.dali::SeparateQueuePolicy" = type { %"struct.std::array", %"struct.std::array", %"struct.std::array.0", %"struct.std::array.0", %"struct.std::atomic", %"struct.std::array.1", %"struct.std::array.1", %"struct.std::array.2", %"struct.std::array.6", %"class.std::condition_variable", %"class.std::condition_variable", %"class.std::mutex", %"class.std::queue.14", %"class.std::queue.14" }
%"struct.std::array" = type { [3 x %"class.std::mutex"] }
%"struct.std::array.0" = type { [3 x i8] }
%"struct.std::array.1" = type { [3 x %"class.std::condition_variable"] }
%"struct.std::array.2" = type { [3 x %"class.std::queue"] }
%"struct.std::array.6" = type { [3 x %"class.std::queue.7"] }
%"class.std::queue.7" = type { %"class.std::deque.8" }
%"class.std::deque.8" = type { %"class.std::_Deque_base.9" }
%"class.std::_Deque_base.9" = type { %"struct.std::_Deque_base<dali::StageQueues, std::allocator<dali::StageQueues>>::_Deque_impl" }
%"struct.std::_Deque_base<dali::StageQueues, std::allocator<dali::StageQueues>>::_Deque_impl" = type { %"struct.std::_Deque_base<dali::StageQueues, std::allocator<dali::StageQueues>>::_Deque_impl_data" }
%"struct.std::_Deque_base<dali::StageQueues, std::allocator<dali::StageQueues>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.13", %"struct.std::_Deque_iterator.13" }
%"struct.std::_Deque_iterator.13" = type { ptr, ptr, 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 }
%"class.std::queue.14" = type { %"class.std::deque.15" }
%"class.std::deque.15" = type { %"class.std::_Deque_base.16" }
%"class.std::_Deque_base.16" = type { %"struct.std::_Deque_base<dali::OutputIdxs, std::allocator<dali::OutputIdxs>>::_Deque_impl" }
%"struct.std::_Deque_base<dali::OutputIdxs, std::allocator<dali::OutputIdxs>>::_Deque_impl" = type { %"struct.std::_Deque_base<dali::OutputIdxs, std::allocator<dali::OutputIdxs>>::_Deque_impl_data" }
%"struct.std::_Deque_base<dali::OutputIdxs, std::allocator<dali::OutputIdxs>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.20", %"struct.std::_Deque_iterator.20" }
%"struct.std::_Deque_iterator.20" = type { ptr, ptr, ptr, ptr }
%"class.dali::OpGraph" = type <{ %"class.std::vector", %"class.std::vector.24", %"class.std::vector.29", %"class.std::map", %"class.std::map.37", %"class.std::map", i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<dali::OpNode, std::allocator<dali::OpNode>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::OpNode, std::allocator<dali::OpNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::OpNode, std::allocator<dali::OpNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::OpNode, std::allocator<dali::OpNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<dali::TensorNode, std::allocator<dali::TensorNode>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::TensorNode, std::allocator<dali::TensorNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::TensorNode, std::allocator<dali::TensorNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::TensorNode, std::allocator<dali::TensorNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.37" = type { %"class.std::_Rb_tree.38" }
%"class.std::_Rb_tree.38" = type { %"struct.std::_Rb_tree<long, std::pair<const long, bool>, std::_Select1st<std::pair<const long, bool>>, std::less<long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long, std::pair<const long, bool>, std::_Select1st<std::pair<const long, bool>>, std::less<long>>::_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" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, long>>, std::less<void>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, long>>, std::less<void>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = 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::Executor<dali::AOT_WS_Policy<SeparateQueuePolicy>, dali::SeparateQueuePolicy>::EventList" = type { %"class.std::vector.53" }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<CUevent_st *, std::allocator<CUevent_st *>>::_Vector_impl" }
%"struct.std::_Vector_base<CUevent_st *, std::allocator<CUevent_st *>>::_Vector_impl" = type { %"struct.std::_Vector_base<CUevent_st *, std::allocator<CUevent_st *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CUevent_st *, std::allocator<CUevent_st *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.dali::StageQueues" = type { %"struct.std::array.58" }
%"struct.std::array.58" = type { [3 x i32] }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.dali::EventPool" = type { %"class.std::vector.59" }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<dali::EventPool::event_device_info, std::allocator<dali::EventPool::event_device_info>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::EventPool::event_device_info, std::allocator<dali::EventPool::event_device_info>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::EventPool::event_device_info, std::allocator<dali::EventPool::event_device_info>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::EventPool::event_device_info, std::allocator<dali::EventPool::event_device_info>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.dali::ThreadPool" = type { %"class.std::vector.64", %"class.std::priority_queue", i8, i8, i8, i32, %"class.std::mutex", %"class.std::condition_variable", %"class.std::condition_variable", %"class.std::vector.74" }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector.69", [8 x i8] }>
%"class.std::vector.69" = type { %"struct.std::_Vector_base.70" }
%"struct.std::_Vector_base.70" = type { %"struct.std::_Vector_base<std::pair<long, std::function<void (int)>>, std::allocator<std::pair<long, std::function<void (int)>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long, std::function<void (int)>>, std::allocator<std::pair<long, std::function<void (int)>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long, std::function<void (int)>>, std::allocator<std::pair<long, std::function<void (int)>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long, std::function<void (int)>>, std::allocator<std::pair<long, std::function<void (int)>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = type { %"struct.std::_Vector_base<std::queue<std::__cxx11::basic_string<char>>, std::allocator<std::queue<std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::queue<std::__cxx11::basic_string<char>>, std::allocator<std::queue<std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::queue<std::__cxx11::basic_string<char>>, std::allocator<std::queue<std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::queue<std::__cxx11::basic_string<char>>, std::allocator<std::queue<std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.79" = type { %"struct.std::_Vector_base.80" }
%"struct.std::_Vector_base.80" = type { %"struct.std::_Vector_base<dali::ErrorInfo, std::allocator<dali::ErrorInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::ErrorInfo, std::allocator<dali::ErrorInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::ErrorInfo, std::allocator<dali::ErrorInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::ErrorInfo, std::allocator<dali::ErrorInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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 }
%"struct.dali::QueueSizes" = type { i32, i32 }
%"class.std::vector.84" = type { %"struct.std::_Vector_base.85" }
%"struct.std::_Vector_base.85" = type { %"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>, std::allocator<std::tuple<dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::CPUBackend>>>, dali::StoreBufferQueue<std::shared_ptr<dali::TensorList<dali::GPUBackend>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.dali::CUDAStreamLease" = type { %"class.dali::CUDAStream", i32, ptr }
%"class.dali::CUDAStream" = type { %"class.dali::UniqueHandle" }
%"class.dali::UniqueHandle" = type { ptr }
%"class.std::vector.89" = type { %"struct.std::_Vector_base.90" }
%"struct.std::_Vector_base.90" = type { %"struct.std::_Vector_base<std::vector<CUevent_st *>, std::allocator<std::vector<CUevent_st *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<CUevent_st *>, std::allocator<std::vector<CUevent_st *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<CUevent_st *>, std::allocator<std::vector<CUevent_st *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<CUevent_st *>, std::allocator<std::vector<CUevent_st *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.99" = type { %"struct.std::_Vector_base.100" }
%"struct.std::_Vector_base.100" = type { %"struct.std::_Vector_base<dali::BatchSizeProvider *, std::allocator<dali::BatchSizeProvider *>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::BatchSizeProvider *, std::allocator<dali::BatchSizeProvider *>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::BatchSizeProvider *, std::allocator<dali::BatchSizeProvider *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::BatchSizeProvider *, std::allocator<dali::BatchSizeProvider *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.dali::AOT_WS_Policy" = type { %"struct.dali::StageQueues", %"class.std::vector.104", %"class.std::vector.104", %"class.std::vector.104" }
%"class.std::vector.104" = type { %"struct.std::_Vector_base.105" }
%"struct.std::_Vector_base.105" = type { %"struct.std::_Vector_base<std::vector<dali::Workspace>, std::allocator<std::vector<dali::Workspace>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<dali::Workspace>, std::allocator<std::vector<dali::Workspace>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<dali::Workspace>, std::allocator<std::vector<dali::Workspace>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<dali::Workspace>, std::allocator<std::vector<dali::Workspace>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.109" = type { %"struct.std::_Vector_base.110" }
%"struct.std::_Vector_base.110" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::IterationData>, std::allocator<std::shared_ptr<dali::IterationData>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<dali::IterationData>, std::allocator<std::shared_ptr<dali::IterationData>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<dali::IterationData>, std::allocator<std::shared_ptr<dali::IterationData>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<dali::IterationData>, std::allocator<std::shared_ptr<dali::IterationData>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4dali31AsyncSeparatedPipelinedExecutor14InputFeedCountESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(3944) %0, i64 %1, ptr %2) unnamed_addr #1 align 2 {
  %4 = alloca %"class.std::basic_string_view", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::basic_string_view", align 8
  %7 = getelementptr inbounds { i64, ptr }, ptr %4, i32 0, i32 0
  store i64 %1, ptr %7, align 8
  %8 = getelementptr inbounds { i64, ptr }, ptr %4, i32 0, i32 1
  store ptr %2, ptr %8, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  %9 = load ptr, ptr %5, align 8
  %10 = getelementptr inbounds %"class.dali::Executor", ptr %9, i32 0, i32 18
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %4, i64 16, i1 false), !tbaa.struct !134
  %12 = getelementptr inbounds { i64, ptr }, ptr %6, i32 0, i32 0
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds { i64, ptr }, ptr %6, i32 0, i32 1
  %15 = load ptr, ptr %14, align 8
  %16 = call noundef nonnull align 8 dereferenceable(576) ptr @_ZN4dali7OpGraph4NodeESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(217) %11, i64 %13, ptr %15)
  %17 = getelementptr inbounds %"class.dali::Executor", ptr %9, i32 0, i32 25
  %18 = getelementptr inbounds %"struct.dali::QueueSizes", ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 4, !tbaa !136
  %20 = getelementptr inbounds %"class.dali::Executor", ptr %9, i32 0, i32 25
  %21 = getelementptr inbounds %"struct.dali::QueueSizes", ptr %20, i32 0, i32 1
  %22 = load i32, ptr %21, align 4, !tbaa !137
  %23 = add nsw i32 %19, %22
  ret i32 %23
}

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

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

!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, !6, i64 1888}
!10 = !{!"_ZTSN4dali8ExecutorINS_13AOT_WS_PolicyINS_19SeparateQueuePolicyEEES2_EE", !11, i64 0, !12, i64 8, !32, i64 1320, !58, i64 1544, !58, i64 1548, !30, i64 1552, !23, i64 1560, !23, i64 1600, !23, i64 1640, !6, i64 1680, !6, i64 1688, !59, i64 1696, !63, i64 1720, !67, i64 1744, !67, i64 1768, !72, i64 1792, !74, i64 1808, !6, i64 1888, !80, i64 1896, !85, i64 1920, !100, i64 2144, !23, i64 2168, !17, i64 2208, !104, i64 2212, !105, i64 2224, !109, i64 2248, !109, i64 2272, !112, i64 2296, !15, i64 2320, !116, i64 2328, !116, i64 2384, !116, i64 2440, !121, i64 2496, !125, i64 2520, !130, i64 2608, !30, i64 2632, !30, i64 2640, !30, i64 2648, !30, i64 2656, !17, i64 2664, !17, i64 2665}
!11 = !{!"_ZTSN4dali12ExecutorBaseE"}
!12 = !{!"_ZTSN4dali19SeparateQueuePolicyE", !13, i64 0, !13, i64 120, !14, i64 240, !14, i64 243, !15, i64 246, !18, i64 248, !18, i64 392, !19, i64 536, !20, i64 776, !21, i64 1016, !21, i64 1064, !23, i64 1112, !25, i64 1152, !25, i64 1232}
!13 = !{!"_ZTSSt5arrayISt5mutexLm3EE", !7, i64 0}
!14 = !{!"_ZTSSt5arrayIbLm3EE", !7, i64 0}
!15 = !{!"_ZTSSt6atomicIbE", !16, i64 0}
!16 = !{!"_ZTSSt13__atomic_baseIbE", !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSSt5arrayISt18condition_variableLm3EE", !7, i64 0}
!19 = !{!"_ZTSSt5arrayISt5queueIiSt5dequeIiSaIiEEELm3EE", !7, i64 0}
!20 = !{!"_ZTSSt5arrayISt5queueIN4dali11StageQueuesESt5dequeIS2_SaIS2_EEELm3EE", !7, i64 0}
!21 = !{!"_ZTSSt18condition_variable", !22, i64 0}
!22 = !{!"_ZTSSt9__condvar", !7, i64 0}
!23 = !{!"_ZTSSt5mutex", !24, i64 0}
!24 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!25 = !{!"_ZTSSt5queueIN4dali10OutputIdxsESt5dequeIS1_SaIS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt5dequeIN4dali10OutputIdxsESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt11_Deque_baseIN4dali10OutputIdxsESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt11_Deque_baseIN4dali10OutputIdxsESaIS1_EE11_Deque_implE", !29, i64 0}
!29 = !{!"_ZTSNSt11_Deque_baseIN4dali10OutputIdxsESaIS1_EE16_Deque_impl_dataE", !6, i64 0, !30, i64 8, !31, i64 16, !31, i64 48}
!30 = !{!"long", !7, i64 0}
!31 = !{!"_ZTSSt15_Deque_iteratorIN4dali10OutputIdxsERS1_PS1_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!32 = !{!"_ZTSN4dali7OpGraphE", !33, i64 0, !37, i64 24, !41, i64 48, !45, i64 72, !53, i64 120, !45, i64 168, !17, i64 216}
!33 = !{!"_ZTSSt6vectorIN4dali6OpNodeESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN4dali6OpNodeESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpNodeESaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpNodeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIN4dali10TensorNodeESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN4dali10TensorNodeESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorNodeESaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorNodeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorIS_IlSaIlEESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElSt4lessIvESaISt4pairIKS5_lEEE", !46, i64 0}
!46 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_lESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !47, i64 0}
!47 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_lESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !48, i64 0, !50, i64 8}
!48 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIvEE", !49, i64 0}
!49 = !{!"_ZTSSt4lessIvE"}
!50 = !{!"_ZTSSt15_Rb_tree_header", !51, i64 0, !30, i64 32}
!51 = !{!"_ZTSSt18_Rb_tree_node_base", !52, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!52 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!53 = !{!"_ZTSSt3mapIlbSt4lessIlESaISt4pairIKlbEEE", !54, i64 0}
!54 = !{!"_ZTSSt8_Rb_treeIlSt4pairIKlbESt10_Select1stIS2_ESt4lessIlESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSNSt8_Rb_treeIlSt4pairIKlbESt10_Select1stIS2_ESt4lessIlESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !56, i64 0, !50, i64 8}
!56 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIlEE", !57, i64 0}
!57 = !{!"_ZTSSt4lessIlE"}
!58 = !{!"int", !7, i64 0}
!59 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!63 = !{!"_ZTSSt6vectorIlSaIlEE", !64, i64 0}
!64 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!67 = !{!"_ZTSN4dali8ExecutorINS_13AOT_WS_PolicyINS_19SeparateQueuePolicyEEES2_E9EventListE", !68, i64 0}
!68 = !{!"_ZTSSt6vectorIP10CUevent_stSaIS1_EE", !69, i64 0}
!69 = !{!"_ZTSSt12_Vector_baseIP10CUevent_stSaIS1_EE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIP10CUevent_stSaIS1_EE12_Vector_implE", !71, i64 0}
!71 = !{!"_ZTSNSt12_Vector_baseIP10CUevent_stSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!72 = !{!"_ZTSN4dali11StageQueuesE", !73, i64 0}
!73 = !{!"_ZTSSt5arrayIiLm3EE", !7, i64 0}
!74 = !{!"_ZTSSt5queueIiSt5dequeIiSaIiEEE", !75, i64 0}
!75 = !{!"_ZTSSt5dequeIiSaIiEE", !76, i64 0}
!76 = !{!"_ZTSSt11_Deque_baseIiSaIiEE", !77, i64 0}
!77 = !{!"_ZTSNSt11_Deque_baseIiSaIiEE11_Deque_implE", !78, i64 0}
!78 = !{!"_ZTSNSt11_Deque_baseIiSaIiEE16_Deque_impl_dataE", !6, i64 0, !30, i64 8, !79, i64 16, !79, i64 48}
!79 = !{!"_ZTSSt15_Deque_iteratorIiRiPiE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!80 = !{!"_ZTSN4dali9EventPoolE", !81, i64 0}
!81 = !{!"_ZTSSt6vectorIN4dali9EventPool17event_device_infoESaIS2_EE", !82, i64 0}
!82 = !{!"_ZTSSt12_Vector_baseIN4dali9EventPool17event_device_infoESaIS2_EE", !83, i64 0}
!83 = !{!"_ZTSNSt12_Vector_baseIN4dali9EventPool17event_device_infoESaIS2_EE12_Vector_implE", !84, i64 0}
!84 = !{!"_ZTSNSt12_Vector_baseIN4dali9EventPool17event_device_infoESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!85 = !{!"_ZTSN4dali10ThreadPoolE", !86, i64 0, !90, i64 24, !17, i64 56, !17, i64 57, !17, i64 58, !58, i64 60, !23, i64 64, !21, i64 104, !21, i64 152, !96, i64 200}
!86 = !{!"_ZTSSt6vectorISt6threadSaIS0_EE", !87, i64 0}
!87 = !{!"_ZTSSt12_Vector_baseISt6threadSaIS0_EE", !88, i64 0}
!88 = !{!"_ZTSNSt12_Vector_baseISt6threadSaIS0_EE12_Vector_implE", !89, i64 0}
!89 = !{!"_ZTSNSt12_Vector_baseISt6threadSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!90 = !{!"_ZTSSt14priority_queueISt4pairIlSt8functionIFviEEESt6vectorIS4_SaIS4_EEN4dali10ThreadPool14SortByPriorityEE", !91, i64 0, !95, i64 24}
!91 = !{!"_ZTSSt6vectorISt4pairIlSt8functionIFviEEESaIS4_EE", !92, i64 0}
!92 = !{!"_ZTSSt12_Vector_baseISt4pairIlSt8functionIFviEEESaIS4_EE", !93, i64 0}
!93 = !{!"_ZTSNSt12_Vector_baseISt4pairIlSt8functionIFviEEESaIS4_EE12_Vector_implE", !94, i64 0}
!94 = !{!"_ZTSNSt12_Vector_baseISt4pairIlSt8functionIFviEEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!95 = !{!"_ZTSN4dali10ThreadPool14SortByPriorityE"}
!96 = !{!"_ZTSSt6vectorISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE", !97, i64 0}
!97 = !{!"_ZTSSt12_Vector_baseISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE", !98, i64 0}
!98 = !{!"_ZTSNSt12_Vector_baseISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE12_Vector_implE", !99, i64 0}
!99 = !{!"_ZTSNSt12_Vector_baseISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!100 = !{!"_ZTSSt6vectorIN4dali9ErrorInfoESaIS1_EE", !101, i64 0}
!101 = !{!"_ZTSSt12_Vector_baseIN4dali9ErrorInfoESaIS1_EE", !102, i64 0}
!102 = !{!"_ZTSNSt12_Vector_baseIN4dali9ErrorInfoESaIS1_EE12_Vector_implE", !103, i64 0}
!103 = !{!"_ZTSNSt12_Vector_baseIN4dali9ErrorInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!104 = !{!"_ZTSN4dali10QueueSizesE", !58, i64 0, !58, i64 4}
!105 = !{!"_ZTSSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE", !106, i64 0}
!106 = !{!"_ZTSSt12_Vector_baseISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE", !107, i64 0}
!107 = !{!"_ZTSNSt12_Vector_baseISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE12_Vector_implE", !108, i64 0}
!108 = !{!"_ZTSNSt12_Vector_baseISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!109 = !{!"_ZTSN4dali15CUDAStreamLeaseE", !110, i64 0, !58, i64 8, !6, i64 16}
!110 = !{!"_ZTSN4dali10CUDAStreamE", !111, i64 0}
!111 = !{!"_ZTSN4dali12UniqueHandleIP11CUstream_stNS_10CUDAStreamEEE", !6, i64 0}
!112 = !{!"_ZTSSt6vectorIS_IP10CUevent_stSaIS1_EESaIS3_EE", !113, i64 0}
!113 = !{!"_ZTSSt12_Vector_baseISt6vectorIP10CUevent_stSaIS2_EESaIS4_EE", !114, i64 0}
!114 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP10CUevent_stSaIS2_EESaIS4_EE12_Vector_implE", !115, i64 0}
!115 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP10CUevent_stSaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!116 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN4dali12ExecutorMetaESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE", !117, i64 0}
!117 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIN4dali12ExecutorMetaESaISA_EEESaISD_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !30, i64 8, !118, i64 16, !30, i64 24, !119, i64 32, !6, i64 48}
!118 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!119 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !120, i64 0, !30, i64 8}
!120 = !{!"float", !7, i64 0}
!121 = !{!"_ZTSSt6vectorIPN4dali17BatchSizeProviderESaIS2_EE", !122, i64 0}
!122 = !{!"_ZTSSt12_Vector_baseIPN4dali17BatchSizeProviderESaIS2_EE", !123, i64 0}
!123 = !{!"_ZTSNSt12_Vector_baseIPN4dali17BatchSizeProviderESaIS2_EE12_Vector_implE", !124, i64 0}
!124 = !{!"_ZTSNSt12_Vector_baseIPN4dali17BatchSizeProviderESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!125 = !{!"_ZTSN4dali13AOT_WS_PolicyINS_19SeparateQueuePolicyEEE", !72, i64 0, !126, i64 16, !126, i64 40, !126, i64 64}
!126 = !{!"_ZTSSt6vectorIS_IN4dali9WorkspaceESaIS1_EESaIS3_EE", !127, i64 0}
!127 = !{!"_ZTSSt12_Vector_baseISt6vectorIN4dali9WorkspaceESaIS2_EESaIS4_EE", !128, i64 0}
!128 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN4dali9WorkspaceESaIS2_EESaIS4_EE12_Vector_implE", !129, i64 0}
!129 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN4dali9WorkspaceESaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!130 = !{!"_ZTSSt6vectorISt10shared_ptrIN4dali13IterationDataEESaIS3_EE", !131, i64 0}
!131 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4dali13IterationDataEESaIS3_EE", !132, i64 0}
!132 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali13IterationDataEESaIS3_EE12_Vector_implE", !133, i64 0}
!133 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali13IterationDataEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!134 = !{i64 0, i64 8, !135, i64 8, i64 8, !5}
!135 = !{!30, !30, i64 0}
!136 = !{!10, !58, i64 2212}
!137 = !{!10, !58, i64 2216}


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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4dali31AsyncSeparatedPipelinedExecutor14InputFeedCountESt17basic_string_viewIcSt11char_traitsIcEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(3944) %0, i64 %1, ptr %2) unnamed_addr #0 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 1888
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = tail call noundef nonnull align 8 dereferenceable(576) ptr @_ZN4dali7OpGraph4NodeESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(217) %5, i64 %1, ptr %2)
  %7 = getelementptr inbounds i8, ptr %0, i64 2212
  %8 = load i32, ptr %7, align 4, !tbaa !133
  %9 = getelementptr inbounds i8, ptr %0, i64 2216
  %10 = load i32, ptr %9, align 8, !tbaa !134
  %11 = add nsw i32 %10, %8
  ret i32 %11
}

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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, !28, i64 1888}
!6 = !{!"_ZTSN4dali8ExecutorINS_13AOT_WS_PolicyINS_19SeparateQueuePolicyEEES2_EE", !7, i64 0, !8, i64 8, !31, i64 1320, !57, i64 1544, !57, i64 1548, !29, i64 1552, !21, i64 1560, !21, i64 1600, !21, i64 1640, !28, i64 1680, !28, i64 1688, !58, i64 1696, !62, i64 1720, !66, i64 1744, !66, i64 1768, !71, i64 1792, !73, i64 1808, !28, i64 1888, !79, i64 1896, !84, i64 1920, !99, i64 2144, !21, i64 2168, !15, i64 2208, !103, i64 2212, !104, i64 2224, !108, i64 2248, !108, i64 2272, !111, i64 2296, !13, i64 2320, !115, i64 2328, !115, i64 2384, !115, i64 2440, !120, i64 2496, !124, i64 2520, !129, i64 2608, !29, i64 2632, !29, i64 2640, !29, i64 2648, !29, i64 2656, !15, i64 2664, !15, i64 2665}
!7 = !{!"_ZTSN4dali12ExecutorBaseE"}
!8 = !{!"_ZTSN4dali19SeparateQueuePolicyE", !9, i64 0, !9, i64 120, !12, i64 240, !12, i64 243, !13, i64 246, !16, i64 248, !16, i64 392, !17, i64 536, !18, i64 776, !19, i64 1016, !19, i64 1064, !21, i64 1112, !23, i64 1152, !23, i64 1232}
!9 = !{!"_ZTSSt5arrayISt5mutexLm3EE", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSSt5arrayIbLm3EE", !10, i64 0}
!13 = !{!"_ZTSSt6atomicIbE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseIbE", !15, i64 0}
!15 = !{!"bool", !10, i64 0}
!16 = !{!"_ZTSSt5arrayISt18condition_variableLm3EE", !10, i64 0}
!17 = !{!"_ZTSSt5arrayISt5queueIiSt5dequeIiSaIiEEELm3EE", !10, i64 0}
!18 = !{!"_ZTSSt5arrayISt5queueIN4dali11StageQueuesESt5dequeIS2_SaIS2_EEELm3EE", !10, i64 0}
!19 = !{!"_ZTSSt18condition_variable", !20, i64 0}
!20 = !{!"_ZTSSt9__condvar", !10, i64 0}
!21 = !{!"_ZTSSt5mutex", !22, i64 0}
!22 = !{!"_ZTSSt12__mutex_base", !10, i64 0}
!23 = !{!"_ZTSSt5queueIN4dali10OutputIdxsESt5dequeIS1_SaIS1_EEE", !24, i64 0}
!24 = !{!"_ZTSSt5dequeIN4dali10OutputIdxsESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt11_Deque_baseIN4dali10OutputIdxsESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt11_Deque_baseIN4dali10OutputIdxsESaIS1_EE11_Deque_implE", !27, i64 0}
!27 = !{!"_ZTSNSt11_Deque_baseIN4dali10OutputIdxsESaIS1_EE16_Deque_impl_dataE", !28, i64 0, !29, i64 8, !30, i64 16, !30, i64 48}
!28 = !{!"any pointer", !10, i64 0}
!29 = !{!"long", !10, i64 0}
!30 = !{!"_ZTSSt15_Deque_iteratorIN4dali10OutputIdxsERS1_PS1_E", !28, i64 0, !28, i64 8, !28, i64 16, !28, i64 24}
!31 = !{!"_ZTSN4dali7OpGraphE", !32, i64 0, !36, i64 24, !40, i64 48, !44, i64 72, !52, i64 120, !44, i64 168, !15, i64 216}
!32 = !{!"_ZTSSt6vectorIN4dali6OpNodeESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN4dali6OpNodeESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpNodeESaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN4dali6OpNodeESaIS1_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!36 = !{!"_ZTSSt6vectorIN4dali10TensorNodeESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN4dali10TensorNodeESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorNodeESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN4dali10TensorNodeESaIS1_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!40 = !{!"_ZTSSt6vectorIS_IlSaIlEESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt6vectorIlSaIlEESaIS2_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!44 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElSt4lessIvESaISt4pairIKS5_lEEE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_lESt10_Select1stIS8_ESt4lessIvESaIS8_EE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_lESt10_Select1stIS8_ESt4lessIvESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !47, i64 0, !49, i64 8}
!47 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIvEE", !48, i64 0}
!48 = !{!"_ZTSSt4lessIvE"}
!49 = !{!"_ZTSSt15_Rb_tree_header", !50, i64 0, !29, i64 32}
!50 = !{!"_ZTSSt18_Rb_tree_node_base", !51, i64 0, !28, i64 8, !28, i64 16, !28, i64 24}
!51 = !{!"_ZTSSt14_Rb_tree_color", !10, i64 0}
!52 = !{!"_ZTSSt3mapIlbSt4lessIlESaISt4pairIKlbEEE", !53, i64 0}
!53 = !{!"_ZTSSt8_Rb_treeIlSt4pairIKlbESt10_Select1stIS2_ESt4lessIlESaIS2_EE", !54, i64 0}
!54 = !{!"_ZTSNSt8_Rb_treeIlSt4pairIKlbESt10_Select1stIS2_ESt4lessIlESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !55, i64 0, !49, i64 8}
!55 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIlEE", !56, i64 0}
!56 = !{!"_ZTSSt4lessIlE"}
!57 = !{!"int", !10, i64 0}
!58 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!62 = !{!"_ZTSSt6vectorIlSaIlEE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!66 = !{!"_ZTSN4dali8ExecutorINS_13AOT_WS_PolicyINS_19SeparateQueuePolicyEEES2_E9EventListE", !67, i64 0}
!67 = !{!"_ZTSSt6vectorIP10CUevent_stSaIS1_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIP10CUevent_stSaIS1_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIP10CUevent_stSaIS1_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIP10CUevent_stSaIS1_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!71 = !{!"_ZTSN4dali11StageQueuesE", !72, i64 0}
!72 = !{!"_ZTSSt5arrayIiLm3EE", !10, i64 0}
!73 = !{!"_ZTSSt5queueIiSt5dequeIiSaIiEEE", !74, i64 0}
!74 = !{!"_ZTSSt5dequeIiSaIiEE", !75, i64 0}
!75 = !{!"_ZTSSt11_Deque_baseIiSaIiEE", !76, i64 0}
!76 = !{!"_ZTSNSt11_Deque_baseIiSaIiEE11_Deque_implE", !77, i64 0}
!77 = !{!"_ZTSNSt11_Deque_baseIiSaIiEE16_Deque_impl_dataE", !28, i64 0, !29, i64 8, !78, i64 16, !78, i64 48}
!78 = !{!"_ZTSSt15_Deque_iteratorIiRiPiE", !28, i64 0, !28, i64 8, !28, i64 16, !28, i64 24}
!79 = !{!"_ZTSN4dali9EventPoolE", !80, i64 0}
!80 = !{!"_ZTSSt6vectorIN4dali9EventPool17event_device_infoESaIS2_EE", !81, i64 0}
!81 = !{!"_ZTSSt12_Vector_baseIN4dali9EventPool17event_device_infoESaIS2_EE", !82, i64 0}
!82 = !{!"_ZTSNSt12_Vector_baseIN4dali9EventPool17event_device_infoESaIS2_EE12_Vector_implE", !83, i64 0}
!83 = !{!"_ZTSNSt12_Vector_baseIN4dali9EventPool17event_device_infoESaIS2_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!84 = !{!"_ZTSN4dali10ThreadPoolE", !85, i64 0, !89, i64 24, !15, i64 56, !15, i64 57, !15, i64 58, !57, i64 60, !21, i64 64, !19, i64 104, !19, i64 152, !95, i64 200}
!85 = !{!"_ZTSSt6vectorISt6threadSaIS0_EE", !86, i64 0}
!86 = !{!"_ZTSSt12_Vector_baseISt6threadSaIS0_EE", !87, i64 0}
!87 = !{!"_ZTSNSt12_Vector_baseISt6threadSaIS0_EE12_Vector_implE", !88, i64 0}
!88 = !{!"_ZTSNSt12_Vector_baseISt6threadSaIS0_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!89 = !{!"_ZTSSt14priority_queueISt4pairIlSt8functionIFviEEESt6vectorIS4_SaIS4_EEN4dali10ThreadPool14SortByPriorityEE", !90, i64 0, !94, i64 24}
!90 = !{!"_ZTSSt6vectorISt4pairIlSt8functionIFviEEESaIS4_EE", !91, i64 0}
!91 = !{!"_ZTSSt12_Vector_baseISt4pairIlSt8functionIFviEEESaIS4_EE", !92, i64 0}
!92 = !{!"_ZTSNSt12_Vector_baseISt4pairIlSt8functionIFviEEESaIS4_EE12_Vector_implE", !93, i64 0}
!93 = !{!"_ZTSNSt12_Vector_baseISt4pairIlSt8functionIFviEEESaIS4_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!94 = !{!"_ZTSN4dali10ThreadPool14SortByPriorityE"}
!95 = !{!"_ZTSSt6vectorISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE", !96, i64 0}
!96 = !{!"_ZTSSt12_Vector_baseISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE", !97, i64 0}
!97 = !{!"_ZTSNSt12_Vector_baseISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE12_Vector_implE", !98, i64 0}
!98 = !{!"_ZTSNSt12_Vector_baseISt5queueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt5dequeIS6_SaIS6_EEESaISA_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!99 = !{!"_ZTSSt6vectorIN4dali9ErrorInfoESaIS1_EE", !100, i64 0}
!100 = !{!"_ZTSSt12_Vector_baseIN4dali9ErrorInfoESaIS1_EE", !101, i64 0}
!101 = !{!"_ZTSNSt12_Vector_baseIN4dali9ErrorInfoESaIS1_EE12_Vector_implE", !102, i64 0}
!102 = !{!"_ZTSNSt12_Vector_baseIN4dali9ErrorInfoESaIS1_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!103 = !{!"_ZTSN4dali10QueueSizesE", !57, i64 0, !57, i64 4}
!104 = !{!"_ZTSSt6vectorISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE", !105, i64 0}
!105 = !{!"_ZTSSt12_Vector_baseISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE", !106, i64 0}
!106 = !{!"_ZTSNSt12_Vector_baseISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE12_Vector_implE", !107, i64 0}
!107 = !{!"_ZTSNSt12_Vector_baseISt5tupleIJN4dali16StoreBufferQueueISt10shared_ptrINS1_10TensorListINS1_10CPUBackendEEEEEENS2_IS3_INS4_INS1_10GPUBackendEEEEEES8_SC_S8_SC_EESaISD_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!108 = !{!"_ZTSN4dali15CUDAStreamLeaseE", !109, i64 0, !57, i64 8, !28, i64 16}
!109 = !{!"_ZTSN4dali10CUDAStreamE", !110, i64 0}
!110 = !{!"_ZTSN4dali12UniqueHandleIP11CUstream_stNS_10CUDAStreamEEE", !28, i64 0}
!111 = !{!"_ZTSSt6vectorIS_IP10CUevent_stSaIS1_EESaIS3_EE", !112, i64 0}
!112 = !{!"_ZTSSt12_Vector_baseISt6vectorIP10CUevent_stSaIS2_EESaIS4_EE", !113, i64 0}
!113 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP10CUevent_stSaIS2_EESaIS4_EE12_Vector_implE", !114, i64 0}
!114 = !{!"_ZTSNSt12_Vector_baseISt6vectorIP10CUevent_stSaIS2_EESaIS4_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!115 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN4dali12ExecutorMetaESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE", !116, i64 0}
!116 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIN4dali12ExecutorMetaESaISA_EEESaISD_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE", !28, i64 0, !29, i64 8, !117, i64 16, !29, i64 24, !118, i64 32, !28, i64 48}
!117 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !28, i64 0}
!118 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !119, i64 0, !29, i64 8}
!119 = !{!"float", !10, i64 0}
!120 = !{!"_ZTSSt6vectorIPN4dali17BatchSizeProviderESaIS2_EE", !121, i64 0}
!121 = !{!"_ZTSSt12_Vector_baseIPN4dali17BatchSizeProviderESaIS2_EE", !122, i64 0}
!122 = !{!"_ZTSNSt12_Vector_baseIPN4dali17BatchSizeProviderESaIS2_EE12_Vector_implE", !123, i64 0}
!123 = !{!"_ZTSNSt12_Vector_baseIPN4dali17BatchSizeProviderESaIS2_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!124 = !{!"_ZTSN4dali13AOT_WS_PolicyINS_19SeparateQueuePolicyEEE", !71, i64 0, !125, i64 16, !125, i64 40, !125, i64 64}
!125 = !{!"_ZTSSt6vectorIS_IN4dali9WorkspaceESaIS1_EESaIS3_EE", !126, i64 0}
!126 = !{!"_ZTSSt12_Vector_baseISt6vectorIN4dali9WorkspaceESaIS2_EESaIS4_EE", !127, i64 0}
!127 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN4dali9WorkspaceESaIS2_EESaIS4_EE12_Vector_implE", !128, i64 0}
!128 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN4dali9WorkspaceESaIS2_EESaIS4_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!129 = !{!"_ZTSSt6vectorISt10shared_ptrIN4dali13IterationDataEESaIS3_EE", !130, i64 0}
!130 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4dali13IterationDataEESaIS3_EE", !131, i64 0}
!131 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali13IterationDataEESaIS3_EE12_Vector_implE", !132, i64 0}
!132 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4dali13IterationDataEESaIS3_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!133 = !{!6, !57, i64 2212}
!134 = !{!6, !57, i64 2216}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,TailCallElimPass