; LLVM IR from NVIDIA/TensorRT :: plugin/batchedNMSPlugin/batchedNMSPlugin.ll (ZNK8nvinfer16plugin16BatchedNMSPlugin5cloneEv)

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

%"struct.nvinfer1::plugin::NMSParameters" = type { i8, i32, i32, i32, i32, float, float, i8 }
%"class.nvinfer1::plugin::BatchedNMSPlugin" = type <{ %"class.nvinfer1::IPluginV2Ext", %"struct.nvinfer1::plugin::NMSParameters", i32, i32, i32, [4 x i8], %"class.std::__cxx11::basic_string", i8, [3 x i8], i32, i32, i8, [3 x i8], i32, [4 x i8] }>
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"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] }

@_ZTISt9exception = external constant ptr

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #2

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #3

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @__cxa_end_catch()

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZNK8nvinfer16plugin16BatchedNMSPlugin5cloneEv(ptr noundef nonnull align 8 dereferenceable(108) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.nvinfer1::plugin::NMSParameters", align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %10 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 112) #9
          to label %11 unwind label %48

11:                                               ; preds = %1
  %12 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 8 %12, i64 32, i1 false), !tbaa.struct !9
  invoke void @_ZN8nvinfer16plugin16BatchedNMSPluginC1ENS0_13NMSParametersE(ptr noundef nonnull align 8 dereferenceable(108) %10, ptr noundef byval(%"struct.nvinfer1::plugin::NMSParameters") align 8 %7)
          to label %13 unwind label %52

13:                                               ; preds = %11
  store ptr %10, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 2
  %15 = load i32, ptr %14, align 8, !tbaa !16
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %16, i32 0, i32 2
  store i32 %15, ptr %17, align 8, !tbaa !16
  %18 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 3
  %19 = load i32, ptr %18, align 4, !tbaa !26
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %20, i32 0, i32 3
  store i32 %19, ptr %21, align 4, !tbaa !26
  %22 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 4
  %23 = load i32, ptr %22, align 8, !tbaa !27
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %24, i32 0, i32 4
  store i32 %23, ptr %25, align 8, !tbaa !27
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 6
  %28 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  %29 = load ptr, ptr %26, align 8, !tbaa !28
  %30 = getelementptr inbounds ptr, ptr %29, i64 15
  %31 = load ptr, ptr %30, align 8
  call void %31(ptr noundef nonnull align 8 dereferenceable(108) %26, ptr noundef %28) #8
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 7
  %34 = load i8, ptr %33, align 8, !tbaa !30, !range !31, !noundef !32
  %35 = trunc i8 %34 to i1
  call void @_ZN8nvinfer16plugin16BatchedNMSPlugin12setClipParamEb(ptr noundef nonnull align 8 dereferenceable(108) %32, i1 noundef zeroext %35) #8
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 9
  %37 = load i32, ptr %36, align 4, !tbaa !33
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %38, i32 0, i32 9
  store i32 %37, ptr %39, align 4, !tbaa !33
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 10
  %42 = load i32, ptr %41, align 8, !tbaa !34
  call void @_ZN8nvinfer16plugin16BatchedNMSPlugin12setScoreBitsEi(ptr noundef nonnull align 8 dereferenceable(108) %40, i32 noundef %42) #8
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.nvinfer1::plugin::BatchedNMSPlugin", ptr %9, i32 0, i32 11
  %45 = load i8, ptr %44, align 4, !tbaa !35, !range !31, !noundef !32
  %46 = trunc i8 %45 to i1
  call void @_ZN8nvinfer16plugin16BatchedNMSPlugin17setCaffeSemanticsEb(ptr noundef nonnull align 8 dereferenceable(108) %43, i1 noundef zeroext %46) #8
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %47, ptr %2, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %68

48:                                               ; preds = %1
  %49 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  br label %56

52:                                               ; preds = %11
  %53 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %5, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %10, i64 noundef 112) #10
  br label %56

56:                                               ; preds = %52, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %6, align 4
  %59 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %60 = icmp eq i32 %58, %59
  br i1 %60, label %61, label %73

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %62 = load ptr, ptr %5, align 8
  %63 = call ptr @__cxa_begin_catch(ptr %62) #8
  store ptr %63, ptr %8, align 8
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %65 unwind label %70

65:                                               ; preds = %61
  invoke void @__cxa_end_catch()
          to label %66 unwind label %70

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %67

67:                                               ; preds = %66
  store ptr null, ptr %2, align 8
  br label %68

68:                                               ; preds = %67, %13
  %69 = load ptr, ptr %2, align 8
  ret ptr %69

70:                                               ; preds = %65, %61
  %71 = landingpad { ptr, i32 }
          catch ptr null
  %72 = extractvalue { ptr, i32 } %71, 0
  call void @__clang_call_terminate(ptr %72) #11
  unreachable

73:                                               ; preds = %57
  %74 = load ptr, ptr %5, align 8
  call void @__clang_call_terminate(ptr %74) #11
  unreachable
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin16BatchedNMSPlugin12setClipParamEb(ptr noundef nonnull align 8 dereferenceable(108), i1 noundef zeroext) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin16BatchedNMSPlugin12setScoreBitsEi(ptr noundef nonnull align 8 dereferenceable(108), i32 noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin16BatchedNMSPlugin17setCaffeSemanticsEb(ptr noundef nonnull align 8 dereferenceable(108), i1 noundef zeroext) #5 align 2

declare void @_ZN8nvinfer16plugin16BatchedNMSPluginC1ENS0_13NMSParametersE(ptr, ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind memory(none) }
attributes #3 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin allocsize(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 #7 = { nobuiltin 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { 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 = !{i64 0, i64 1, !10, i64 4, i64 4, !12, i64 8, i64 4, !12, i64 12, i64 4, !12, i64 16, i64 4, !12, i64 20, i64 4, !14, i64 24, i64 4, !14, i64 28, i64 1, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!17, !13, i64 40}
!17 = !{!"_ZTSN8nvinfer16plugin16BatchedNMSPluginE", !18, i64 0, !20, i64 8, !13, i64 40, !13, i64 44, !13, i64 48, !21, i64 56, !11, i64 88, !24, i64 92, !13, i64 96, !11, i64 100, !25, i64 104}
!18 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !19, i64 0}
!19 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!20 = !{!"_ZTSN8nvinfer16plugin13NMSParametersE", !11, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !15, i64 20, !15, i64 24, !11, i64 28}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!25 = !{!"_ZTS14pluginStatus_t", !7, i64 0}
!26 = !{!17, !13, i64 44}
!27 = !{!17, !13, i64 48}
!28 = !{!29, !29, i64 0}
!29 = !{!"vtable pointer", !8, i64 0}
!30 = !{!17, !11, i64 88}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!17, !24, i64 92}
!34 = !{!17, !13, i64 96}
!35 = !{!17, !11, i64 100}


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

%"struct.nvinfer1::plugin::NMSParameters" = type { i8, i32, i32, i32, i32, float, float, i8 }

@_ZTISt9exception = external constant ptr

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #0

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #1

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZNK8nvinfer16plugin16BatchedNMSPlugin5cloneEv(ptr noundef nonnull align 8 dereferenceable(108) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = invoke noalias noundef nonnull dereferenceable(112) ptr @_Znwm(i64 noundef 112) #6
          to label %3 unwind label %28

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  invoke void @_ZN8nvinfer16plugin16BatchedNMSPluginC1ENS0_13NMSParametersE(ptr noundef nonnull align 8 dereferenceable(108) %2, ptr noundef nonnull byval(%"struct.nvinfer1::plugin::NMSParameters") align 8 %4)
          to label %5 unwind label %30

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = getelementptr inbounds i8, ptr %2, i64 40
  %8 = load <2 x i32>, ptr %6, align 8, !tbaa !5
  store <2 x i32> %8, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  %10 = load i32, ptr %9, align 8, !tbaa !9
  %11 = getelementptr inbounds i8, ptr %2, i64 48
  store i32 %10, ptr %11, align 8, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %0, i64 56
  %13 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  %14 = load ptr, ptr %2, align 8, !tbaa !22
  %15 = getelementptr inbounds i8, ptr %14, i64 120
  %16 = load ptr, ptr %15, align 8
  tail call void %16(ptr noundef nonnull align 8 dereferenceable(108) %2, ptr noundef %13) #7
  %17 = getelementptr inbounds i8, ptr %0, i64 88
  %18 = load i8, ptr %17, align 8, !tbaa !24, !range !25, !noundef !26
  %19 = trunc nuw i8 %18 to i1
  tail call void @_ZN8nvinfer16plugin16BatchedNMSPlugin12setClipParamEb(ptr noundef nonnull align 8 dereferenceable(108) %2, i1 noundef zeroext %19) #7
  %20 = getelementptr inbounds i8, ptr %0, i64 92
  %21 = load i32, ptr %20, align 4, !tbaa !27
  %22 = getelementptr inbounds i8, ptr %2, i64 92
  store i32 %21, ptr %22, align 4, !tbaa !27
  %23 = getelementptr inbounds i8, ptr %0, i64 96
  %24 = load i32, ptr %23, align 8, !tbaa !28
  tail call void @_ZN8nvinfer16plugin16BatchedNMSPlugin12setScoreBitsEi(ptr noundef nonnull align 8 dereferenceable(108) %2, i32 noundef %24) #7
  %25 = getelementptr inbounds i8, ptr %0, i64 100
  %26 = load i8, ptr %25, align 4, !tbaa !29, !range !25, !noundef !26
  %27 = trunc nuw i8 %26 to i1
  tail call void @_ZN8nvinfer16plugin16BatchedNMSPlugin17setCaffeSemanticsEb(ptr noundef nonnull align 8 dereferenceable(108) %2, i1 noundef zeroext %27) #7
  br label %38

28:                                               ; preds = %1
  %29 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %32

30:                                               ; preds = %3
  %31 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  tail call void @_ZdlPvm(ptr noundef nonnull %2, i64 noundef 112) #8
  br label %32

32:                                               ; preds = %30, %28
  %.pn = phi { ptr, i32 } [ %31, %30 ], [ %29, %28 ]
  %.014 = extractvalue { ptr, i32 } %.pn, 1
  %.015 = extractvalue { ptr, i32 } %.pn, 0
  %33 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #7
  %34 = icmp eq i32 %.014, %33
  br i1 %34, label %35, label %42

35:                                               ; preds = %32
  %36 = tail call ptr @__cxa_begin_catch(ptr %.015) #7
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %37 unwind label %39

37:                                               ; preds = %35
  invoke void @__cxa_end_catch()
          to label %38 unwind label %39

38:                                               ; preds = %37, %5
  %.0 = phi ptr [ %2, %5 ], [ null, %37 ]
  ret ptr %.0

39:                                               ; preds = %37, %35
  %40 = landingpad { ptr, i32 }
          catch ptr null
  %41 = extractvalue { ptr, i32 } %40, 0
  tail call void @__clang_call_terminate(ptr %41) #9
  unreachable

42:                                               ; preds = %32
  tail call void @__clang_call_terminate(ptr %.015) #9
  unreachable
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin16BatchedNMSPlugin12setScoreBitsEi(ptr noundef nonnull align 8 dereferenceable(108), i32 noundef) local_unnamed_addr #3 align 2

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

declare void @_ZN8nvinfer16plugin16BatchedNMSPluginC1ENS0_13NMSParametersE(ptr, ptr) local_unnamed_addr

attributes #0 = { nofree nosync nounwind memory(none) }
attributes #1 = { noinline noreturn nounwind uwtable "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin allocsize(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 = { nobuiltin 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 #6 = { builtin allocsize(0) }
attributes #7 = { nounwind }
attributes #8 = { builtin 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 48}
!10 = !{!"_ZTSN8nvinfer16plugin16BatchedNMSPluginE", !11, i64 0, !13, i64 8, !6, i64 40, !6, i64 44, !6, i64 48, !16, i64 56, !14, i64 88, !20, i64 92, !6, i64 96, !14, i64 100, !21, i64 104}
!11 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !12, i64 0}
!12 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!13 = !{!"_ZTSN8nvinfer16plugin13NMSParametersE", !14, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !15, i64 20, !15, i64 24, !14, i64 28}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !19, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!21 = !{!"_ZTS14pluginStatus_t", !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !8, i64 0}
!24 = !{!10, !14, i64 88}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!10, !20, i64 92}
!28 = !{!10, !6, i64 96}
!29 = !{!10, !14, i64 100}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass