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

; 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::plugin::DetectionLayer" = type { %"class.nvinfer1::IPluginV2Ext", i32, i32, i32, float, float, i32, i32, %"class.std::shared_ptr", i32, %struct.RefineNMSParameters, %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"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 }
%struct.RefineNMSParameters = type { i32, i32, i32, float, float }
%"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.7 = external hidden unnamed_addr constant [102 x i8], align 1
@_ZTVN8nvinfer16plugin14DetectionLayerE = external dso_local unnamed_addr constant { [27 x ptr] }, align 8
@__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [20 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin14DetectionLayerC2Eiiff(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store float %3, ptr %9, align 4, !tbaa !11
  store float %4, ptr %10, align 4, !tbaa !11
  %13 = load ptr, ptr %6, align 8
  call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  store ptr getelementptr inbounds inrange(-16, 200) ({ [27 x ptr] }, ptr @_ZTVN8nvinfer16plugin14DetectionLayerE, i32 0, i32 0, i32 2), ptr %13, align 8, !tbaa !13
  %14 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 2
  %15 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %15, ptr %14, align 4, !tbaa !15
  %16 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 3
  %17 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %17, ptr %16, align 8, !tbaa !27
  %18 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 4
  %19 = load float, ptr %9, align 4, !tbaa !11
  store float %19, ptr %18, align 4, !tbaa !28
  %20 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 5
  %21 = load float, ptr %10, align 4, !tbaa !11
  store float %21, ptr %20, align 8, !tbaa !29
  %22 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 8
  call void @_ZNSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #3
  %23 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 10
  %24 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #3
  %25 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 1
  store i32 0, ptr %25, align 8, !tbaa !30
  %26 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 2
  %27 = load i32, ptr %26, align 4, !tbaa !15
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %35, label %29

29:                                               ; preds = %5
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff, i32 noundef 122, i32 noundef 0, ptr noundef @.str.11) #4
          to label %30 unwind label %31

30:                                               ; preds = %29
  unreachable

31:                                               ; preds = %51, %45, %39, %29
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %11, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #3
  call void @_ZNSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #3
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  br label %73

35:                                               ; preds = %5
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 3
  %37 = load i32, ptr %36, align 8, !tbaa !27
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %41, label %39

39:                                               ; preds = %35
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff, i32 noundef 123, i32 noundef 0, ptr noundef @.str.12) #4
          to label %40 unwind label %31

40:                                               ; preds = %39
  unreachable

41:                                               ; preds = %35
  %42 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 4
  %43 = load float, ptr %42, align 4, !tbaa !28
  %44 = fcmp oge float %43, 0.000000e+00
  br i1 %44, label %47, label %45

45:                                               ; preds = %41
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff, i32 noundef 124, i32 noundef 0, ptr noundef @.str.13) #4
          to label %46 unwind label %31

46:                                               ; preds = %45
  unreachable

47:                                               ; preds = %41
  %48 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 5
  %49 = load float, ptr %48, align 8, !tbaa !29
  %50 = fcmp ogt float %49, 0.000000e+00
  br i1 %50, label %53, label %51

51:                                               ; preds = %47
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff, i32 noundef 125, i32 noundef 0, ptr noundef @.str.14) #4
          to label %52 unwind label %31

52:                                               ; preds = %51
  unreachable

53:                                               ; preds = %47
  %54 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 10
  %55 = getelementptr inbounds %struct.RefineNMSParameters, ptr %54, i32 0, i32 0
  store i32 0, ptr %55, align 4, !tbaa !31
  %56 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 2
  %57 = load i32, ptr %56, align 4, !tbaa !15
  %58 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 10
  %59 = getelementptr inbounds %struct.RefineNMSParameters, ptr %58, i32 0, i32 1
  store i32 %57, ptr %59, align 4, !tbaa !32
  %60 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 3
  %61 = load i32, ptr %60, align 8, !tbaa !27
  %62 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 10
  %63 = getelementptr inbounds %struct.RefineNMSParameters, ptr %62, i32 0, i32 2
  store i32 %61, ptr %63, align 4, !tbaa !33
  %64 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 4
  %65 = load float, ptr %64, align 4, !tbaa !28
  %66 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 10
  %67 = getelementptr inbounds %struct.RefineNMSParameters, ptr %66, i32 0, i32 3
  store float %65, ptr %67, align 4, !tbaa !34
  %68 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 5
  %69 = load float, ptr %68, align 8, !tbaa !29
  %70 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 10
  %71 = getelementptr inbounds %struct.RefineNMSParameters, ptr %70, i32 0, i32 4
  store float %69, ptr %71, align 4, !tbaa !35
  %72 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %13, i32 0, i32 9
  store i32 0, ptr %72, align 8, !tbaa !36
  ret void

73:                                               ; preds = %31
  %74 = load ptr, ptr %11, align 8
  %75 = load i32, ptr %12, align 4
  %76 = insertvalue { ptr, i32 } poison, ptr %74, 0
  %77 = insertvalue { ptr, i32 } %76, i32 %75, 1
  resume { ptr, i32 } %77
}

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

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

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

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

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

attributes #0 = { noreturn "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 = { 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 = { nounwind }
attributes #4 = { noreturn }

!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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 12}
!16 = !{!"_ZTSN8nvinfer16plugin14DetectionLayerE", !17, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !12, i64 20, !12, i64 24, !10, i64 28, !10, i64 32, !19, i64 40, !22, i64 56, !23, i64 60, !24, i64 80}
!17 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !18, i64 0}
!18 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!19 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEE", !20, i64 0}
!20 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !21, i64 8}
!21 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!22 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!23 = !{!"_ZTS19RefineNMSParameters", !10, i64 0, !10, i64 4, !10, i64 8, !12, i64 12, !12, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !26, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!16, !10, i64 16}
!28 = !{!16, !12, i64 20}
!29 = !{!16, !12, i64 24}
!30 = !{!16, !10, i64 8}
!31 = !{!16, !10, i64 60}
!32 = !{!16, !10, i64 64}
!33 = !{!16, !10, i64 68}
!34 = !{!16, !12, i64 72}
!35 = !{!16, !12, i64 76}
!36 = !{!16, !22, i64 56}


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

@.str.7 = external hidden unnamed_addr constant [102 x i8], align 1
@_ZTVN8nvinfer16plugin14DetectionLayerE = external dso_local unnamed_addr constant { [27 x ptr] }, align 8
@__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [20 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin14DetectionLayerC2Eiiff(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #3
  store ptr getelementptr inbounds inrange(-16, 200) (i8, ptr @_ZTVN8nvinfer16plugin14DetectionLayerE, i64 16), ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %1, ptr %6, align 4, !tbaa !8
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %2, ptr %7, align 8, !tbaa !24
  %8 = getelementptr inbounds i8, ptr %0, i64 20
  store float %3, ptr %8, align 4, !tbaa !25
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  store float %4, ptr %9, align 8, !tbaa !26
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #3
  %11 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #3
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 0, ptr %12, align 8, !tbaa !27
  %13 = load i32, ptr %6, align 4, !tbaa !8
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %17, label %.invoke

15:                                               ; preds = %.invoke
  %16 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #3
  tail call void @_ZNSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #3
  tail call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #3
  resume { ptr, i32 } %16

17:                                               ; preds = %5
  %18 = load i32, ptr %7, align 8, !tbaa !24
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %20, label %.invoke

20:                                               ; preds = %17
  %21 = load float, ptr %8, align 4, !tbaa !25
  %22 = fcmp ult float %21, 0.000000e+00
  br i1 %22, label %.invoke, label %23

23:                                               ; preds = %20
  %24 = load float, ptr %9, align 8, !tbaa !26
  %25 = fcmp ogt float %24, 0.000000e+00
  br i1 %25, label %28, label %.invoke

.invoke:                                          ; preds = %5, %23, %20, %17
  %26 = phi i32 [ 123, %17 ], [ 124, %20 ], [ 125, %23 ], [ 122, %5 ]
  %27 = phi ptr [ @.str.12, %17 ], [ @.str.13, %20 ], [ @.str.14, %23 ], [ @.str.11, %5 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff, i32 noundef %26, i32 noundef 0, ptr noundef nonnull %27) #4
          to label %.cont unwind label %15

.cont:                                            ; preds = %.invoke
  unreachable

28:                                               ; preds = %23
  %29 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 0, ptr %29, align 4, !tbaa !28
  %30 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %13, ptr %30, align 8, !tbaa !29
  %31 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 %18, ptr %31, align 4, !tbaa !30
  %32 = getelementptr inbounds i8, ptr %0, i64 72
  store float %21, ptr %32, align 8, !tbaa !31
  %33 = getelementptr inbounds i8, ptr %0, i64 76
  store float %24, ptr %33, align 4, !tbaa !32
  %34 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %34, align 8, !tbaa !33
  ret void
}

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

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

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

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

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

attributes #0 = { noreturn "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 = { 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 = { nounwind }
attributes #4 = { noreturn }

!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, !12, i64 12}
!9 = !{!"_ZTSN8nvinfer16plugin14DetectionLayerE", !10, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !14, i64 20, !14, i64 24, !12, i64 28, !12, i64 32, !15, i64 40, !19, i64 56, !20, i64 60, !21, i64 80}
!10 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !11, i64 0}
!11 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!12 = !{!"int", !13, i64 0}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"float", !13, i64 0}
!15 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEE", !16, i64 0}
!16 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EE", !17, i64 0, !18, i64 8}
!17 = !{!"any pointer", !13, i64 0}
!18 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !17, i64 0}
!19 = !{!"_ZTSN8nvinfer18DataTypeE", !13, i64 0}
!20 = !{!"_ZTS19RefineNMSParameters", !12, i64 0, !12, i64 4, !12, i64 8, !14, i64 12, !14, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !13, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!23 = !{!"long", !13, i64 0}
!24 = !{!9, !12, i64 16}
!25 = !{!9, !14, i64 20}
!26 = !{!9, !14, i64 24}
!27 = !{!9, !12, i64 8}
!28 = !{!9, !12, i64 60}
!29 = !{!9, !12, i64 64}
!30 = !{!9, !12, i64 68}
!31 = !{!9, !14, i64 72}
!32 = !{!9, !14, i64 76}
!33 = !{!9, !19, i64 56}


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