; LLVM IR from NVIDIA/TensorRT :: plugin/efficientNMSPlugin (efficientNMSPlugin)

; 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.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }
%"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator" = type { %"class.nvinfer1::pluginInternal::BaseCreator", %"struct.nvinfer1::PluginFieldCollection", %"struct.nvinfer1::plugin::EfficientNMSParameters", %"class.std::vector", %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::pluginInternal::BaseCreator" = type { %"class.nvinfer1::v_1_0::IPluginCreator", %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::v_1_0::IPluginCreator" = type { %"class.nvinfer1::v_1_0::IPluginCreatorInterface" }
%"class.nvinfer1::v_1_0::IPluginCreatorInterface" = type { %"class.nvinfer1::IVersionedInterface" }
%"class.nvinfer1::IVersionedInterface" = type { ptr }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }
%"struct.nvinfer1::plugin::EfficientNMSParameters" = type { float, float, i32, i32, i8, i32, i8, i8, i32, i8, i32, i32, i8, i32, i32, i32, i32, i32, i8, i8, i8, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" = type { ptr, ptr, 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] }

@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZTVN8nvinfer16plugin29EfficientNMSONNXPluginCreatorE = external dso_local unnamed_addr constant { [13 x ptr] }, align 8
@.str.37 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin29EfficientNMSONNXPluginCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(192) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.nvinfer1::PluginField", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.nvinfer1::PluginField", align 8
  %7 = alloca %"class.nvinfer1::PluginField", align 8
  %8 = alloca %"class.nvinfer1::PluginField", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8
  call void @_ZN8nvinfer114pluginInternal11BaseCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  store ptr getelementptr inbounds inrange(-16, 88) ({ [13 x ptr] }, ptr @_ZTVN8nvinfer16plugin29EfficientNMSONNXPluginCreatorE, i32 0, i32 0, i32 2), ptr %9, align 8, !tbaa !9
  %10 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 1
  call void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #4
  %11 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 2
  %12 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 0
  store float 5.000000e-01, ptr %12, align 8, !tbaa !11
  %13 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 1
  store float 5.000000e-01, ptr %13, align 4, !tbaa !17
  %14 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 2
  store i32 100, ptr %14, align 8, !tbaa !18
  %15 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 3
  store i32 -1, ptr %15, align 4, !tbaa !19
  %16 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 4
  store i8 0, ptr %16, align 8, !tbaa !20
  %17 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 5
  store i32 -1, ptr %17, align 4, !tbaa !21
  %18 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 6
  store i8 0, ptr %18, align 8, !tbaa !22
  %19 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 7
  store i8 0, ptr %19, align 1, !tbaa !23
  %20 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 8
  store i32 0, ptr %20, align 4, !tbaa !24
  %21 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 9
  store i8 0, ptr %21, align 8, !tbaa !25
  %22 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 10
  store i32 4096, ptr %22, align 4, !tbaa !26
  %23 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 11
  store i32 -1, ptr %23, align 8, !tbaa !27
  %24 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 12
  store i8 0, ptr %24, align 4, !tbaa !28
  %25 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 13
  store i32 -1, ptr %25, align 8, !tbaa !29
  %26 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 14
  store i32 1, ptr %26, align 4, !tbaa !30
  %27 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 15
  store i32 -1, ptr %27, align 8, !tbaa !31
  %28 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 16
  store i32 -1, ptr %28, align 4, !tbaa !32
  %29 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 17
  store i32 -1, ptr %29, align 8, !tbaa !33
  %30 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 18
  store i8 1, ptr %30, align 4, !tbaa !34
  %31 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 19
  store i8 1, ptr %31, align 1, !tbaa !35
  %32 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 20
  store i8 0, ptr %32, align 2, !tbaa !36
  %33 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %11, i32 0, i32 21
  store i32 0, ptr %33, align 8, !tbaa !37
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #4
  %35 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #4
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  %37 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef @.str.20, ptr noundef null, i32 noundef 1, i32 noundef 1) #4
  %38 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %39 unwind label %58

39:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  %40 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef @.str.21, ptr noundef null, i32 noundef 1, i32 noundef 1) #4
  %41 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %42 unwind label %62

42:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  %43 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef @.str.37, ptr noundef null, i32 noundef 5, i32 noundef 1) #4
  %44 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %45 unwind label %66

45:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #4
  %46 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef @.str.38, ptr noundef null, i32 noundef 5, i32 noundef 1) #4
  %47 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %48 unwind label %70

48:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  %49 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  %50 = call noundef i64 @_ZNKSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #4
  %51 = trunc i64 %50 to i32
  %52 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 1
  %53 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %52, i32 0, i32 0
  store i32 %51, ptr %53, align 8, !tbaa !38
  %54 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 3
  %55 = call noundef ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #4
  %56 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %9, i32 0, i32 1
  %57 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %56, i32 0, i32 1
  store ptr %55, ptr %57, align 8, !tbaa !52
  ret void

58:                                               ; preds = %1
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %4, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  br label %74

62:                                               ; preds = %39
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %4, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  br label %74

66:                                               ; preds = %42
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %4, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #4
  br label %74

70:                                               ; preds = %45
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %4, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  br label %74

74:                                               ; preds = %70, %66, %62, %58
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #4
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #4
  call void @_ZN8nvinfer114pluginInternal11BaseCreatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %4, align 8
  %77 = load i32, ptr %5, align 4
  %78 = insertvalue { ptr, i32 } poison, ptr %76, 0
  %79 = insertvalue { ptr, i32 } %78, i32 %77, 1
  resume { ptr, i32 } %79
}

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN8nvinfer16plugin22EfficientNMSParametersE", !13, i64 0, !13, i64 4, !14, i64 8, !14, i64 12, !15, i64 16, !14, i64 20, !15, i64 24, !15, i64 25, !14, i64 28, !15, i64 32, !14, i64 36, !14, i64 40, !15, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60, !14, i64 64, !15, i64 68, !15, i64 69, !15, i64 70, !16, i64 72}
!13 = !{!"float", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!17 = !{!12, !13, i64 4}
!18 = !{!12, !14, i64 8}
!19 = !{!12, !14, i64 12}
!20 = !{!12, !15, i64 16}
!21 = !{!12, !14, i64 20}
!22 = !{!12, !15, i64 24}
!23 = !{!12, !15, i64 25}
!24 = !{!12, !14, i64 28}
!25 = !{!12, !15, i64 32}
!26 = !{!12, !14, i64 36}
!27 = !{!12, !14, i64 40}
!28 = !{!12, !15, i64 44}
!29 = !{!12, !14, i64 48}
!30 = !{!12, !14, i64 52}
!31 = !{!12, !14, i64 56}
!32 = !{!12, !14, i64 60}
!33 = !{!12, !14, i64 64}
!34 = !{!12, !15, i64 68}
!35 = !{!12, !15, i64 69}
!36 = !{!12, !15, i64 70}
!37 = !{!12, !16, i64 72}
!38 = !{!39, !14, i64 40}
!39 = !{!"_ZTSN8nvinfer16plugin29EfficientNMSONNXPluginCreatorE", !40, i64 0, !47, i64 40, !12, i64 56, !48, i64 136, !44, i64 160}
!40 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !41, i64 0, !44, i64 8}
!41 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !42, i64 0}
!42 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !43, i64 0}
!43 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!44 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !45, i64 0, !46, i64 8, !7, i64 16}
!45 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!46 = !{!"long", !7, i64 0}
!47 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !14, i64 0, !6, i64 8}
!48 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!52 = !{!39, !6, i64 48}


; 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.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }

@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZTVN8nvinfer16plugin29EfficientNMSONNXPluginCreatorE = external dso_local unnamed_addr constant { [13 x ptr] }, align 8
@.str.37 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin29EfficientNMSONNXPluginCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(192) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.nvinfer1::PluginField", align 8
  %3 = alloca %"class.nvinfer1::PluginField", align 8
  %4 = alloca %"class.nvinfer1::PluginField", align 8
  %5 = alloca %"class.nvinfer1::PluginField", align 8
  tail call void @_ZN8nvinfer114pluginInternal11BaseCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  store ptr getelementptr inbounds inrange(-16, 88) (i8, ptr @_ZTVN8nvinfer16plugin29EfficientNMSONNXPluginCreatorE, i64 16), ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 56
  store <2 x float> <float 5.000000e-01, float 5.000000e-01>, ptr %7, align 8, !tbaa !8
  %8 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 100, ptr %8, align 8, !tbaa !11
  %9 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 -1, ptr %9, align 4, !tbaa !16
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  store i8 0, ptr %10, align 8, !tbaa !17
  %11 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 -1, ptr %11, align 4, !tbaa !18
  %12 = getelementptr inbounds i8, ptr %0, i64 80
  store i8 0, ptr %12, align 8, !tbaa !19
  %13 = getelementptr inbounds i8, ptr %0, i64 81
  store i8 0, ptr %13, align 1, !tbaa !20
  %14 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 0, ptr %14, align 4, !tbaa !21
  %15 = getelementptr inbounds i8, ptr %0, i64 88
  store i8 0, ptr %15, align 8, !tbaa !22
  %16 = getelementptr inbounds i8, ptr %0, i64 92
  store i32 4096, ptr %16, align 4, !tbaa !23
  %17 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 -1, ptr %17, align 8, !tbaa !24
  %18 = getelementptr inbounds i8, ptr %0, i64 100
  store i8 0, ptr %18, align 4, !tbaa !25
  %19 = getelementptr inbounds i8, ptr %0, i64 104
  store <4 x i32> <i32 -1, i32 1, i32 -1, i32 -1>, ptr %19, align 8, !tbaa !26
  %20 = getelementptr inbounds i8, ptr %0, i64 120
  store i32 -1, ptr %20, align 8, !tbaa !27
  %21 = getelementptr inbounds i8, ptr %0, i64 124
  store i8 1, ptr %21, align 4, !tbaa !28
  %22 = getelementptr inbounds i8, ptr %0, i64 125
  store i8 1, ptr %22, align 1, !tbaa !29
  %23 = getelementptr inbounds i8, ptr %0, i64 126
  store i8 0, ptr %23, align 2, !tbaa !30
  %24 = getelementptr inbounds i8, ptr %0, i64 128
  store i32 0, ptr %24, align 8, !tbaa !31
  %25 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  %26 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #4
  tail call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.20, ptr noundef null, i32 noundef 1, i32 noundef 1) #4
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %28 unwind label %39

28:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull @.str.21, ptr noundef null, i32 noundef 1, i32 noundef 1) #4
  %29 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %30 unwind label %41

30:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull @.str.37, ptr noundef null, i32 noundef 5, i32 noundef 1) #4
  %31 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %32 unwind label %43

32:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull @.str.38, ptr noundef null, i32 noundef 5, i32 noundef 1) #4
  %33 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %34 unwind label %45

34:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  %35 = call noundef i64 @_ZNKSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  %36 = trunc i64 %35 to i32
  store i32 %36, ptr %6, align 8, !tbaa !32
  %37 = call noundef ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  %38 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %37, ptr %38, align 8, !tbaa !47
  ret void

39:                                               ; preds = %1
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  br label %47

41:                                               ; preds = %28
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  br label %47

43:                                               ; preds = %30
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  br label %47

45:                                               ; preds = %32
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  br label %47

47:                                               ; preds = %45, %43, %41, %39
  %.pn = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ], [ %42, %41 ], [ %40, %39 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #4
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @_ZN8nvinfer114pluginInternal11BaseCreatorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  resume { ptr, i32 } %.pn
}

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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"}
!8 = !{!9, !9, i64 0}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"_ZTSN8nvinfer16plugin22EfficientNMSParametersE", !9, i64 0, !9, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !13, i64 20, !14, i64 24, !14, i64 25, !13, i64 28, !14, i64 32, !13, i64 36, !13, i64 40, !14, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !14, i64 68, !14, i64 69, !14, i64 70, !15, i64 72}
!13 = !{!"int", !10, i64 0}
!14 = !{!"bool", !10, i64 0}
!15 = !{!"_ZTSN8nvinfer18DataTypeE", !10, i64 0}
!16 = !{!12, !13, i64 12}
!17 = !{!12, !14, i64 16}
!18 = !{!12, !13, i64 20}
!19 = !{!12, !14, i64 24}
!20 = !{!12, !14, i64 25}
!21 = !{!12, !13, i64 28}
!22 = !{!12, !14, i64 32}
!23 = !{!12, !13, i64 36}
!24 = !{!12, !13, i64 40}
!25 = !{!12, !14, i64 44}
!26 = !{!13, !13, i64 0}
!27 = !{!12, !13, i64 64}
!28 = !{!12, !14, i64 68}
!29 = !{!12, !14, i64 69}
!30 = !{!12, !14, i64 70}
!31 = !{!12, !15, i64 72}
!32 = !{!33, !13, i64 40}
!33 = !{!"_ZTSN8nvinfer16plugin29EfficientNMSONNXPluginCreatorE", !34, i64 0, !42, i64 40, !12, i64 56, !43, i64 136, !38, i64 160}
!34 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !35, i64 0, !38, i64 8}
!35 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !36, i64 0}
!36 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !37, i64 0}
!37 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!38 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !39, i64 0, !41, i64 8, !10, i64 16}
!39 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !40, i64 0}
!40 = !{!"any pointer", !10, i64 0}
!41 = !{!"long", !10, i64 0}
!42 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !13, i64 0, !40, i64 8}
!43 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !40, i64 0, !40, i64 8, !40, i64 16}
!47 = !{!33, !40, i64 48}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass