; LLVM IR from NVIDIA/DALI :: dali/pipeline/executor/executor2/exec_node_task.ll (ZN4dali5exec26OpTask7SetupOpEv)

; 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.std::shared_ptr.152" = type { %"class.std::__shared_ptr.153" }
%"class.std::__shared_ptr.153" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.dali::AccessOrder" = type <{ ptr, i32, [4 x i8] }>
%"class.dali::GPUBackend" = type { i8 }
%"class.std::shared_ptr.158" = type { %"class.std::__shared_ptr.159" }
%"class.std::__shared_ptr.159" = type { ptr, %"class.std::__shared_count" }
%"struct.dali::DomainTimeRange" = type { i8 }
%"class.std::vector.161" = type { %"struct.std::_Vector_base.162" }
%"struct.std::_Vector_base.162" = type { %"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.dali::exec2::ExecNodeTask" = type { ptr, ptr, %"struct.dali::exec2::WorkspaceParams", %"class.std::unique_ptr", %"class.dali::CUDASharedEvent" }
%"struct.dali::exec2::WorkspaceParams" = type <{ ptr, %"class.std::shared_ptr", i32, [4 x i8] }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.2" }
%"struct.std::_Head_base.2" = type { ptr }
%"class.dali::CUDASharedEvent" = type { %"class.std::shared_ptr.3" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.dali::exec2::ExecNode" = type { %"class.dali::SmallVector.13", %"class.dali::SmallVector.18", %"class.std::shared_ptr.23", %"class.std::shared_ptr.23", %"class.std::unique_ptr.26", %"struct.dali::exec2::ExecEnv", %"class.std::__cxx11::basic_string", i32, i8, i8, i8, %"class.std::shared_ptr.34", %"class.std::shared_ptr.34", %"class.std::shared_ptr.34", %"class.std::unique_ptr", i8, %"class.dali::CUDASharedEvent", %"class.std::any" }
%"class.dali::SmallVector.13" = type { %union.anon.16, i64 }
%union.anon.16 = type { %struct.anon.17, [48 x i8] }
%struct.anon.17 = type { ptr, i64 }
%"class.dali::SmallVector.18" = type { %union.anon.21, i64 }
%union.anon.21 = type { %struct.anon.22, [176 x i8] }
%struct.anon.22 = type { ptr, i64 }
%"class.std::shared_ptr.23" = type { %"class.std::__shared_ptr.24" }
%"class.std::__shared_ptr.24" = type { ptr, %"class.std::__shared_count" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"struct.dali::exec2::ExecEnv" = type { ptr, %"class.dali::AccessOrder" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::shared_ptr.34" = type { %"class.std::__shared_ptr.35" }
%"class.std::__shared_ptr.35" = type { ptr, %"class.std::__shared_count" }
%"class.std::any" = type { ptr, %"union.std::any::_Storage" }
%"union.std::any::_Storage" = type { ptr }
%"class.dali::exec2::OpTask" = type { %"class.dali::exec2::ExecNodeTask", i8, ptr, %"class.dali::SmallVector.6" }
%"class.dali::SmallVector.6" = type { %union.anon.9, i64 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { ptr, i64 }
%"struct.dali::exec2::ExecOutputDesc" = type <{ %"class.dali::SmallVector.155", i32, i8, i8, [2 x i8] }>
%"class.dali::SmallVector.155" = type { %union.anon.156, i64 }
%union.anon.156 = type { %struct.anon.157, [16 x i8] }
%struct.anon.157 = type { ptr, i64 }
%"struct.dali::exec2::OpTask::Meta" = type { %struct.anon.12 }
%struct.anon.12 = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"struct.dali::OutputDesc" = type { %"struct.dali::TensorListShape", i32, [4 x i8] }
%"struct.dali::TensorListShape" = type { %"struct.dali::TensorListShapeBase.base", i32 }
%"struct.dali::TensorListShapeBase.base" = type <{ %"class.std::vector.92", i32 }>
%"class.std::vector.92" = type { %"struct.std::_Vector_base.93" }
%"struct.std::_Vector_base.93" = 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 }

@.str.8 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv = external hidden unnamed_addr constant [36 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali5exec26OpTask7SetupOpEv(ptr noundef nonnull align 8 dereferenceable(112) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.dali::CPUBackend", align 1
  %8 = alloca %"class.std::shared_ptr.152", align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.dali::AccessOrder", align 8
  %13 = alloca { ptr, i32 }, align 8
  %14 = alloca %"class.std::shared_ptr.152", align 8
  %15 = alloca %"class.dali::GPUBackend", align 1
  %16 = alloca %"class.std::shared_ptr.158", align 8
  %17 = alloca %"class.dali::AccessOrder", align 8
  %18 = alloca { ptr, i32 }, align 8
  %19 = alloca %"class.std::shared_ptr.158", align 8
  %20 = alloca %"struct.dali::DomainTimeRange", align 1
  %21 = alloca %"class.std::vector.161", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.dali::CPUBackend", align 1
  %24 = alloca ptr, align 8
  %25 = alloca %"class.dali::GPUBackend", align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  %27 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %26, i32 0, i32 3
  %28 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  store ptr %28, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  %29 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %26, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds %"class.dali::exec2::ExecNode", ptr %30, i32 0, i32 1
  %32 = call noundef i64 @_ZNK4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(200) %31)
  %33 = trunc i64 %32 to i32
  store i32 %33, ptr %4, align 4, !tbaa !25
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664) %34)
  %36 = load i32, ptr %4, align 4, !tbaa !25
  %37 = icmp eq i32 %35, %36
  br i1 %37, label %38, label %39

38:                                               ; preds = %1
  br label %41

39:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.8, i32 noundef 249, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

40:                                               ; No predecessors!
  br label %41

41:                                               ; preds = %40, %38
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE10has_streamEv(ptr noundef nonnull align 8 dereferenceable(664) %42)
  br i1 %43, label %50, label %44

44:                                               ; preds = %41
  %45 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %26, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = getelementptr inbounds %"class.dali::exec2::ExecNode", ptr %46, i32 0, i32 7
  %48 = load i32, ptr %47, align 8, !tbaa !26
  %49 = icmp eq i32 %48, 1
  br label %50

50:                                               ; preds = %44, %41
  %51 = phi i1 [ true, %41 ], [ %49, %44 ]
  br i1 %51, label %52, label %53

52:                                               ; preds = %50
  br label %55

53:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.8, i32 noundef 251, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

54:                                               ; No predecessors!
  br label %55

55:                                               ; preds = %54, %52
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9has_eventEv(ptr noundef nonnull align 8 dereferenceable(664) %56)
  br i1 %57, label %64, label %58

58:                                               ; preds = %55
  %59 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %26, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds %"class.dali::exec2::ExecNode", ptr %60, i32 0, i32 7
  %62 = load i32, ptr %61, align 8, !tbaa !26
  %63 = icmp eq i32 %62, 1
  br label %64

64:                                               ; preds = %58, %55
  %65 = phi i1 [ true, %55 ], [ %63, %58 ]
  br i1 %65, label %66, label %67

66:                                               ; preds = %64
  br label %69

67:                                               ; preds = %64
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.8, i32 noundef 252, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68, %66
  %70 = call noundef zeroext i1 @_ZNK4dali5exec26OpTask10ShouldSkipEv(ptr noundef nonnull align 8 dereferenceable(112) %26)
  %71 = getelementptr inbounds %"class.dali::exec2::OpTask", ptr %26, i32 0, i32 1
  %72 = zext i1 %70 to i8
  store i8 %72, ptr %71, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 -1, ptr %5, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !25
  br label %73

73:                                               ; preds = %190, %69
  %74 = load i32, ptr %6, align 4, !tbaa !25
  %75 = load i32, ptr %4, align 4, !tbaa !25
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %194

78:                                               ; preds = %73
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = load i32, ptr %6, align 4, !tbaa !25
  %81 = call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %79, i32 noundef %80)
  br i1 %81, label %82, label %142

82:                                               ; preds = %78
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = load i32, ptr %6, align 4, !tbaa !25
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9OutputPtrINS_10CPUBackendEEERKS2_INS1_IT_EEEiS6_(ptr noundef nonnull align 8 dereferenceable(664) %83, i32 noundef %84)
  %86 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %85) #8
  %87 = xor i1 %86, true
  br i1 %87, label %88, label %89

88:                                               ; preds = %82
  br label %91

89:                                               ; preds = %82
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.8, i32 noundef 260, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

90:                                               ; No predecessors!
  br label %91

91:                                               ; preds = %90, %88
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  call void @_ZSt11make_sharedIN4dali10TensorListINS0_10CPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.152") align 8 %8)
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  %92 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %26, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = getelementptr inbounds %"class.dali::exec2::ExecNode", ptr %93, i32 0, i32 1
  %95 = load i32, ptr %6, align 4, !tbaa !25
  %96 = sext i32 %95 to i64
  %97 = invoke noundef nonnull align 8 dereferenceable(46) ptr @_ZN4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EEixEl(ptr noundef nonnull align 8 dereferenceable(200) %94, i64 noundef %96)
          to label %98 unwind label %125

98:                                               ; preds = %91
  %99 = getelementptr inbounds %"struct.dali::exec2::ExecOutputDesc", ptr %97, i32 0, i32 2
  %100 = load i8, ptr %99, align 4, !tbaa !51, !range !55, !noundef !56
  %101 = trunc i8 %100 to i1
  %102 = zext i1 %101 to i8
  store i8 %102, ptr %9, align 1, !tbaa !57
  %103 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  %104 = load i8, ptr %9, align 1, !tbaa !57, !range !55, !noundef !56
  %105 = trunc i8 %104 to i1
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE10set_pinnedEb(ptr noundef nonnull align 8 dereferenceable(304) %103, i1 noundef zeroext %105)
          to label %106 unwind label %125

106:                                              ; preds = %98
  %107 = load i8, ptr %9, align 1, !tbaa !57, !range !55, !noundef !56
  %108 = trunc i8 %107 to i1
  br i1 %108, label %109, label %133

109:                                              ; preds = %106
  %110 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = invoke { ptr, i32 } @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12output_orderEv(ptr noundef nonnull align 8 dereferenceable(664) %111)
          to label %113 unwind label %125

113:                                              ; preds = %109
  store { ptr, i32 } %112, ptr %13, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %13, i64 12, i1 false)
  %114 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8
  %116 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 1
  %117 = load i32, ptr %116, align 8
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304) %110, ptr %115, i32 %117, i1 noundef zeroext false)
          to label %118 unwind label %125

118:                                              ; preds = %113
  %119 = load i32, ptr %5, align 4, !tbaa !25
  %120 = icmp slt i32 %119, 0
  br i1 %120, label %121, label %129

121:                                              ; preds = %118
  %122 = invoke i32 @cudaGetDevice(ptr noundef %5)
          to label %123 unwind label %125

123:                                              ; preds = %121
  invoke void @_Z9CUDA_CALLI9cudaErrorEvT_(i32 noundef %122)
          to label %124 unwind label %125

124:                                              ; preds = %123
  br label %129

125:                                              ; preds = %129, %123, %121, %113, %109, %98, %91
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %10, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %11, align 4
  br label %141

129:                                              ; preds = %124, %118
  %130 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  %131 = load i32, ptr %5, align 4, !tbaa !25
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304) %130, i32 noundef %131)
          to label %132 unwind label %125

132:                                              ; preds = %129
  br label %133

133:                                              ; preds = %132, %106
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = load i32, ptr %6, align 4, !tbaa !25
  call void @_ZNSt10shared_ptrIN4dali10TensorListINS0_10CPUBackendEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  invoke void @_ZN4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9SetOutputEiS2_INS1_INS_10CPUBackendEEEE(ptr noundef nonnull align 8 dereferenceable(664) %134, i32 noundef %135, ptr noundef %14)
          to label %136 unwind label %137

136:                                              ; preds = %133
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  br label %189

137:                                              ; preds = %133
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %10, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %11, align 4
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %141

141:                                              ; preds = %137, %125
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  br label %193

142:                                              ; preds = %78
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = load i32, ptr %6, align 4, !tbaa !25
  %145 = call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %143, i32 noundef %144)
  br i1 %145, label %146, label %187

146:                                              ; preds = %142
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = load i32, ptr %6, align 4, !tbaa !25
  %149 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9OutputPtrINS_10GPUBackendEEERKS2_INS1_IT_EEEiS6_(ptr noundef nonnull align 8 dereferenceable(664) %147, i32 noundef %148)
  %150 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %149) #8
  %151 = xor i1 %150, true
  br i1 %151, label %152, label %153

152:                                              ; preds = %146
  br label %155

153:                                              ; preds = %146
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.8, i32 noundef 272, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

154:                                              ; No predecessors!
  br label %155

155:                                              ; preds = %154, %152
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  call void @_ZSt11make_sharedIN4dali10TensorListINS0_10GPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.158") align 8 %16)
  %156 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  %157 = load ptr, ptr %3, align 8, !tbaa !5
  %158 = invoke { ptr, i32 } @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12output_orderEv(ptr noundef nonnull align 8 dereferenceable(664) %157)
          to label %159 unwind label %171

159:                                              ; preds = %155
  store { ptr, i32 } %158, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %18, i64 12, i1 false)
  %160 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8
  %162 = getelementptr inbounds { ptr, i32 }, ptr %17, i32 0, i32 1
  %163 = load i32, ptr %162, align 8
  invoke void @_ZN4dali10TensorListINS_10GPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304) %156, ptr %161, i32 %163, i1 noundef zeroext false)
          to label %164 unwind label %171

164:                                              ; preds = %159
  %165 = load i32, ptr %5, align 4, !tbaa !25
  %166 = icmp slt i32 %165, 0
  br i1 %166, label %167, label %175

167:                                              ; preds = %164
  %168 = invoke i32 @cudaGetDevice(ptr noundef %5)
          to label %169 unwind label %171

169:                                              ; preds = %167
  invoke void @_Z9CUDA_CALLI9cudaErrorEvT_(i32 noundef %168)
          to label %170 unwind label %171

170:                                              ; preds = %169
  br label %175

171:                                              ; preds = %175, %169, %167, %159, %155
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %10, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %11, align 4
  br label %186

175:                                              ; preds = %170, %164
  %176 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  %177 = load i32, ptr %5, align 4, !tbaa !25
  invoke void @_ZN4dali10TensorListINS_10GPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304) %176, i32 noundef %177)
          to label %178 unwind label %171

178:                                              ; preds = %175
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = load i32, ptr %6, align 4, !tbaa !25
  call void @_ZNSt10shared_ptrIN4dali10TensorListINS0_10GPUBackendEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  invoke void @_ZN4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9SetOutputEiS2_INS1_INS_10GPUBackendEEEE(ptr noundef nonnull align 8 dereferenceable(664) %179, i32 noundef %180, ptr noundef %19)
          to label %181 unwind label %182

181:                                              ; preds = %178
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %188

182:                                              ; preds = %178
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %10, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %11, align 4
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %186

186:                                              ; preds = %182, %171
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %193

187:                                              ; preds = %142
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.8, i32 noundef 280, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

188:                                              ; preds = %181
  br label %189

189:                                              ; preds = %188, %136
  br label %190

190:                                              ; preds = %189
  %191 = load i32, ptr %6, align 4, !tbaa !25
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %6, align 4, !tbaa !25
  br label %73, !llvm.loop !58

193:                                              ; preds = %186, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %305

194:                                              ; preds = %77
  %195 = getelementptr inbounds %"class.dali::exec2::OpTask", ptr %26, i32 0, i32 1
  %196 = load i8, ptr %195, align 8, !tbaa !48, !range !55, !noundef !56
  %197 = trunc i8 %196 to i1
  br i1 %197, label %304, label %198

198:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  %199 = getelementptr inbounds %"class.dali::exec2::OpTask", ptr %26, i32 0, i32 2
  %200 = load ptr, ptr %199, align 8, !tbaa !60
  %201 = getelementptr inbounds %"struct.dali::exec2::OpTask::Meta", ptr %200, i32 0, i32 0
  %202 = getelementptr inbounds %struct.anon.12, ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds %"class.dali::exec2::OpTask", ptr %26, i32 0, i32 2
  %204 = load ptr, ptr %203, align 8, !tbaa !60
  %205 = getelementptr inbounds %"struct.dali::exec2::OpTask::Meta", ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds %struct.anon.12, ptr %205, i32 0, i32 3
  %207 = load i32, ptr %206, align 8, !tbaa !61
  call void @_ZN4dali15DomainTimeRangeC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef nonnull align 8 dereferenceable(32) %202, i32 noundef %207)
  invoke void @_ZN4dali5exec26OpTask19ApplyDefaultLayoutsEv(ptr noundef nonnull align 8 dereferenceable(112) %26)
          to label %208 unwind label %229

208:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %209 = load i32, ptr %4, align 4, !tbaa !25
  %210 = sext i32 %209 to i64
  invoke void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %210)
          to label %211 unwind label %233

211:                                              ; preds = %208
  %212 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %26, i32 0, i32 1
  %213 = load ptr, ptr %212, align 8, !tbaa !9
  %214 = getelementptr inbounds %"class.dali::exec2::ExecNode", ptr %213, i32 0, i32 4
  %215 = call noundef ptr @_ZNKSt10unique_ptrIN4dali12OperatorBaseESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %214) #8
  %216 = load ptr, ptr %3, align 8, !tbaa !5
  %217 = load ptr, ptr %215, align 8, !tbaa !64
  %218 = getelementptr inbounds ptr, ptr %217, i64 2
  %219 = load ptr, ptr %218, align 8
  %220 = invoke noundef zeroext i1 %219(ptr noundef nonnull align 8 dereferenceable(400) %215, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(664) %216)
          to label %221 unwind label %233

221:                                              ; preds = %211
  br i1 %220, label %222, label %301

222:                                              ; preds = %221
  %223 = call noundef i64 @_ZNKSt6vectorIN4dali10OutputDescESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %224 = load i32, ptr %4, align 4, !tbaa !25
  %225 = sext i32 %224 to i64
  %226 = icmp eq i64 %223, %225
  br i1 %226, label %227, label %228

227:                                              ; preds = %222
  br label %238

228:                                              ; preds = %222
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.8, i32 noundef 291, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

229:                                              ; preds = %198
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %10, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %11, align 4
  br label %303

233:                                              ; preds = %211, %208
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %10, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %11, align 4
  br label %302

237:                                              ; No predecessors!
  br label %238

238:                                              ; preds = %237, %227
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !25
  br label %239

239:                                              ; preds = %296, %238
  %240 = load i32, ptr %22, align 4, !tbaa !25
  %241 = load i32, ptr %4, align 4, !tbaa !25
  %242 = icmp slt i32 %240, %241
  br i1 %242, label %244, label %243

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

244:                                              ; preds = %239
  %245 = load ptr, ptr %3, align 8, !tbaa !5
  %246 = load i32, ptr %22, align 4, !tbaa !25
  %247 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %245, i32 noundef %246)
          to label %248 unwind label %264

248:                                              ; preds = %244
  br i1 %247, label %249, label %268

249:                                              ; preds = %248
  %250 = load ptr, ptr %3, align 8, !tbaa !5
  %251 = load i32, ptr %22, align 4, !tbaa !25
  %252 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %250, i32 noundef %251)
          to label %253 unwind label %264

253:                                              ; preds = %249
  %254 = load i32, ptr %22, align 4, !tbaa !25
  %255 = sext i32 %254 to i64
  %256 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %255) #8
  %257 = getelementptr inbounds %"struct.dali::OutputDesc", ptr %256, i32 0, i32 0
  %258 = load i32, ptr %22, align 4, !tbaa !25
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %259) #8
  %261 = getelementptr inbounds %"struct.dali::OutputDesc", ptr %260, i32 0, i32 1
  %262 = load i32, ptr %261, align 8, !tbaa !66
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304) %252, ptr noundef nonnull align 8 dereferenceable(32) %257, i32 noundef %262, i32 noundef 0)
          to label %263 unwind label %264

263:                                              ; preds = %253
  br label %295

264:                                              ; preds = %268, %253, %249, %244
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %10, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %11, align 4
  br label %299

268:                                              ; preds = %248
  %269 = load ptr, ptr %3, align 8, !tbaa !5
  %270 = load i32, ptr %22, align 4, !tbaa !25
  %271 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %269, i32 noundef %270)
          to label %272 unwind label %264

272:                                              ; preds = %268
  br i1 %271, label %273, label %293

273:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %274 = load ptr, ptr %3, align 8, !tbaa !5
  %275 = load i32, ptr %22, align 4, !tbaa !25
  %276 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10GPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %274, i32 noundef %275)
          to label %277 unwind label %289

277:                                              ; preds = %273
  store ptr %276, ptr %24, align 8, !tbaa !5
  %278 = load ptr, ptr %24, align 8, !tbaa !5
  %279 = load i32, ptr %22, align 4, !tbaa !25
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %280) #8
  %282 = getelementptr inbounds %"struct.dali::OutputDesc", ptr %281, i32 0, i32 0
  %283 = load i32, ptr %22, align 4, !tbaa !25
  %284 = sext i32 %283 to i64
  %285 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %284) #8
  %286 = getelementptr inbounds %"struct.dali::OutputDesc", ptr %285, i32 0, i32 1
  %287 = load i32, ptr %286, align 8, !tbaa !66
  invoke void @_ZN4dali10TensorListINS_10GPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304) %278, ptr noundef nonnull align 8 dereferenceable(32) %282, i32 noundef %287, i32 noundef 0)
          to label %288 unwind label %289

288:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %294

289:                                              ; preds = %277, %273
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %10, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %299

293:                                              ; preds = %272
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.8, i32 noundef 299, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #9
  unreachable

294:                                              ; preds = %288
  br label %295

295:                                              ; preds = %294, %263
  br label %296

296:                                              ; preds = %295
  %297 = load i32, ptr %22, align 4, !tbaa !25
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %22, align 4, !tbaa !25
  br label %239, !llvm.loop !75

299:                                              ; preds = %289, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %302

300:                                              ; preds = %243
  br label %301

301:                                              ; preds = %300, %221
  call void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @_ZN4dali15DomainTimeRangeD2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  br label %304

302:                                              ; preds = %299, %233
  call void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  br label %303

303:                                              ; preds = %302, %229
  call void @_ZN4dali15DomainTimeRangeD2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  br label %305

304:                                              ; preds = %301, %194
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  ret void

305:                                              ; preds = %303, %193
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  br label %306

306:                                              ; preds = %305
  %307 = load ptr, ptr %10, align 8
  %308 = load i32, ptr %11, align 4
  %309 = insertvalue { ptr, i32 } poison, ptr %307, 0
  %310 = insertvalue { ptr, i32 } %309, i32 %308, 1
  resume { ptr, i32 } %310
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali5exec26OpTask10ShouldSkipEv(ptr noundef nonnull align 8 dereferenceable(112)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664)) #3 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali5exec26OpTask19ApplyDefaultLayoutsEv(ptr noundef nonnull align 8 dereferenceable(112)) #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN4dali10TensorListINS0_10CPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.152") align 8) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(46) ptr @_ZN4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EEixEl(ptr noundef nonnull align 8 dereferenceable(200), i64 noundef) #5 align 2

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

declare void @_ZN4dali10TensorListINS_10CPUBackendEE10set_pinnedEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) #6

declare void @_ZN4dali10TensorListINS_10CPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304), ptr, i32, i1 noundef zeroext) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i32 } @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12output_orderEv(ptr noundef nonnull align 8 dereferenceable(664)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9CUDA_CALLI9cudaErrorEvT_(i32 noundef) #5

declare i32 @cudaGetDevice(ptr noundef) #6

declare void @_ZN4dali10TensorListINS_10CPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304), i32 noundef) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN4dali10TensorListINS0_10GPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.158") align 8) #5

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

declare void @_ZN4dali10TensorListINS_10GPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304), ptr, i32, i1 noundef zeroext) #6

declare void @_ZN4dali10TensorListINS_10GPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304), i32 noundef) #6

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

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

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

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

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

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

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

declare void @_ZN4dali10TensorListINS_10CPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) #6

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

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

declare void @_ZN4dali10TensorListINS_10GPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) #6

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn 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, !6, i64 8}
!10 = !{!"_ZTSN4dali5exec212ExecNodeTaskE", !6, i64 0, !6, i64 8, !11, i64 16, !16, i64 48, !22, i64 56}
!11 = !{!"_ZTSN4dali5exec215WorkspaceParamsE", !6, i64 0, !12, i64 8, !15, i64 24}
!12 = !{!"_ZTSSt10shared_ptrIN4dali13IterationDataEE", !13, i64 0}
!13 = !{!"_ZTSSt12__shared_ptrIN4dali13IterationDataELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!14 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali9WorkspaceESt14default_deleteIS1_ELb1ELb1EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_implIN4dali9WorkspaceESt14default_deleteIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt5tupleIJPN4dali9WorkspaceESt14default_deleteIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali9WorkspaceESt14default_deleteIS1_EEE", !21, i64 0}
!21 = !{!"_ZTSSt10_Head_baseILm0EPN4dali9WorkspaceELb0EE", !6, i64 0}
!22 = !{!"_ZTSN4dali15CUDASharedEventE", !23, i64 0}
!23 = !{!"_ZTSSt10shared_ptrIvE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIvLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!25 = !{!15, !15, i64 0}
!26 = !{!27, !43, i64 368}
!27 = !{!"_ZTSN4dali5exec28ExecNodeE", !28, i64 0, !30, i64 72, !31, i64 272, !31, i64 288, !33, i64 304, !39, i64 312, !41, i64 336, !43, i64 368, !44, i64 372, !44, i64 373, !44, i64 374, !45, i64 376, !45, i64 392, !45, i64 408, !16, i64 424, !44, i64 432, !22, i64 440, !47, i64 456}
!28 = !{!"_ZTSN4dali11SmallVectorIPNS_5exec28ExecEdgeELm8ESaIS3_EEE", !7, i64 0, !29, i64 64}
!29 = !{!"long", !7, i64 0}
!30 = !{!"_ZTSN4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EEE", !7, i64 0, !29, i64 192}
!31 = !{!"_ZTSSt10shared_ptrIN4dali7tasking9SemaphoreEE", !32, i64 0}
!32 = !{!"_ZTSSt12__shared_ptrIN4dali7tasking9SemaphoreELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!33 = !{!"_ZTSSt10unique_ptrIN4dali12OperatorBaseESt14default_deleteIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali12OperatorBaseESt14default_deleteIS1_ELb1ELb1EE", !35, i64 0}
!35 = !{!"_ZTSSt15__uniq_ptr_implIN4dali12OperatorBaseESt14default_deleteIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt5tupleIJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !37, i64 0}
!37 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !38, i64 0}
!38 = !{!"_ZTSSt10_Head_baseILm0EPN4dali12OperatorBaseELb0EE", !6, i64 0}
!39 = !{!"_ZTSN4dali5exec27ExecEnvE", !6, i64 0, !40, i64 8}
!40 = !{!"_ZTSN4dali11AccessOrderE", !6, i64 0, !15, i64 8}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !42, i64 0, !29, i64 8, !7, i64 16}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!43 = !{!"_ZTSN4dali6OpTypeE", !7, i64 0}
!44 = !{!"bool", !7, i64 0}
!45 = !{!"_ZTSSt10shared_ptrIN4dali7tasking4TaskEE", !46, i64 0}
!46 = !{!"_ZTSSt12__shared_ptrIN4dali7tasking4TaskELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!47 = !{!"_ZTSSt3any", !6, i64 0, !7, i64 8}
!48 = !{!49, !44, i64 72}
!49 = !{!"_ZTSN4dali5exec26OpTaskE", !10, i64 0, !44, i64 72, !6, i64 80, !50, i64 88}
!50 = !{!"_ZTSN4dali11SmallVectorIiLm4ESaIiEEE", !7, i64 0, !29, i64 16}
!51 = !{!52, !44, i64 44}
!52 = !{!"_ZTSN4dali5exec214ExecOutputDescE", !53, i64 0, !54, i64 40, !44, i64 44, !44, i64 45}
!53 = !{!"_ZTSN4dali11SmallVectorIPNS_5exec28ExecEdgeELm4ESaIS3_EEE", !7, i64 0, !29, i64 32}
!54 = !{!"_ZTSN4dali13StorageDeviceE", !7, i64 0}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = !{!44, !44, i64 0}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}
!60 = !{!49, !6, i64 80}
!61 = !{!62, !15, i64 96}
!62 = !{!"_ZTSN4dali5exec26OpTask4MetaE", !63, i64 0}
!63 = !{!"_ZTSN4dali5exec26OpTask4MetaUt_E", !41, i64 0, !41, i64 32, !41, i64 64, !15, i64 96}
!64 = !{!65, !65, i64 0}
!65 = !{!"vtable pointer", !8, i64 0}
!66 = !{!67, !74, i64 32}
!67 = !{!"_ZTSN4dali10OutputDescE", !68, i64 0, !74, i64 32}
!68 = !{!"_ZTSN4dali15TensorListShapeILin1EEE", !69, i64 0, !15, i64 28}
!69 = !{!"_ZTSN4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EEE", !70, i64 0, !15, i64 24}
!70 = !{!"_ZTSSt6vectorIlSaIlEE", !71, i64 0}
!71 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!74 = !{!"_ZTS13_DALIDataType", !7, i64 0}
!75 = distinct !{!75, !59}


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

%"class.std::shared_ptr.152" = type { %"class.std::__shared_ptr.153" }
%"class.std::__shared_ptr.153" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.158" = type { %"class.std::__shared_ptr.159" }
%"class.std::__shared_ptr.159" = type { ptr, %"class.std::__shared_count" }
%"struct.dali::DomainTimeRange" = type { i8 }
%"class.std::vector.161" = type { %"struct.std::_Vector_base.162" }
%"struct.std::_Vector_base.162" = type { %"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<dali::OutputDesc, std::allocator<dali::OutputDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv = external hidden unnamed_addr constant [36 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali5exec26OpTask7SetupOpEv(ptr noundef nonnull align 8 dereferenceable(112) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::shared_ptr.152", align 8
  %4 = alloca %"class.std::shared_ptr.152", align 8
  %5 = alloca %"class.std::shared_ptr.158", align 8
  %6 = alloca %"class.std::shared_ptr.158", align 8
  %7 = alloca %"struct.dali::DomainTimeRange", align 1
  %8 = alloca %"class.std::vector.161", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  %10 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 72
  %14 = tail call noundef i64 @_ZNK4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(200) %13)
  %15 = trunc i64 %14 to i32
  %16 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664) %10)
  %17 = icmp eq i32 %16, %15
  br i1 %17, label %19, label %18

18:                                               ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.8, i32 noundef 249, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

19:                                               ; preds = %1
  %20 = tail call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE10has_streamEv(ptr noundef nonnull align 8 dereferenceable(664) %10)
  br i1 %20, label %.critedge, label %21

21:                                               ; preds = %19
  %22 = load ptr, ptr %11, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 368
  %24 = load i32, ptr %23, align 8, !tbaa !24
  %25 = icmp eq i32 %24, 1
  br i1 %25, label %.critedge, label %26

26:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.8, i32 noundef 251, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

.critedge:                                        ; preds = %19, %21
  %27 = tail call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9has_eventEv(ptr noundef nonnull align 8 dereferenceable(664) %10)
  br i1 %27, label %.critedge2, label %28

28:                                               ; preds = %.critedge
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 368
  %31 = load i32, ptr %30, align 8, !tbaa !24
  %32 = icmp eq i32 %31, 1
  br i1 %32, label %.critedge2, label %33

33:                                               ; preds = %28
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.8, i32 noundef 252, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

.critedge2:                                       ; preds = %.critedge, %28
  %34 = tail call noundef zeroext i1 @_ZNK4dali5exec26OpTask10ShouldSkipEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  %36 = zext i1 %34 to i8
  store i8 %36, ptr %35, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  store i32 -1, ptr %2, align 4, !tbaa !49
  %37 = icmp sgt i32 %15, 0
  br i1 %37, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.critedge2
  %wide.trip.count = and i64 %14, 2147483647
  br label %.lr.ph

._crit_edge.loopexit:                             ; preds = %100
  %.pre = load i8, ptr %35, align 8, !tbaa !46, !range !50
  %38 = trunc nuw i8 %.pre to i1
  br i1 %38, label %154, label %101

._crit_edge:                                      ; preds = %.critedge2
  br i1 %34, label %154, label %101

.lr.ph:                                           ; preds = %.lr.ph.preheader, %100
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %100 ]
  %39 = trunc nuw nsw i64 %indvars.iv to i32
  %40 = call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %39)
  br i1 %40, label %41, label %74

41:                                               ; preds = %.lr.ph
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9OutputPtrINS_10CPUBackendEEERKS2_INS1_IT_EEEiS6_(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %39)
  %43 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %42) #7
  br i1 %43, label %44, label %45

44:                                               ; preds = %41
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.8, i32 noundef 260, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

45:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZSt11make_sharedIN4dali10TensorListINS0_10CPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.152") align 8 %3)
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 72
  %48 = invoke noundef nonnull align 8 dereferenceable(46) ptr @_ZN4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EEixEl(ptr noundef nonnull align 8 dereferenceable(200) %47, i64 noundef %indvars.iv)
          to label %49 unwind label %64

49:                                               ; preds = %45
  %50 = getelementptr inbounds i8, ptr %48, i64 44
  %51 = load i8, ptr %50, align 4, !tbaa !51, !range !50, !noundef !55
  %52 = trunc nuw i8 %51 to i1
  %53 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE10set_pinnedEb(ptr noundef nonnull align 8 dereferenceable(304) %53, i1 noundef zeroext %52)
          to label %54 unwind label %64

54:                                               ; preds = %49
  br i1 %52, label %55, label %69

55:                                               ; preds = %54
  %56 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %57 = call { ptr, i32 } @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12output_orderEv(ptr noundef nonnull align 8 dereferenceable(664) %10)
  %.fca.0.extract14 = extractvalue { ptr, i32 } %57, 0
  %.fca.1.extract15 = extractvalue { ptr, i32 } %57, 1
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304) %56, ptr %.fca.0.extract14, i32 %.fca.1.extract15, i1 noundef zeroext false)
          to label %58 unwind label %64

58:                                               ; preds = %55
  %59 = load i32, ptr %2, align 4, !tbaa !49
  %60 = icmp slt i32 %59, 0
  br i1 %60, label %61, label %66

61:                                               ; preds = %58
  %62 = invoke i32 @cudaGetDevice(ptr noundef nonnull %2)
          to label %63 unwind label %64

63:                                               ; preds = %61
  invoke void @_Z9CUDA_CALLI9cudaErrorEvT_(i32 noundef %62)
          to label %66 unwind label %64

64:                                               ; preds = %66, %63, %61, %55, %49, %45
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %73

66:                                               ; preds = %63, %58
  %67 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  %68 = load i32, ptr %2, align 4, !tbaa !49
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304) %67, i32 noundef %68)
          to label %69 unwind label %64

69:                                               ; preds = %66, %54
  call void @_ZNSt10shared_ptrIN4dali10TensorListINS0_10CPUBackendEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  invoke void @_ZN4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9SetOutputEiS2_INS1_INS_10CPUBackendEEEE(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %39, ptr noundef nonnull %4)
          to label %70 unwind label %71

70:                                               ; preds = %69
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %100

71:                                               ; preds = %69
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %73

73:                                               ; preds = %71, %64
  %.pn70 = phi { ptr, i32 } [ %72, %71 ], [ %65, %64 ]
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %155

74:                                               ; preds = %.lr.ph
  %75 = call noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %39)
  br i1 %75, label %76, label %99

76:                                               ; preds = %74
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9OutputPtrINS_10GPUBackendEEERKS2_INS1_IT_EEEiS6_(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %39)
  %78 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %77) #7
  br i1 %78, label %79, label %80

79:                                               ; preds = %76
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.8, i32 noundef 272, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

80:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZSt11make_sharedIN4dali10TensorListINS0_10GPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.158") align 8 %5)
  %81 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  %82 = call { ptr, i32 } @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12output_orderEv(ptr noundef nonnull align 8 dereferenceable(664) %10)
  %.fca.0.extract = extractvalue { ptr, i32 } %82, 0
  %.fca.1.extract = extractvalue { ptr, i32 } %82, 1
  invoke void @_ZN4dali10TensorListINS_10GPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304) %81, ptr %.fca.0.extract, i32 %.fca.1.extract, i1 noundef zeroext false)
          to label %83 unwind label %89

83:                                               ; preds = %80
  %84 = load i32, ptr %2, align 4, !tbaa !49
  %85 = icmp slt i32 %84, 0
  br i1 %85, label %86, label %91

86:                                               ; preds = %83
  %87 = invoke i32 @cudaGetDevice(ptr noundef nonnull %2)
          to label %88 unwind label %89

88:                                               ; preds = %86
  invoke void @_Z9CUDA_CALLI9cudaErrorEvT_(i32 noundef %87)
          to label %91 unwind label %89

89:                                               ; preds = %91, %88, %86, %80
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %98

91:                                               ; preds = %88, %83
  %92 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  %93 = load i32, ptr %2, align 4, !tbaa !49
  invoke void @_ZN4dali10TensorListINS_10GPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304) %92, i32 noundef %93)
          to label %94 unwind label %89

94:                                               ; preds = %91
  call void @_ZNSt10shared_ptrIN4dali10TensorListINS0_10GPUBackendEEEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  invoke void @_ZN4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9SetOutputEiS2_INS1_INS_10GPUBackendEEEE(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %39, ptr noundef nonnull %6)
          to label %95 unwind label %96

95:                                               ; preds = %94
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %100

96:                                               ; preds = %94
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %98

98:                                               ; preds = %96, %89
  %.pn68 = phi { ptr, i32 } [ %97, %96 ], [ %90, %89 ]
  call void @_ZNSt12__shared_ptrIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %155

99:                                               ; preds = %74
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.8, i32 noundef 280, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

100:                                              ; preds = %70, %95
  %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.loopexit, label %.lr.ph, !llvm.loop !56

101:                                              ; preds = %._crit_edge.loopexit, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  %102 = getelementptr inbounds i8, ptr %0, i64 80
  %103 = load ptr, ptr %102, align 8, !tbaa !58
  %104 = getelementptr inbounds i8, ptr %103, i64 32
  %105 = getelementptr inbounds i8, ptr %103, i64 96
  %106 = load i32, ptr %105, align 8, !tbaa !59
  call void @_ZN4dali15DomainTimeRangeC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 8 dereferenceable(32) %104, i32 noundef %106)
  invoke void @_ZN4dali5exec26OpTask19ApplyDefaultLayoutsEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
          to label %107 unwind label %122

107:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %sext = shl i64 %14, 32
  %108 = ashr exact i64 %sext, 32
  invoke void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %108)
          to label %109 unwind label %124

109:                                              ; preds = %107
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 304
  %112 = call noundef ptr @_ZNKSt10unique_ptrIN4dali12OperatorBaseESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %111) #7
  %113 = load ptr, ptr %112, align 8, !tbaa !62
  %114 = getelementptr inbounds i8, ptr %113, i64 16
  %115 = load ptr, ptr %114, align 8
  %116 = invoke noundef zeroext i1 %115(ptr noundef nonnull align 8 dereferenceable(400) %112, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(664) %10)
          to label %117 unwind label %124

117:                                              ; preds = %109
  br i1 %116, label %118, label %.loopexit

118:                                              ; preds = %117
  %119 = call noundef i64 @_ZNKSt6vectorIN4dali10OutputDescESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %120 = icmp eq i64 %119, %108
  br i1 %120, label %.preheader, label %121

.preheader:                                       ; preds = %118
  br i1 %37, label %.lr.ph76.preheader, label %.loopexit

.lr.ph76.preheader:                               ; preds = %.preheader
  %wide.trip.count81 = and i64 %14, 2147483647
  br label %.lr.ph76

121:                                              ; preds = %118
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.8, i32 noundef 291, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

122:                                              ; preds = %101
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %153

124:                                              ; preds = %109, %107
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %152

.lr.ph76:                                         ; preds = %.lr.ph76.preheader, %151
  %indvars.iv78 = phi i64 [ 0, %.lr.ph76.preheader ], [ %indvars.iv.next79, %151 ]
  %126 = trunc nuw nsw i64 %indvars.iv78 to i32
  %127 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %126)
          to label %128 unwind label %136

128:                                              ; preds = %.lr.ph76
  br i1 %127, label %129, label %138

129:                                              ; preds = %128
  %130 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10CPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %126)
          to label %131 unwind label %136

131:                                              ; preds = %129
  %132 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv78) #7
  %133 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv78) #7
  %134 = getelementptr inbounds i8, ptr %133, i64 32
  %135 = load i32, ptr %134, align 8, !tbaa !64
  invoke void @_ZN4dali10TensorListINS_10CPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304) %130, ptr noundef nonnull align 8 dereferenceable(32) %132, i32 noundef %135, i32 noundef 0)
          to label %151 unwind label %136

136:                                              ; preds = %138, %131, %129, %.lr.ph76
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %152

138:                                              ; preds = %128
  %139 = invoke noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %126)
          to label %140 unwind label %136

140:                                              ; preds = %138
  br i1 %139, label %141, label %150

141:                                              ; preds = %140
  %142 = invoke noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE6OutputINS_10GPUBackendEEERDaiT_(ptr noundef nonnull align 8 dereferenceable(664) %10, i32 noundef %126)
          to label %143 unwind label %148

143:                                              ; preds = %141
  %144 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv78) #7
  %145 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN4dali10OutputDescESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv78) #7
  %146 = getelementptr inbounds i8, ptr %145, i64 32
  %147 = load i32, ptr %146, align 8, !tbaa !64
  invoke void @_ZN4dali10TensorListINS_10GPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304) %142, ptr noundef nonnull align 8 dereferenceable(32) %144, i32 noundef %147, i32 noundef 0)
          to label %151 unwind label %148

148:                                              ; preds = %143, %141
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %152

150:                                              ; preds = %140
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.8, i32 noundef 299, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5exec26OpTask7SetupOpEv) #8
  unreachable

151:                                              ; preds = %143, %131
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %exitcond82.not = icmp eq i64 %indvars.iv.next79, %wide.trip.count81
  br i1 %exitcond82.not, label %.loopexit, label %.lr.ph76, !llvm.loop !73

.loopexit:                                        ; preds = %151, %.preheader, %117
  call void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN4dali15DomainTimeRangeD2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %154

152:                                              ; preds = %136, %148, %124
  %.pn.pn = phi { ptr, i32 } [ %125, %124 ], [ %137, %136 ], [ %149, %148 ]
  call void @_ZNSt6vectorIN4dali10OutputDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  br label %153

153:                                              ; preds = %152, %122
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %152 ], [ %123, %122 ]
  call void @_ZN4dali15DomainTimeRangeD2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %155

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

155:                                              ; preds = %73, %98, %153
  %.pn70.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %153 ], [ %.pn70, %73 ], [ %.pn68, %98 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn70.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali5exec26OpTask10ShouldSkipEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #3 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali5exec26OpTask19ApplyDefaultLayoutsEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10CPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN4dali10TensorListINS0_10CPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.152") align 8) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(46) ptr @_ZN4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EEixEl(ptr noundef nonnull align 8 dereferenceable(200), i64 noundef) local_unnamed_addr #5 align 2

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

declare void @_ZN4dali10TensorListINS_10CPUBackendEE10set_pinnedEb(ptr noundef nonnull align 8 dereferenceable(304), i1 noundef zeroext) local_unnamed_addr #6

declare void @_ZN4dali10TensorListINS_10CPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304), ptr, i32, i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i32 } @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12output_orderEv(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9CUDA_CALLI9cudaErrorEvT_(i32 noundef) local_unnamed_addr #5

declare i32 @cudaGetDevice(ptr noundef) local_unnamed_addr #6

declare void @_ZN4dali10TensorListINS_10CPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304), i32 noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE12OutputIsTypeINS_10GPUBackendEEEbi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN4dali10TensorListINS0_10GPUBackendEEEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.158") align 8) local_unnamed_addr #5

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

declare void @_ZN4dali10TensorListINS_10GPUBackendEE9set_orderENS_11AccessOrderEb(ptr noundef nonnull align 8 dereferenceable(304), ptr, i32, i1 noundef zeroext) local_unnamed_addr #6

declare void @_ZN4dali10TensorListINS_10GPUBackendEE13set_device_idEi(ptr noundef nonnull align 8 dereferenceable(304), i32 noundef) local_unnamed_addr #6

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

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

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

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

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

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

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

declare void @_ZN4dali10TensorListINS_10CPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) local_unnamed_addr #6

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

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

declare void @_ZN4dali10TensorListINS_10GPUBackendEE6ResizeERKNS_15TensorListShapeILin1EEE13_DALIDataTypeNS_15BatchContiguityE(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) local_unnamed_addr #6

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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, !7, i64 8}
!6 = !{!"_ZTSN4dali5exec212ExecNodeTaskE", !7, i64 0, !7, i64 8, !10, i64 16, !15, i64 48, !21, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4dali5exec215WorkspaceParamsE", !7, i64 0, !11, i64 8, !14, i64 24}
!11 = !{!"_ZTSSt10shared_ptrIN4dali13IterationDataEE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIN4dali13IterationDataELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!"_ZTSSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali9WorkspaceESt14default_deleteIS1_ELb1ELb1EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_implIN4dali9WorkspaceESt14default_deleteIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt5tupleIJPN4dali9WorkspaceESt14default_deleteIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali9WorkspaceESt14default_deleteIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSSt10_Head_baseILm0EPN4dali9WorkspaceELb0EE", !7, i64 0}
!21 = !{!"_ZTSN4dali15CUDASharedEventE", !22, i64 0}
!22 = !{!"_ZTSSt10shared_ptrIvE", !23, i64 0}
!23 = !{!"_ZTSSt12__shared_ptrIvLN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !13, i64 8}
!24 = !{!25, !41, i64 368}
!25 = !{!"_ZTSN4dali5exec28ExecNodeE", !26, i64 0, !28, i64 72, !29, i64 272, !29, i64 288, !31, i64 304, !37, i64 312, !39, i64 336, !41, i64 368, !42, i64 372, !42, i64 373, !42, i64 374, !43, i64 376, !43, i64 392, !43, i64 408, !15, i64 424, !42, i64 432, !21, i64 440, !45, i64 456}
!26 = !{!"_ZTSN4dali11SmallVectorIPNS_5exec28ExecEdgeELm8ESaIS3_EEE", !8, i64 0, !27, i64 64}
!27 = !{!"long", !8, i64 0}
!28 = !{!"_ZTSN4dali11SmallVectorINS_5exec214ExecOutputDescELm4ESaIS2_EEE", !8, i64 0, !27, i64 192}
!29 = !{!"_ZTSSt10shared_ptrIN4dali7tasking9SemaphoreEE", !30, i64 0}
!30 = !{!"_ZTSSt12__shared_ptrIN4dali7tasking9SemaphoreELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !13, i64 8}
!31 = !{!"_ZTSSt10unique_ptrIN4dali12OperatorBaseESt14default_deleteIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_dataIN4dali12OperatorBaseESt14default_deleteIS1_ELb1ELb1EE", !33, i64 0}
!33 = !{!"_ZTSSt15__uniq_ptr_implIN4dali12OperatorBaseESt14default_deleteIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt5tupleIJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !35, i64 0}
!35 = !{!"_ZTSSt11_Tuple_implILm0EJPN4dali12OperatorBaseESt14default_deleteIS1_EEE", !36, i64 0}
!36 = !{!"_ZTSSt10_Head_baseILm0EPN4dali12OperatorBaseELb0EE", !7, i64 0}
!37 = !{!"_ZTSN4dali5exec27ExecEnvE", !7, i64 0, !38, i64 8}
!38 = !{!"_ZTSN4dali11AccessOrderE", !7, i64 0, !14, i64 8}
!39 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !40, i64 0, !27, i64 8, !8, i64 16}
!40 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!41 = !{!"_ZTSN4dali6OpTypeE", !8, i64 0}
!42 = !{!"bool", !8, i64 0}
!43 = !{!"_ZTSSt10shared_ptrIN4dali7tasking4TaskEE", !44, i64 0}
!44 = !{!"_ZTSSt12__shared_ptrIN4dali7tasking4TaskELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !13, i64 8}
!45 = !{!"_ZTSSt3any", !7, i64 0, !8, i64 8}
!46 = !{!47, !42, i64 72}
!47 = !{!"_ZTSN4dali5exec26OpTaskE", !6, i64 0, !42, i64 72, !7, i64 80, !48, i64 88}
!48 = !{!"_ZTSN4dali11SmallVectorIiLm4ESaIiEEE", !8, i64 0, !27, i64 16}
!49 = !{!14, !14, i64 0}
!50 = !{i8 0, i8 2}
!51 = !{!52, !42, i64 44}
!52 = !{!"_ZTSN4dali5exec214ExecOutputDescE", !53, i64 0, !54, i64 40, !42, i64 44, !42, i64 45}
!53 = !{!"_ZTSN4dali11SmallVectorIPNS_5exec28ExecEdgeELm4ESaIS3_EEE", !8, i64 0, !27, i64 32}
!54 = !{!"_ZTSN4dali13StorageDeviceE", !8, i64 0}
!55 = !{}
!56 = distinct !{!56, !57}
!57 = !{!"llvm.loop.mustprogress"}
!58 = !{!47, !7, i64 80}
!59 = !{!60, !14, i64 96}
!60 = !{!"_ZTSN4dali5exec26OpTask4MetaE", !61, i64 0}
!61 = !{!"_ZTSN4dali5exec26OpTask4MetaUt_E", !39, i64 0, !39, i64 32, !39, i64 64, !14, i64 96}
!62 = !{!63, !63, i64 0}
!63 = !{!"vtable pointer", !9, i64 0}
!64 = !{!65, !72, i64 32}
!65 = !{!"_ZTSN4dali10OutputDescE", !66, i64 0, !72, i64 32}
!66 = !{!"_ZTSN4dali15TensorListShapeILin1EEE", !67, i64 0, !14, i64 28}
!67 = !{!"_ZTSN4dali19TensorListShapeBaseINS_15TensorListShapeILin1EEELin1EEE", !68, i64 0, !14, i64 24}
!68 = !{!"_ZTSSt6vectorIlSaIlEE", !69, i64 0}
!69 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !71, i64 0}
!71 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!72 = !{!"_ZTS13_DALIDataType", !8, i64 0}
!73 = distinct !{!73, !57}


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