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

%"class.nvinfer1::Dims3" = type { %"class.nvinfer1::Dims2" }
%"class.nvinfer1::Dims2" = type { %"class.nvinfer1::Dims64" }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::plugin::GenerateDetection" = type { %"class.nvinfer1::IPluginV2Ext", i32, i32, i32, float, float, i32, i32, %"class.std::shared_ptr", i32, %struct.RefineNMSParameters, %"class.std::shared_ptr.17", %"class.nvinfer1::Dims64", %"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::shared_ptr.17" = type { %"class.std::__shared_ptr.18" }
%"class.std::__shared_ptr.18" = type { ptr, %"class.std::__shared_count" }
%"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.101 = external hidden unnamed_addr constant [108 x i8], align 1
@__func__._ZN8nvinfer16plugin17GenerateDetection11deserializeEPKam = external hidden unnamed_addr constant [12 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [19 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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin17GenerateDetection11deserializeEPKam(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, i64 noundef %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca %"class.nvinfer1::Dims3", align 8
  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
  %13 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %14, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %15 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  store i32 %15, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %16 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  store i32 %16, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %17 = call noundef float @_ZN8nvinfer16plugin4readIfaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  store float %17, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %18 = call noundef float @_ZN8nvinfer16plugin4readIfaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  store float %18, ptr %11, align 4, !tbaa !13
  %19 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %20 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 6
  store i32 %19, ptr %20, align 4, !tbaa !15
  %21 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %22 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 7
  store i32 %21, ptr %22, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #5
  call void @_ZN8nvinfer16plugin4readINS_5Dims3EaEET_RPKT0_(ptr dead_on_unwind writable sret(%"class.nvinfer1::Dims3") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %23 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %12, i64 72, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #5
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = load i64, ptr %6, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %25, i64 %26
  %28 = icmp eq ptr %24, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %3
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.101, ptr noundef @__func__._ZN8nvinfer16plugin17GenerateDetection11deserializeEPKam, i32 noundef 254, i32 noundef 0, ptr noundef @.str.111) #6
  unreachable

30:                                               ; preds = %3
  %31 = load i32, ptr %8, align 4, !tbaa !11
  %32 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 2
  store i32 %31, ptr %32, align 4, !tbaa !32
  %33 = load i32, ptr %9, align 4, !tbaa !11
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 3
  store i32 %33, ptr %34, align 8, !tbaa !33
  %35 = load float, ptr %10, align 4, !tbaa !13
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 4
  store float %35, ptr %36, align 4, !tbaa !34
  %37 = load float, ptr %11, align 4, !tbaa !13
  %38 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 5
  store float %37, ptr %38, align 8, !tbaa !35
  %39 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 10
  %40 = getelementptr inbounds %struct.RefineNMSParameters, ptr %39, i32 0, i32 0
  store i32 0, ptr %40, align 4, !tbaa !36
  %41 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 2
  %42 = load i32, ptr %41, align 4, !tbaa !32
  %43 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 10
  %44 = getelementptr inbounds %struct.RefineNMSParameters, ptr %43, i32 0, i32 1
  store i32 %42, ptr %44, align 4, !tbaa !37
  %45 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 3
  %46 = load i32, ptr %45, align 8, !tbaa !33
  %47 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 10
  %48 = getelementptr inbounds %struct.RefineNMSParameters, ptr %47, i32 0, i32 2
  store i32 %46, ptr %48, align 4, !tbaa !38
  %49 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 4
  %50 = load float, ptr %49, align 4, !tbaa !34
  %51 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 10
  %52 = getelementptr inbounds %struct.RefineNMSParameters, ptr %51, i32 0, i32 3
  store float %50, ptr %52, align 4, !tbaa !39
  %53 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 5
  %54 = load float, ptr %53, align 8, !tbaa !35
  %55 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 10
  %56 = getelementptr inbounds %struct.RefineNMSParameters, ptr %55, i32 0, i32 4
  store float %54, ptr %56, align 4, !tbaa !40
  %57 = getelementptr inbounds %"class.nvinfer1::plugin::GenerateDetection", ptr %13, i32 0, i32 9
  store i32 0, ptr %57, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin4readINS_5Dims3EaEET_RPKT0_(ptr dead_on_unwind noalias writable sret(%"class.nvinfer1::Dims3") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !12, i64 28}
!16 = !{!"_ZTSN8nvinfer16plugin17GenerateDetectionE", !17, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !14, i64 20, !14, i64 24, !12, i64 28, !12, i64 32, !19, i64 40, !22, i64 56, !23, i64 60, !24, i64 80, !26, i64 96, !27, i64 168}
!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", !12, i64 0, !12, i64 4, !12, i64 8, !14, i64 12, !14, i64 16}
!24 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIfEEE", !25, i64 0}
!25 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIfEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !21, i64 8}
!26 = !{!"_ZTSN8nvinfer16Dims64E", !12, i64 0, !7, i64 8}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !10, i64 8, !7, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!29 = !{!16, !12, i64 32}
!30 = !{i64 0, i64 4, !11, i64 8, i64 64, !31}
!31 = !{!7, !7, i64 0}
!32 = !{!16, !12, i64 12}
!33 = !{!16, !12, i64 16}
!34 = !{!16, !14, i64 20}
!35 = !{!16, !14, i64 24}
!36 = !{!16, !12, i64 60}
!37 = !{!16, !12, i64 64}
!38 = !{!16, !12, i64 68}
!39 = !{!16, !14, i64 72}
!40 = !{!16, !14, i64 76}
!41 = !{!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"

%"class.nvinfer1::Dims3" = type { %"class.nvinfer1::Dims2" }
%"class.nvinfer1::Dims2" = type { %"class.nvinfer1::Dims64" }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }

@.str.101 = external hidden unnamed_addr constant [108 x i8], align 1
@__func__._ZN8nvinfer16plugin17GenerateDetection11deserializeEPKam = external hidden unnamed_addr constant [12 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [19 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

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin17GenerateDetection11deserializeEPKam(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(200) %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca %"class.nvinfer1::Dims3", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %7 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %8 = call noundef float @_ZN8nvinfer16plugin4readIfaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %9 = call noundef float @_ZN8nvinfer16plugin4readIfaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %10 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %11 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %10, ptr %11, align 4, !tbaa !9
  %12 = call noundef i32 @_ZN8nvinfer16plugin4readIiaEET_RPKT0_(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %12, ptr %13, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5
  call void @_ZN8nvinfer16plugin4readINS_5Dims3EaEET_RPKT0_(ptr dead_on_unwind nonnull writable sret(%"class.nvinfer1::Dims3") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %14 = getelementptr inbounds i8, ptr %0, i64 96
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %14, ptr noundef nonnull align 8 dereferenceable(72) %5, i64 72, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %1, i64 %2
  %17 = icmp eq ptr %15, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %3
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.101, ptr noundef nonnull @__func__._ZN8nvinfer16plugin17GenerateDetection11deserializeEPKam, i32 noundef 254, i32 noundef 0, ptr noundef nonnull @.str.111) #6
  unreachable

19:                                               ; preds = %3
  %20 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %6, ptr %20, align 4, !tbaa !30
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %7, ptr %21, align 8, !tbaa !31
  %22 = getelementptr inbounds i8, ptr %0, i64 20
  store float %8, ptr %22, align 4, !tbaa !32
  %23 = getelementptr inbounds i8, ptr %0, i64 24
  store float %9, ptr %23, align 8, !tbaa !33
  %24 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 0, ptr %24, align 4, !tbaa !34
  %25 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %6, ptr %25, align 8, !tbaa !35
  %26 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 %7, ptr %26, align 4, !tbaa !36
  %27 = getelementptr inbounds i8, ptr %0, i64 72
  store float %8, ptr %27, align 8, !tbaa !37
  %28 = getelementptr inbounds i8, ptr %0, i64 76
  store float %9, ptr %28, align 4, !tbaa !38
  %29 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %29, align 8, !tbaa !39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin4readINS_5Dims3EaEET_RPKT0_(ptr dead_on_unwind noalias writable sret(%"class.nvinfer1::Dims3") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { nounwind }
attributes #6 = { 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, !13, i64 28}
!10 = !{!"_ZTSN8nvinfer16plugin17GenerateDetectionE", !11, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 20, !14, i64 24, !13, i64 28, !13, i64 32, !15, i64 40, !18, i64 56, !19, i64 60, !20, i64 80, !22, i64 96, !23, i64 168}
!11 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !12, i64 0}
!12 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIiEEE", !16, i64 0}
!16 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIiEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!18 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!19 = !{!"_ZTS19RefineNMSParameters", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 12, !14, i64 16}
!20 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIfEEE", !21, i64 0}
!21 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIfEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !17, i64 8}
!22 = !{!"_ZTSN8nvinfer16Dims64E", !13, i64 0, !7, i64 8}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !25, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!10, !13, i64 32}
!27 = !{i64 0, i64 4, !28, i64 8, i64 64, !29}
!28 = !{!13, !13, i64 0}
!29 = !{!7, !7, i64 0}
!30 = !{!10, !13, i64 12}
!31 = !{!10, !13, i64 16}
!32 = !{!10, !14, i64 20}
!33 = !{!10, !14, i64 24}
!34 = !{!10, !13, i64 60}
!35 = !{!10, !13, i64 64}
!36 = !{!10, !13, i64 68}
!37 = !{!10, !14, i64 72}
!38 = !{!10, !14, i64 76}
!39 = !{!10, !18, i64 56}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass