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

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

%"class.std::optional.252" = type { %"struct.std::_Optional_base.253" }
%"struct.std::_Optional_base.253" = type { %"struct.std::_Optional_payload.255" }
%"struct.std::_Optional_payload.255" = type { %"struct.std::_Optional_payload_base.base.257", [7 x i8] }
%"struct.std::_Optional_payload_base.base.257" = type <{ %"union.std::_Optional_payload_base<std::basic_string_view<char>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::basic_string_view<char>>::_Storage" = type { %"class.std::basic_string_view" }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.dali::AccessOrder" = type <{ ptr, i32, [4 x i8] }>
%struct._DALIBufferPlacement = type { i32, i32, i8 }

@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE = external hidden unnamed_addr constant [152 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [39 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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 %1, ptr %2, ptr noundef %3, ptr noundef byval(%"class.std::optional.252") align 8 %4, i32 noundef %5, ptr noundef byval(%"class.dali::AccessOrder") align 8 %6) #2 align 2 {
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %struct._DALIBufferPlacement, align 4
  %13 = alloca { i64, i8 }, align 8
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca %"class.std::optional.252", align 8
  %16 = alloca %"class.dali::AccessOrder", align 8
  %17 = alloca %struct._DALIBufferPlacement, align 4
  %18 = alloca { i64, i8 }, align 8
  %19 = alloca %"class.std::basic_string_view", align 8
  %20 = alloca %"class.std::optional.252", align 8
  %21 = alloca %"class.dali::AccessOrder", align 8
  %22 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 0
  store i64 %1, ptr %22, align 8
  %23 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 1
  store ptr %2, ptr %23, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %5, ptr %11, align 4, !tbaa !9
  %24 = load ptr, ptr %9, align 8
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %28

27:                                               ; preds = %7
  br label %30

28:                                               ; preds = %7
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.14, i32 noundef 176, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE) #5
  unreachable

29:                                               ; No predecessors!
  br label %30

30:                                               ; preds = %29, %27
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #6
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = getelementptr inbounds ptr, ptr %32, i64 5
  %34 = load ptr, ptr %33, align 8
  %35 = call { i64, i8 } %34(ptr noundef nonnull align 8 dereferenceable(12) %31)
  store { i64, i8 } %35, ptr %13, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 8 %13, i64 12, i1 false)
  %36 = getelementptr inbounds %struct._DALIBufferPlacement, ptr %12, i32 0, i32 0
  %37 = load i32, ptr %36, align 4, !tbaa !13
  %38 = icmp eq i32 %37, 0
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  br i1 %38, label %39, label %48

39:                                               ; preds = %30
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !18
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKR4dali5c_api11ITensorList6UnwrapINS_10CPUBackendEEERKSt10shared_ptrINS_10TensorListIT_EEEv(ptr noundef nonnull align 8 dereferenceable(12) %40)
  %42 = call noundef nonnull align 8 dereferenceable(304) ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %41) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %4, i64 24, i1 false)
  %43 = load i32, ptr %11, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !21
  %44 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 0
  %45 = load i64, ptr %44, align 8
  %46 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8
  call void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10CPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32) %24, i64 %45, ptr %47, ptr noundef nonnull align 8 dereferenceable(304) %42, ptr noundef byval(%"class.std::optional.252") align 8 %15, i32 noundef %43, ptr noundef byval(%"class.dali::AccessOrder") align 8 %16)
  br label %68

48:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #6
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load ptr, ptr %49, align 8, !tbaa !11
  %51 = getelementptr inbounds ptr, ptr %50, i64 5
  %52 = load ptr, ptr %51, align 8
  %53 = call { i64, i8 } %52(ptr noundef nonnull align 8 dereferenceable(12) %49)
  store { i64, i8 } %53, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %18, i64 12, i1 false)
  %54 = getelementptr inbounds %struct._DALIBufferPlacement, ptr %17, i32 0, i32 0
  %55 = load i32, ptr %54, align 4, !tbaa !13
  %56 = icmp eq i32 %55, 1
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #6
  br i1 %56, label %57, label %66

57:                                               ; preds = %48
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !18
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKR4dali5c_api11ITensorList6UnwrapINS_10GPUBackendEEERKSt10shared_ptrINS_10TensorListIT_EEEv(ptr noundef nonnull align 8 dereferenceable(12) %58)
  %60 = call noundef nonnull align 8 dereferenceable(304) ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %59) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %4, i64 24, i1 false)
  %61 = load i32, ptr %11, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !21
  %62 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 0
  %63 = load i64, ptr %62, align 8
  %64 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8
  call void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10GPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32) %24, i64 %63, ptr %65, ptr noundef nonnull align 8 dereferenceable(304) %60, ptr noundef byval(%"class.std::optional.252") align 8 %20, i32 noundef %61, ptr noundef byval(%"class.dali::AccessOrder") align 8 %21)
  br label %67

66:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.14, i32 noundef 192, ptr noundef @__PRETTY_FUNCTION__._ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE) #5
  unreachable

67:                                               ; preds = %57
  br label %68

68:                                               ; preds = %67, %39
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10CPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32), i64, ptr, ptr noundef nonnull align 8 dereferenceable(304), ptr noundef byval(%"class.std::optional.252") align 8, i32 noundef, ptr noundef byval(%"class.dali::AccessOrder") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKR4dali5c_api11ITensorList6UnwrapINS_10CPUBackendEEERKSt10shared_ptrINS_10TensorListIT_EEEv(ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10GPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32), i64, ptr, ptr noundef nonnull align 8 dereferenceable(304), ptr noundef byval(%"class.std::optional.252") align 8, i32 noundef, ptr noundef byval(%"class.dali::AccessOrder") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKR4dali5c_api11ITensorList6UnwrapINS_10GPUBackendEEERKSt10shared_ptrINS_10TensorListIT_EEEv(ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS19_DALIFeedInputFlags", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS20_DALIBufferPlacement", !15, i64 0, !16, i64 4, !17, i64 8}
!15 = !{!"_ZTS19daliStorageDevice_t", !7, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i64 0, i64 8, !19, i64 8, i64 8, !5}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{i64 0, i64 8, !5, i64 8, i64 4, !22}
!22 = !{!16, !16, i64 0}


; 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::optional.252" = type { %"struct.std::_Optional_base.253" }
%"struct.std::_Optional_base.253" = type { %"struct.std::_Optional_payload.255" }
%"struct.std::_Optional_payload.255" = type { %"struct.std::_Optional_payload_base.base.257", [7 x i8] }
%"struct.std::_Optional_payload_base.base.257" = type <{ %"union.std::_Optional_payload_base<std::basic_string_view<char>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::basic_string_view<char>>::_Storage" = type { %"class.std::basic_string_view" }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.dali::AccessOrder" = type <{ ptr, i32, [4 x i8] }>

@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE = external hidden unnamed_addr constant [152 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 %1, ptr %2, ptr noundef %3, ptr nocapture noundef readonly byval(%"class.std::optional.252") align 8 %4, i32 noundef %5, ptr nocapture noundef readonly byval(%"class.dali::AccessOrder") align 8 %6) local_unnamed_addr #0 align 2 {
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, i32 noundef 176, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE) #3
  unreachable

9:                                                ; preds = %7
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 40
  %12 = load ptr, ptr %11, align 8
  %13 = tail call { i64, i8 } %12(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %.fca.0.extract6 = extractvalue { i64, i8 } %13, 0
  %14 = and i64 %.fca.0.extract6, 4294967295
  %15 = icmp eq i64 %14, 0
  br i1 %15, label %16, label %19

16:                                               ; preds = %9
  %17 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKR4dali5c_api11ITensorList6UnwrapINS_10CPUBackendEEERKSt10shared_ptrINS_10TensorListIT_EEEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %18 = tail call noundef nonnull align 8 dereferenceable(304) ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10CPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  tail call void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10CPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 %1, ptr %2, ptr noundef nonnull align 8 dereferenceable(304) %18, ptr noundef nonnull byval(%"class.std::optional.252") align 8 %4, i32 noundef %5, ptr noundef nonnull byval(%"class.dali::AccessOrder") align 8 %6)
  br label %30

19:                                               ; preds = %9
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 40
  %22 = load ptr, ptr %21, align 8
  %23 = tail call { i64, i8 } %22(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %.fca.0.extract = extractvalue { i64, i8 } %23, 0
  %24 = and i64 %.fca.0.extract, 4294967295
  %25 = icmp eq i64 %24, 1
  br i1 %25, label %26, label %29

26:                                               ; preds = %19
  %27 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKR4dali5c_api11ITensorList6UnwrapINS_10GPUBackendEEERKSt10shared_ptrINS_10TensorListIT_EEEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %28 = tail call noundef nonnull align 8 dereferenceable(304) ptr @_ZNKSt19__shared_ptr_accessIN4dali10TensorListINS0_10GPUBackendEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %27) #4
  tail call void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10GPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 %1, ptr %2, ptr noundef nonnull align 8 dereferenceable(304) %28, ptr noundef nonnull byval(%"class.std::optional.252") align 8 %4, i32 noundef %5, ptr noundef nonnull byval(%"class.dali::AccessOrder") align 8 %6)
  br label %30

29:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.14, i32 noundef 192, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali5c_api15PipelineWrapper9FeedInputESt17basic_string_viewIcSt11char_traitsIcEEPKNS0_11ITensorListESt8optionalIS5_E19_DALIFeedInputFlagsNS_11AccessOrderE) #3
  unreachable

30:                                               ; preds = %26, %16
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10CPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32), i64, ptr, ptr noundef nonnull align 8 dereferenceable(304), ptr noundef byval(%"class.std::optional.252") align 8, i32 noundef, ptr noundef byval(%"class.dali::AccessOrder") align 8) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali5c_api15PipelineWrapper13FeedInputImplINS_10GPUBackendEEEvSt17basic_string_viewIcSt11char_traitsIcEERKNS_10TensorListIT_EESt8optionalIS7_E19_DALIFeedInputFlagsNS_11AccessOrderE(ptr noundef nonnull align 8 dereferenceable(32), i64, ptr, ptr noundef nonnull align 8 dereferenceable(304), ptr noundef byval(%"class.std::optional.252") align 8, i32 noundef, ptr noundef byval(%"class.dali::AccessOrder") align 8) local_unnamed_addr #0 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #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 = { noreturn nounwind }
attributes #4 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass