; 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::plugin::LogStream" = type { %"class.std::basic_ostream.base", %"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf", %"class.std::mutex", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf" = type { %"class.std::__cxx11::basic_stringbuf" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = 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] }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"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 }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }
%"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 }
%"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 }

@.str = external hidden unnamed_addr constant [98 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN8nvinfer16plugin25EfficientNMSPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZN8nvinfer16plugin11gLogWarningE = external global %"class.nvinfer1::plugin::LogStream", align 8
@.str.40 = external hidden unnamed_addr constant [111 x i8], align 1

; 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) #0

declare i32 @__gxx_personality_v0(...)

; 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: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2

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

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8)) #5

declare void @__cxa_end_catch()

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #9

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin29EfficientNMSONNXPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.nvinfer1::plugin::EfficientNMSParameters", align 8
  %15 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %16 = load ptr, ptr %5, align 8
  %17 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EA111_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152) @_ZN8nvinfer16plugin11gLogWarningE, ptr noundef nonnull align 1 dereferenceable(111) @.str.40)
          to label %18 unwind label %31

18:                                               ; preds = %3
  %19 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EEERNS0_9LogStreamIXT_EEES6_PFRSoS7_E(ptr noundef nonnull align 8 dereferenceable(152) %17, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %20 unwind label %31

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  store ptr %23, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  store i32 0, ptr %11, align 4, !tbaa !12
  br label %24

24:                                               ; preds = %142, %20
  %25 = load i32, ptr %11, align 4, !tbaa !12
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %26, i32 0, i32 0
  %28 = load i32, ptr %27, align 8, !tbaa !13
  %29 = icmp slt i32 %25, %28
  br i1 %29, label %35, label %30

30:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  br label %145

31:                                               ; preds = %18, %3
  %32 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %8, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %9, align 4
  br label %174

35:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = load i32, ptr %11, align 4, !tbaa !12
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %36, i64 %38
  %40 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !14
  store ptr %41, ptr %12, align 8, !tbaa !5
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.20) #12
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %69, label %45

45:                                               ; preds = %35
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = load i32, ptr %11, align 4, !tbaa !12
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %46, i64 %48
  %50 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 8, !tbaa !17
  %52 = icmp eq i32 %51, 1
  br i1 %52, label %59, label %53

53:                                               ; preds = %45
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin25EfficientNMSPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 575, i32 noundef 0, ptr noundef @.str.29) #13
          to label %54 unwind label %55

54:                                               ; preds = %53
  unreachable

55:                                               ; preds = %129, %105, %81, %53
  %56 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %8, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  br label %173

59:                                               ; preds = %45
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = load i32, ptr %11, align 4, !tbaa !12
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %60, i64 %62
  %64 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %63, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8, !tbaa !18
  %66 = load float, ptr %65, align 4, !tbaa !19
  %67 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  %68 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %67, i32 0, i32 1
  store float %66, ptr %68, align 4, !tbaa !21
  br label %69

69:                                               ; preds = %59, %35
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = call i32 @strcmp(ptr noundef %70, ptr noundef @.str.21) #12
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %93, label %73

73:                                               ; preds = %69
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = load i32, ptr %11, align 4, !tbaa !12
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %74, i64 %76
  %78 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %77, i32 0, i32 2
  %79 = load i32, ptr %78, align 8, !tbaa !17
  %80 = icmp eq i32 %79, 1
  br i1 %80, label %83, label %81

81:                                               ; preds = %73
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin25EfficientNMSPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 580, i32 noundef 0, ptr noundef @.str.29) #13
          to label %82 unwind label %55

82:                                               ; preds = %81
  unreachable

83:                                               ; preds = %73
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = load i32, ptr %11, align 4, !tbaa !12
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %84, i64 %86
  %88 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %87, i32 0, i32 1
  %89 = load ptr, ptr %88, align 8, !tbaa !18
  %90 = load float, ptr %89, align 4, !tbaa !19
  %91 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  %92 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %91, i32 0, i32 0
  store float %90, ptr %92, align 8, !tbaa !37
  br label %93

93:                                               ; preds = %83, %69
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = call i32 @strcmp(ptr noundef %94, ptr noundef @.str.37) #12
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %117, label %97

97:                                               ; preds = %93
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = load i32, ptr %11, align 4, !tbaa !12
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %98, i64 %100
  %102 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %101, i32 0, i32 2
  %103 = load i32, ptr %102, align 8, !tbaa !17
  %104 = icmp eq i32 %103, 5
  br i1 %104, label %107, label %105

105:                                              ; preds = %97
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin25EfficientNMSPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 585, i32 noundef 0, ptr noundef @.str.32) #13
          to label %106 unwind label %55

106:                                              ; preds = %105
  unreachable

107:                                              ; preds = %97
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = load i32, ptr %11, align 4, !tbaa !12
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %108, i64 %110
  %112 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %111, i32 0, i32 1
  %113 = load ptr, ptr %112, align 8, !tbaa !18
  %114 = load i32, ptr %113, align 4, !tbaa !12
  %115 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  %116 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %115, i32 0, i32 3
  store i32 %114, ptr %116, align 4, !tbaa !38
  br label %117

117:                                              ; preds = %107, %93
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = call i32 @strcmp(ptr noundef %118, ptr noundef @.str.38) #12
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %141, label %121

121:                                              ; preds = %117
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = load i32, ptr %11, align 4, !tbaa !12
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %122, i64 %124
  %126 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %125, i32 0, i32 2
  %127 = load i32, ptr %126, align 8, !tbaa !17
  %128 = icmp eq i32 %127, 5
  br i1 %128, label %131, label %129

129:                                              ; preds = %121
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin25EfficientNMSPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 590, i32 noundef 0, ptr noundef @.str.32) #13
          to label %130 unwind label %55

130:                                              ; preds = %129
  unreachable

131:                                              ; preds = %121
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = load i32, ptr %11, align 4, !tbaa !12
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %132, i64 %134
  %136 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %135, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !18
  %138 = load i32, ptr %137, align 4, !tbaa !12
  %139 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  %140 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %139, i32 0, i32 8
  store i32 %138, ptr %140, align 4, !tbaa !39
  br label %141

141:                                              ; preds = %131, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  br label %142

142:                                              ; preds = %141
  %143 = load i32, ptr %11, align 4, !tbaa !12
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %11, align 4, !tbaa !12
  br label %24, !llvm.loop !40

145:                                              ; preds = %30
  %146 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  %147 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %146, i32 0, i32 12
  store i8 1, ptr %147, align 4, !tbaa !42
  %148 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  %149 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %148, i32 0, i32 3
  %150 = load i32, ptr %149, align 4, !tbaa !38
  %151 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  %152 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %151, i32 0, i32 2
  store i32 %150, ptr %152, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %153 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 120) #14
          to label %154 unwind label %164

154:                                              ; preds = %145
  %155 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSONNXPluginCreator", ptr %16, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %155, i64 76, i1 false), !tbaa.struct !44
  invoke void @_ZN8nvinfer16plugin18EfficientNMSPluginC1ENS0_22EfficientNMSParametersE(ptr noundef nonnull align 8 dereferenceable(120) %153, ptr noundef byval(%"struct.nvinfer1::plugin::EfficientNMSParameters") align 8 %14)
          to label %156 unwind label %168

156:                                              ; preds = %154
  store ptr %153, ptr %13, align 8, !tbaa !5
  %157 = load ptr, ptr %13, align 8, !tbaa !5
  %158 = getelementptr inbounds %"class.nvinfer1::pluginInternal::BaseCreator", ptr %16, i32 0, i32 1
  %159 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %158) #11
  %160 = load ptr, ptr %157, align 8, !tbaa !47
  %161 = getelementptr inbounds ptr, ptr %160, i64 15
  %162 = load ptr, ptr %161, align 8
  call void %162(ptr noundef nonnull align 8 dereferenceable(120) %157, ptr noundef %159) #11
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %163, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  br label %185

164:                                              ; preds = %145
  %165 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %8, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %9, align 4
  br label %172

168:                                              ; preds = %154
  %169 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %8, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %153, i64 noundef 120) #15
  br label %172

172:                                              ; preds = %168, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  br label %173

173:                                              ; preds = %172, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  br label %174

174:                                              ; preds = %173, %31
  %175 = load i32, ptr %9, align 4
  %176 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #11
  %177 = icmp eq i32 %175, %176
  br i1 %177, label %178, label %190

178:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %179 = load ptr, ptr %8, align 8
  %180 = call ptr @__cxa_begin_catch(ptr %179) #11
  store ptr %180, ptr %15, align 8
  %181 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %181)
          to label %182 unwind label %187

182:                                              ; preds = %178
  invoke void @__cxa_end_catch()
          to label %183 unwind label %187

183:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  br label %184

184:                                              ; preds = %183
  store ptr null, ptr %4, align 8
  br label %185

185:                                              ; preds = %184, %156
  %186 = load ptr, ptr %4, align 8
  ret ptr %186

187:                                              ; preds = %182, %178
  %188 = landingpad { ptr, i32 }
          catch ptr null
  %189 = extractvalue { ptr, i32 } %188, 0
  call void @__clang_call_terminate(ptr %189) #16
  unreachable

190:                                              ; preds = %174
  %191 = load ptr, ptr %8, align 8
  call void @__clang_call_terminate(ptr %191) #16
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EEERNS0_9LogStreamIXT_EEES6_PFRSoS7_E(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EA111_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 1 dereferenceable(111)) #10

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

declare void @_ZN8nvinfer16plugin18EfficientNMSPluginC1ENS0_22EfficientNMSParametersE(ptr, ptr)

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


; 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::plugin::LogStream" = type { %"class.std::basic_ostream.base", %"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf", %"class.std::mutex", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf" = type { %"class.std::__cxx11::basic_stringbuf" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = 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] }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }
%"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 }

@.str = external hidden unnamed_addr constant [98 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN8nvinfer16plugin25EfficientNMSPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZN8nvinfer16plugin11gLogWarningE = external global %"class.nvinfer1::plugin::LogStream", align 8
@.str.40 = external hidden unnamed_addr constant [111 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: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #1

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin29EfficientNMSONNXPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EA111_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152) @_ZN8nvinfer16plugin11gLogWarningE, ptr noundef nonnull align 1 dereferenceable(111) @.str.40)
          to label %5 unwind label %21

5:                                                ; preds = %3
  %6 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EEERNS0_9LogStreamIXT_EEES6_PFRSoS7_E(ptr noundef nonnull align 8 dereferenceable(152) %4, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %7 unwind label %21

7:                                                ; preds = %5
  %8 = getelementptr inbounds i8, ptr %2, i64 8
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = load i32, ptr %2, align 8, !tbaa !11
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %7
  %12 = getelementptr inbounds i8, ptr %0, i64 60
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  %14 = getelementptr inbounds i8, ptr %0, i64 68
  %15 = getelementptr inbounds i8, ptr %0, i64 84
  %wide.trip.count = zext nneg i32 %10 to i64
  br label %23

._crit_edge:                                      ; preds = %69, %7
  %16 = getelementptr inbounds i8, ptr %0, i64 100
  store i8 1, ptr %16, align 4, !tbaa !12
  %17 = getelementptr inbounds i8, ptr %0, i64 68
  %18 = load i32, ptr %17, align 4, !tbaa !29
  %19 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %18, ptr %19, align 8, !tbaa !30
  %20 = invoke noalias noundef nonnull dereferenceable(120) ptr @_Znwm(i64 noundef 120) #9
          to label %70 unwind label %78

21:                                               ; preds = %5, %3
  %22 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %82

23:                                               ; preds = %.lr.ph, %69
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %69 ]
  %24 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %9, i64 %indvars.iv
  %25 = load ptr, ptr %24, align 8, !tbaa !31
  %26 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %25, ptr noundef nonnull dereferenceable(1) @.str.20) #10
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %27, label %37

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %24, i64 16
  %29 = load i32, ptr %28, align 8, !tbaa !34
  %30 = icmp eq i32 %29, 1
  br i1 %30, label %33, label %.invoke

31:                                               ; preds = %.invoke
  %32 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %82

33:                                               ; preds = %27
  %34 = getelementptr inbounds i8, ptr %24, i64 8
  %35 = load ptr, ptr %34, align 8, !tbaa !35
  %36 = load float, ptr %35, align 4, !tbaa !36
  store float %36, ptr %12, align 4, !tbaa !37
  br label %37

37:                                               ; preds = %33, %23
  %38 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %25, ptr noundef nonnull dereferenceable(1) @.str.21) #10
  %.not39 = icmp eq i32 %38, 0
  br i1 %.not39, label %39, label %47

39:                                               ; preds = %37
  %40 = getelementptr inbounds i8, ptr %24, i64 16
  %41 = load i32, ptr %40, align 8, !tbaa !34
  %42 = icmp eq i32 %41, 1
  br i1 %42, label %43, label %.invoke

43:                                               ; preds = %39
  %44 = getelementptr inbounds i8, ptr %24, i64 8
  %45 = load ptr, ptr %44, align 8, !tbaa !35
  %46 = load float, ptr %45, align 4, !tbaa !36
  store float %46, ptr %13, align 8, !tbaa !38
  br label %47

47:                                               ; preds = %43, %37
  %48 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %25, ptr noundef nonnull dereferenceable(1) @.str.37) #10
  %.not40 = icmp eq i32 %48, 0
  br i1 %.not40, label %49, label %57

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %24, i64 16
  %51 = load i32, ptr %50, align 8, !tbaa !34
  %52 = icmp eq i32 %51, 5
  br i1 %52, label %53, label %.invoke

53:                                               ; preds = %49
  %54 = getelementptr inbounds i8, ptr %24, i64 8
  %55 = load ptr, ptr %54, align 8, !tbaa !35
  %56 = load i32, ptr %55, align 4, !tbaa !39
  store i32 %56, ptr %14, align 4, !tbaa !29
  br label %57

57:                                               ; preds = %53, %47
  %58 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %25, ptr noundef nonnull dereferenceable(1) @.str.38) #10
  %.not41 = icmp eq i32 %58, 0
  br i1 %.not41, label %59, label %69

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %24, i64 16
  %61 = load i32, ptr %60, align 8, !tbaa !34
  %62 = icmp eq i32 %61, 5
  br i1 %62, label %65, label %.invoke

.invoke:                                          ; preds = %27, %59, %49, %39
  %63 = phi i32 [ 580, %39 ], [ 585, %49 ], [ 590, %59 ], [ 575, %27 ]
  %64 = phi ptr [ @.str.29, %39 ], [ @.str.32, %49 ], [ @.str.32, %59 ], [ @.str.29, %27 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin25EfficientNMSPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef %63, i32 noundef 0, ptr noundef nonnull %64) #11
          to label %.cont unwind label %31

.cont:                                            ; preds = %.invoke
  unreachable

65:                                               ; preds = %59
  %66 = getelementptr inbounds i8, ptr %24, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !35
  %68 = load i32, ptr %67, align 4, !tbaa !39
  store i32 %68, ptr %15, align 4, !tbaa !40
  br label %69

69:                                               ; preds = %65, %57
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %23, !llvm.loop !41

70:                                               ; preds = %._crit_edge
  %71 = getelementptr inbounds i8, ptr %0, i64 56
  invoke void @_ZN8nvinfer16plugin18EfficientNMSPluginC1ENS0_22EfficientNMSParametersE(ptr noundef nonnull align 8 dereferenceable(120) %20, ptr noundef nonnull byval(%"struct.nvinfer1::plugin::EfficientNMSParameters") align 8 %71)
          to label %72 unwind label %80

72:                                               ; preds = %70
  %73 = getelementptr inbounds i8, ptr %0, i64 8
  %74 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %73) #12
  %75 = load ptr, ptr %20, align 8, !tbaa !43
  %76 = getelementptr inbounds i8, ptr %75, i64 120
  %77 = load ptr, ptr %76, align 8
  tail call void %77(ptr noundef nonnull align 8 dereferenceable(120) %20, ptr noundef %74) #12
  br label %88

78:                                               ; preds = %._crit_edge
  %79 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %82

80:                                               ; preds = %70
  %81 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  tail call void @_ZdlPvm(ptr noundef nonnull %20, i64 noundef 120) #13
  br label %82

82:                                               ; preds = %31, %80, %78, %21
  %.pn42.pn = phi { ptr, i32 } [ %22, %21 ], [ %32, %31 ], [ %81, %80 ], [ %79, %78 ]
  %.2 = extractvalue { ptr, i32 } %.pn42.pn, 0
  %.236 = extractvalue { ptr, i32 } %.pn42.pn, 1
  %83 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #12
  %84 = icmp eq i32 %.236, %83
  br i1 %84, label %85, label %92

85:                                               ; preds = %82
  %86 = tail call ptr @__cxa_begin_catch(ptr %.2) #12
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %86)
          to label %87 unwind label %89

87:                                               ; preds = %85
  invoke void @__cxa_end_catch()
          to label %88 unwind label %89

88:                                               ; preds = %87, %72
  %.0 = phi ptr [ %20, %72 ], [ null, %87 ]
  ret ptr %.0

89:                                               ; preds = %87, %85
  %90 = landingpad { ptr, i32 }
          catch ptr null
  %91 = extractvalue { ptr, i32 } %90, 0
  tail call void @__clang_call_terminate(ptr %91) #14
  unreachable

92:                                               ; preds = %82
  tail call void @__clang_call_terminate(ptr %.2) #14
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EEERNS0_9LogStreamIXT_EEES6_PFRSoS7_E(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EA111_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 1 dereferenceable(111)) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

declare void @_ZN8nvinfer16plugin18EfficientNMSPluginC1ENS0_22EfficientNMSParametersE(ptr, ptr) local_unnamed_addr

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 = { 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 #2 = { nofree nosync nounwind memory(none) }
attributes #3 = { inlinehint 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 = { nobuiltin allocsize(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 #6 = { nobuiltin nounwind "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 #7 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #8 = { 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 #9 = { builtin allocsize(0) }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn }
attributes #12 = { nounwind }
attributes #13 = { builtin nounwind }
attributes #14 = { 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, !10, i64 8}
!6 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !23, i64 100}
!13 = !{!"_ZTSN8nvinfer16plugin29EfficientNMSONNXPluginCreatorE", !14, i64 0, !6, i64 40, !21, i64 56, !25, i64 136, !18, i64 160}
!14 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !15, i64 0, !18, i64 8}
!15 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !17, i64 0}
!17 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !20, i64 8, !8, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!20 = !{!"long", !8, i64 0}
!21 = !{!"_ZTSN8nvinfer16plugin22EfficientNMSParametersE", !22, i64 0, !22, i64 4, !7, i64 8, !7, i64 12, !23, i64 16, !7, i64 20, !23, i64 24, !23, i64 25, !7, i64 28, !23, i64 32, !7, i64 36, !7, i64 40, !23, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !23, i64 68, !23, i64 69, !23, i64 70, !24, i64 72}
!22 = !{!"float", !8, i64 0}
!23 = !{!"bool", !8, i64 0}
!24 = !{!"_ZTSN8nvinfer18DataTypeE", !8, i64 0}
!25 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!29 = !{!13, !7, i64 68}
!30 = !{!13, !7, i64 64}
!31 = !{!32, !10, i64 0}
!32 = !{!"_ZTSN8nvinfer111PluginFieldE", !10, i64 0, !10, i64 8, !33, i64 16, !7, i64 20}
!33 = !{!"_ZTSN8nvinfer115PluginFieldTypeE", !8, i64 0}
!34 = !{!32, !33, i64 16}
!35 = !{!32, !10, i64 8}
!36 = !{!22, !22, i64 0}
!37 = !{!13, !22, i64 60}
!38 = !{!13, !22, i64 56}
!39 = !{!7, !7, i64 0}
!40 = !{!13, !7, i64 84}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!44, !44, i64 0}
!44 = !{!"vtable pointer", !9, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass