; 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.17 = external hidden unnamed_addr constant [16 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: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin14DetectionLayerC2EPKvm(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %1, i64 noundef %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %11 = load ptr, ptr %4, align 8
  call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  store ptr getelementptr inbounds inrange(-16, 200) ({ [27 x ptr] }, ptr @_ZTVN8nvinfer16plugin14DetectionLayerE, i32 0, i32 0, i32 2), ptr %11, align 8, !tbaa !11
  %12 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 8
  call void @_ZNSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #4
  %13 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 10
  %14 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %15, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %16, ptr %8, align 8, !tbaa !5
  %17 = invoke noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %18 unwind label %42

18:                                               ; preds = %3
  %19 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 2
  store i32 %17, ptr %19, align 4, !tbaa !13
  %20 = invoke noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %21 unwind label %42

21:                                               ; preds = %18
  %22 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 3
  store i32 %20, ptr %22, align 8, !tbaa !26
  %23 = invoke noundef float @_ZN8nvinfer16plugin4readIfhEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %24 unwind label %42

24:                                               ; preds = %21
  %25 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 4
  store float %23, ptr %25, align 4, !tbaa !27
  %26 = invoke noundef float @_ZN8nvinfer16plugin4readIfhEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %27 unwind label %42

27:                                               ; preds = %24
  %28 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 5
  store float %26, ptr %28, align 8, !tbaa !28
  %29 = invoke noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %30 unwind label %42

30:                                               ; preds = %27
  %31 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 6
  store i32 %29, ptr %31, align 4, !tbaa !29
  %32 = invoke noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %33 unwind label %42

33:                                               ; preds = %30
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 7
  store i32 %32, ptr %34, align 8, !tbaa !30
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = load i64, ptr %6, align 8, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %36, i64 %37
  %39 = icmp eq ptr %35, %38
  br i1 %39, label %46, label %40

40:                                               ; preds = %33
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff, i32 noundef 245, i32 noundef 0, ptr noundef @.str.17) #5
          to label %41 unwind label %42

41:                                               ; preds = %40
  unreachable

42:                                               ; preds = %40, %30, %27, %24, %21, %18, %3
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %9, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  call void @_ZNSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #4
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  br label %66

46:                                               ; preds = %33
  %47 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 10
  %48 = getelementptr inbounds %struct.RefineNMSParameters, ptr %47, i32 0, i32 0
  store i32 0, ptr %48, align 4, !tbaa !31
  %49 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 2
  %50 = load i32, ptr %49, align 4, !tbaa !13
  %51 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 10
  %52 = getelementptr inbounds %struct.RefineNMSParameters, ptr %51, i32 0, i32 1
  store i32 %50, ptr %52, align 4, !tbaa !32
  %53 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 3
  %54 = load i32, ptr %53, align 8, !tbaa !26
  %55 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 10
  %56 = getelementptr inbounds %struct.RefineNMSParameters, ptr %55, i32 0, i32 2
  store i32 %54, ptr %56, align 4, !tbaa !33
  %57 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 4
  %58 = load float, ptr %57, align 4, !tbaa !27
  %59 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 10
  %60 = getelementptr inbounds %struct.RefineNMSParameters, ptr %59, i32 0, i32 3
  store float %58, ptr %60, align 4, !tbaa !34
  %61 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 5
  %62 = load float, ptr %61, align 8, !tbaa !28
  %63 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 10
  %64 = getelementptr inbounds %struct.RefineNMSParameters, ptr %63, i32 0, i32 4
  store float %62, ptr %64, align 4, !tbaa !35
  %65 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayer", ptr %11, i32 0, i32 9
  store i32 0, ptr %65, align 8, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void

66:                                               ; preds = %42
  %67 = load ptr, ptr %9, align 8
  %68 = load i32, ptr %10, align 4
  %69 = insertvalue { ptr, i32 } poison, ptr %67, 0
  %70 = insertvalue { ptr, i32 } %69, i32 %68, 1
  resume { ptr, i32 } %70
}

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 }
attributes #5 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !17, i64 12}
!14 = !{!"_ZTSN8nvinfer16plugin14DetectionLayerE", !15, i64 0, !17, i64 8, !17, i64 12, !17, i64 16, !18, i64 20, !18, i64 24, !17, i64 28, !17, i64 32, !19, i64 40, !22, i64 56, !23, i64 60, !24, i64 80}
!15 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!17 = !{!"int", !7, i64 0}
!18 = !{!"float", !7, i64 0}
!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", !17, i64 0, !17, i64 4, !17, i64 8, !18, i64 12, !18, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !10, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!14, !17, i64 16}
!27 = !{!14, !18, i64 20}
!28 = !{!14, !18, i64 24}
!29 = !{!14, !17, i64 28}
!30 = !{!14, !17, i64 32}
!31 = !{!14, !17, i64 60}
!32 = !{!14, !17, i64 64}
!33 = !{!14, !17, i64 68}
!34 = !{!14, !18, i64 72}
!35 = !{!14, !18, i64 76}
!36 = !{!14, !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.17 = external hidden unnamed_addr constant [16 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: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin14DetectionLayerC2EPKvm(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %1, i64 noundef %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  tail call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  store ptr getelementptr inbounds inrange(-16, 200) (i8, ptr @_ZTVN8nvinfer16plugin14DetectionLayerE, i64 16), ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  store ptr %1, ptr %4, align 8, !tbaa !8
  %7 = call noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %8 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %7, ptr %8, align 4, !tbaa !11
  %9 = call noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %9, ptr %10, align 8, !tbaa !25
  %11 = call noundef float @_ZN8nvinfer16plugin4readIfhEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %12 = getelementptr inbounds i8, ptr %0, i64 20
  store float %11, ptr %12, align 4, !tbaa !26
  %13 = call noundef float @_ZN8nvinfer16plugin4readIfhEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  store float %13, ptr %14, align 8, !tbaa !27
  %15 = call noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %16 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %15, ptr %16, align 4, !tbaa !28
  %17 = call noundef i32 @_ZN8nvinfer16plugin4readIihEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %17, ptr %18, align 8, !tbaa !29
  %19 = load ptr, ptr %4, align 8, !tbaa !8
  %20 = getelementptr inbounds i8, ptr %1, i64 %2
  %21 = icmp eq ptr %19, %20
  br i1 %21, label %26, label %22

22:                                               ; preds = %3
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZN8nvinfer16plugin14DetectionLayerC2Eiiff, i32 noundef 245, i32 noundef 0, ptr noundef nonnull @.str.17) #5
          to label %23 unwind label %24

23:                                               ; preds = %22
  unreachable

24:                                               ; preds = %22
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @_ZNSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  resume { ptr, i32 } %25

26:                                               ; preds = %3
  %27 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 0, ptr %27, align 4, !tbaa !30
  %28 = getelementptr inbounds i8, ptr %0, i64 64
  %29 = load <2 x i32>, ptr %8, align 4, !tbaa !31
  store <2 x i32> %29, ptr %28, align 8, !tbaa !31
  %30 = getelementptr inbounds i8, ptr %0, i64 72
  %31 = load <2 x float>, ptr %12, align 4, !tbaa !32
  store <2 x float> %31, ptr %30, align 8, !tbaa !32
  %32 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %32, align 8, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  ret void
}

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 }
attributes #5 = { 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, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !15, i64 12}
!12 = !{!"_ZTSN8nvinfer16plugin14DetectionLayerE", !13, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !16, i64 20, !16, i64 24, !15, i64 28, !15, i64 32, !17, i64 40, !20, i64 56, !21, i64 60, !22, i64 80}
!13 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!15 = !{!"int", !10, i64 0}
!16 = !{!"float", !10, i64 0}
!17 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEE", !18, i64 0}
!18 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !9, i64 0}
!20 = !{!"_ZTSN8nvinfer18DataTypeE", !10, i64 0}
!21 = !{!"_ZTS19RefineNMSParameters", !15, i64 0, !15, i64 4, !15, i64 8, !16, i64 12, !16, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !10, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!24 = !{!"long", !10, i64 0}
!25 = !{!12, !15, i64 16}
!26 = !{!12, !16, i64 20}
!27 = !{!12, !16, i64 24}
!28 = !{!12, !15, i64 28}
!29 = !{!12, !15, i64 32}
!30 = !{!12, !15, i64 60}
!31 = !{!15, !15, i64 0}
!32 = !{!16, !16, i64 0}
!33 = !{!12, !20, i64 56}


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