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

; 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::PluginFieldCollection" = type { i32, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = 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.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }
%"class.nvinfer1::plugin::GenerateDetectionPluginCreator" = type { %"class.nvinfer1::pluginInternal::BaseCreator", i32, i32, float, float }
%"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 }
%"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] }

@_ZN8nvinfer16plugin30GenerateDetectionPluginCreator3mFCE = external dso_local global %"struct.nvinfer1::PluginFieldCollection", align 8
@_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE = external dso_local global %"class.std::vector.9", align 8
@_ZTVN8nvinfer16plugin30GenerateDetectionPluginCreatorE = external dso_local unnamed_addr constant { [13 x ptr] }, align 8
@.str.94 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin30GenerateDetectionPluginCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.nvinfer1::PluginField", align 8
  %4 = alloca %"class.nvinfer1::PluginField", align 8
  %5 = alloca %"class.nvinfer1::PluginField", align 8
  %6 = alloca %"class.nvinfer1::PluginField", align 8
  %7 = alloca %"class.nvinfer1::PluginField", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  call void @_ZN8nvinfer114pluginInternal11BaseCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #5
  store ptr getelementptr inbounds inrange(-16, 88) ({ [13 x ptr] }, ptr @_ZTVN8nvinfer16plugin30GenerateDetectionPluginCreatorE, i32 0, i32 0, i32 2), ptr %8, align 8, !tbaa !9
  %9 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetectionPluginCreator", ptr %8, i32 0, i32 1
  store i32 0, ptr %9, align 8, !tbaa !11
  %10 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetectionPluginCreator", ptr %8, i32 0, i32 2
  store i32 0, ptr %10, align 4, !tbaa !22
  %11 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetectionPluginCreator", ptr %8, i32 0, i32 3
  store float 0.000000e+00, ptr %11, align 8, !tbaa !23
  %12 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetectionPluginCreator", ptr %8, i32 0, i32 4
  store float 0.000000e+00, ptr %12, align 4, !tbaa !24
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #5
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef @.str.94, ptr noundef null, i32 noundef 5, i32 noundef 1) #5
  %13 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %14 unwind label %26

14:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef @.str.95, ptr noundef null, i32 noundef 5, i32 noundef 1) #5
  %15 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %16 unwind label %26

16:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef @.str.96, ptr noundef null, i32 noundef 1, i32 noundef 1) #5
  %17 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %18 unwind label %26

18:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef @.str.97, ptr noundef null, i32 noundef 1, i32 noundef 1) #5
  %19 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %20 unwind label %26

20:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef @.str.98, ptr noundef null, i32 noundef 5, i32 noundef 3) #5
  %21 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %22 unwind label %26

22:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  %23 = call noundef i64 @_ZNKSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE) #5
  %24 = trunc i64 %23 to i32
  store i32 %24, ptr @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator3mFCE, align 8, !tbaa !25
  %25 = call noundef ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE) #5
  store ptr %25, ptr getelementptr inbounds (%"struct.nvinfer1::PluginFieldCollection", ptr @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator3mFCE, i32 0, i32 1), align 8, !tbaa !27
  ret void

26:                                               ; preds = %20, %18, %16, %14, %1
  %27 = landingpad { ptr, i32 }
          catch ptr null
  %28 = extractvalue { ptr, i32 } %27, 0
  call void @__clang_call_terminate(ptr %28) #6
  unreachable
}

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 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 #1 align 2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #5 = { nounwind }
attributes #6 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !20, i64 40}
!12 = !{!"_ZTSN8nvinfer16plugin30GenerateDetectionPluginCreatorE", !13, i64 0, !20, i64 40, !20, i64 44, !21, i64 48, !21, i64 52}
!13 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !14, i64 0, !17, i64 8}
!14 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !15, i64 0}
!15 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!12, !20, i64 44}
!23 = !{!12, !21, i64 48}
!24 = !{!12, !21, i64 52}
!25 = !{!26, !20, i64 0}
!26 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !20, i64 0, !6, i64 8}
!27 = !{!26, !6, i64 8}


; 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::PluginFieldCollection" = type { i32, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = 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.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }

@_ZN8nvinfer16plugin30GenerateDetectionPluginCreator3mFCE = external dso_local local_unnamed_addr global %"struct.nvinfer1::PluginFieldCollection", align 8
@_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE = external dso_local global %"class.std::vector.9", align 8
@_ZTVN8nvinfer16plugin30GenerateDetectionPluginCreatorE = external dso_local unnamed_addr constant { [13 x ptr] }, align 8
@.str.94 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin30GenerateDetectionPluginCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) unnamed_addr #1 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
  %6 = alloca %"class.nvinfer1::PluginField", align 8
  tail call void @_ZN8nvinfer114pluginInternal11BaseCreatorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #6
  store ptr getelementptr inbounds inrange(-16, 88) (i8, ptr @_ZTVN8nvinfer16plugin30GenerateDetectionPluginCreatorE, i64 16), ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false)
  tail call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.94, ptr noundef null, i32 noundef 5, i32 noundef 1) #6
  %8 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %9 unwind label %21

9:                                                ; preds = %1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull @.str.95, ptr noundef null, i32 noundef 5, i32 noundef 1) #6
  %10 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %11 unwind label %21

11:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull @.str.96, ptr noundef null, i32 noundef 1, i32 noundef 1) #6
  %12 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %13 unwind label %21

13:                                               ; preds = %11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull @.str.97, ptr noundef null, i32 noundef 1, i32 noundef 1) #6
  %14 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %15 unwind label %21

15:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN8nvinfer111PluginFieldC2EPKcPKvNS_15PluginFieldTypeEi(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull @.str.98, ptr noundef null, i32 noundef 5, i32 noundef 3) #6
  %16 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %17 unwind label %21

17:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  %18 = call noundef i64 @_ZNKSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE) #6
  %19 = trunc i64 %18 to i32
  store i32 %19, ptr @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator3mFCE, align 8, !tbaa !8
  %20 = call noundef ptr @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator17mPluginAttributesE) #6
  store ptr %20, ptr getelementptr inbounds (i8, ptr @_ZN8nvinfer16plugin30GenerateDetectionPluginCreator3mFCE, i64 8), align 8, !tbaa !13
  ret void

21:                                               ; preds = %15, %13, %11, %9, %1
  %22 = landingpad { ptr, i32 }
          catch ptr null
  %23 = extractvalue { ptr, i32 } %22, 0
  call void @__clang_call_terminate(ptr %23) #7
  unreachable
}

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 #1 align 2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !10, i64 0, !12, i64 8}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"any pointer", !11, i64 0}
!13 = !{!9, !12, i64 8}


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,TailCallElimPass