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

; 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::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::__shared_count" = type { ptr }
%"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" }

; 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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4dali5exec26OpTask10ShouldSkipEv(ptr noundef nonnull align 8 dereferenceable(112) %0) #1 align 2 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %11 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %10, i32 0, i32 3
  %12 = call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  %13 = call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE8NumInputEv(ptr noundef nonnull align 8 dereferenceable(664) %12)
  store i32 %13, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %14 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %10, i32 0, i32 3
  %15 = call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  %16 = call noundef i32 @_ZNK4dali17ArgumentWorkspace16NumArgumentInputEv(ptr noundef nonnull align 8 dereferenceable(256) %15)
  store i32 %16, ptr %5, align 4, !tbaa !9
  %17 = load i32, ptr %4, align 4, !tbaa !9
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %22, label %19

19:                                               ; preds = %1
  %20 = load i32, ptr %5, align 4, !tbaa !9
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %62

22:                                               ; preds = %19, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %36, %22
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = load i32, ptr %4, align 4, !tbaa !9
  %26 = icmp slt i32 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  store i32 2, ptr %7, align 4
  br label %39

28:                                               ; preds = %23
  %29 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %10, i32 0, i32 3
  %30 = call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #4
  %31 = load i32, ptr %6, align 4, !tbaa !9
  %32 = call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE17GetInputBatchSizeEi(ptr noundef nonnull align 8 dereferenceable(664) %30, i32 noundef %31)
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %28
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %39

35:                                               ; preds = %28
  br label %36

36:                                               ; preds = %35
  %37 = load i32, ptr %6, align 4, !tbaa !9
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %6, align 4, !tbaa !9
  br label %23, !llvm.loop !11

39:                                               ; preds = %34, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %40 = load i32, ptr %7, align 4
  switch i32 %40, label %84 [
    i32 2, label %41
  ]

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %56, %41
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = load i32, ptr %5, align 4, !tbaa !9
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %42
  store i32 5, ptr %7, align 4
  br label %59

47:                                               ; preds = %42
  %48 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %10, i32 0, i32 3
  %49 = call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #4
  %50 = load i32, ptr %8, align 4, !tbaa !9
  %51 = call noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali17ArgumentWorkspace13ArgumentInputEi(ptr noundef nonnull align 8 dereferenceable(256) %49, i32 noundef %50)
  %52 = call noundef i32 @_ZNK4dali10TensorListINS_10CPUBackendEE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(304) %51) #4
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %47
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %59

55:                                               ; preds = %47
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr %8, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %8, align 4, !tbaa !9
  br label %42, !llvm.loop !13

59:                                               ; preds = %54, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %60 = load i32, ptr %7, align 4
  switch i32 %60, label %84 [
    i32 5, label %61
  ]

61:                                               ; preds = %59
  store i1 true, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %84

62:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %78, %62
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %10, i32 0, i32 3
  %66 = call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %65) #4
  %67 = call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664) %66)
  %68 = icmp slt i32 %64, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %63
  store i32 8, ptr %7, align 4
  br label %81

70:                                               ; preds = %63
  %71 = getelementptr inbounds %"class.dali::exec2::ExecNodeTask", ptr %10, i32 0, i32 3
  %72 = call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #4
  %73 = load i32, ptr %9, align 4, !tbaa !9
  %74 = call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE21GetRequestedBatchSizeEi(ptr noundef nonnull align 8 dereferenceable(664) %72, i32 noundef %73)
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %70
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %81

77:                                               ; preds = %70
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %9, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %9, align 4, !tbaa !9
  br label %63, !llvm.loop !14

81:                                               ; preds = %76, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %82 = load i32, ptr %7, align 4
  switch i32 %82, label %84 [
    i32 8, label %83
  ]

83:                                               ; preds = %81
  store i1 true, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %84

84:                                               ; preds = %83, %81, %61, %59, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %85 = load i1, ptr %2, align 1
  ret i1 %85
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4dali10TensorListINS_10CPUBackendEE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(304)) #2 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: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE21GetRequestedBatchSizeEi(ptr noundef nonnull align 8 dereferenceable(664), i32 noundef) #1 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4dali5exec26OpTask10ShouldSkipEv(ptr noundef nonnull align 8 dereferenceable(112) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 48
  %3 = tail call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %4 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE8NumInputEv(ptr noundef nonnull align 8 dereferenceable(664) %3)
  %5 = tail call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %6 = tail call noundef i32 @_ZNK4dali17ArgumentWorkspace16NumArgumentInputEv(ptr noundef nonnull align 8 dereferenceable(256) %5)
  %7 = or i32 %6, %4
  %or.cond.not = icmp eq i32 %7, 0
  br i1 %or.cond.not, label %.preheader, label %.preheader34

.preheader34:                                     ; preds = %1
  %.not2836 = icmp sgt i32 %4, 0
  br i1 %.not2836, label %.lr.ph, label %.critedge.preheader

.preheader:                                       ; preds = %1
  %8 = tail call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %9 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664) %8)
  %.not2642 = icmp slt i32 %9, 1
  br i1 %.not2642, label %.loopexit, label %.lr.ph44

10:                                               ; preds = %.lr.ph
  %11 = add nuw nsw i32 %.02237, 1
  %exitcond.not = icmp eq i32 %11, %4
  br i1 %exitcond.not, label %.critedge.preheader, label %.lr.ph, !llvm.loop !5

.critedge.preheader:                              ; preds = %10, %.preheader34
  %.not3038 = icmp slt i32 %6, 1
  br i1 %.not3038, label %.loopexit, label %.lr.ph40

.lr.ph:                                           ; preds = %.preheader34, %10
  %.02237 = phi i32 [ %11, %10 ], [ 0, %.preheader34 ]
  %12 = tail call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %13 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE17GetInputBatchSizeEi(ptr noundef nonnull align 8 dereferenceable(664) %12, i32 noundef %.02237)
  %.not27 = icmp eq i32 %13, 0
  br i1 %.not27, label %10, label %.loopexit

.lr.ph40:                                         ; preds = %.lr.ph40, %.critedge.preheader
  %.02039 = phi i32 [ 0, %.critedge.preheader ], [ %17, %.lr.ph40 ]
  %14 = tail call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %15 = tail call noundef nonnull align 8 dereferenceable(304) ptr @_ZNK4dali17ArgumentWorkspace13ArgumentInputEi(ptr noundef nonnull align 8 dereferenceable(256) %14, i32 noundef %.02039)
  %16 = tail call noundef i32 @_ZNK4dali10TensorListINS_10CPUBackendEE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(304) %15) #3
  %.not29 = icmp eq i32 %16, 0
  %.not29.not = xor i1 %.not29, true
  %17 = add nuw nsw i32 %.02039, 1
  %exitcond51 = icmp eq i32 %17, %6
  %or.cond = select i1 %.not29.not, i1 true, i1 %exitcond51
  br i1 %or.cond, label %.loopexit, label %.lr.ph40, !llvm.loop !7

18:                                               ; preds = %.lr.ph44
  %19 = add nuw nsw i32 %.043, 1
  %20 = tail call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %21 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE9NumOutputEv(ptr noundef nonnull align 8 dereferenceable(664) %20)
  %.not26.not = icmp slt i32 %19, %21
  br i1 %.not26.not, label %.lr.ph44, label %.loopexit, !llvm.loop !8

.lr.ph44:                                         ; preds = %.preheader, %18
  %.043 = phi i32 [ %19, %18 ], [ 0, %.preheader ]
  %22 = tail call noundef ptr @_ZNKSt10unique_ptrIN4dali9WorkspaceESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %23 = tail call noundef i32 @_ZNK4dali13WorkspaceBaseINS_10TensorListESt10shared_ptrE21GetRequestedBatchSizeEi(ptr noundef nonnull align 8 dereferenceable(664) %22, i32 noundef %.043)
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %18, label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph40, %.lr.ph44, %18, %.critedge.preheader, %.preheader
  %.3 = phi i1 [ true, %.preheader ], [ true, %.critedge.preheader ], [ %.not, %18 ], [ %.not, %.lr.ph44 ], [ %.not29, %.lr.ph40 ], [ false, %.lr.ph ]
  ret i1 %.3
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4dali10TensorListINS_10CPUBackendEE11num_samplesEv(ptr noundef nonnull align 8 dereferenceable(304)) 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 #2 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}


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