; 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::EfficientNMSPlugin" = type { %"class.nvinfer1::IPluginV2DynamicExt", %"struct.nvinfer1::plugin::EfficientNMSParameters", i8, %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::IPluginV2DynamicExt" = type { %"class.nvinfer1::IPluginV2Ext" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"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 }
%"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] }
%"struct.nvinfer1::DynamicPluginTensorDesc" = type { %"struct.nvinfer1::PluginTensorDesc", %"class.nvinfer1::Dims64", %"class.nvinfer1::Dims64", %"class.nvinfer1::Dims64" }
%"struct.nvinfer1::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }

@.str = external hidden unnamed_addr constant [98 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [28 x i8], align 1

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

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

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

declare ptr @__cxa_begin_catch(ptr)

declare void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef, ptr noundef, i32 noundef) #2

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

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

declare void @__cxa_end_catch()

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin18EfficientNMSPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %14 = load ptr, ptr %6, align 8
  %15 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %16 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %15, i32 0, i32 12
  %17 = load i8, ptr %16, align 4, !tbaa !11, !range !23, !noundef !24
  %18 = trunc i8 %17 to i1
  br i1 %18, label %19, label %45

19:                                               ; preds = %5
  %20 = load i32, ptr %8, align 4, !tbaa !9
  %21 = icmp eq i32 %20, 2
  br i1 %21, label %39, label %22

22:                                               ; preds = %19
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.7, ptr noundef @.str, i32 noundef 292)
          to label %23 unwind label %24

23:                                               ; preds = %22
  br label %39

24:                                               ; preds = %308, %252, %241, %189, %170, %91, %56, %51, %42, %22
  %25 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %11, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %12, align 4
  br label %28

28:                                               ; preds = %24
  %29 = load i32, ptr %12, align 4
  %30 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #6
  %31 = icmp eq i32 %29, %30
  br i1 %31, label %32, label %328

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %33 = load ptr, ptr %11, align 8
  %34 = call ptr @__cxa_begin_catch(ptr %33) #6
  store ptr %34, ptr %13, align 8
  %35 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %36 unwind label %325

36:                                               ; preds = %32
  invoke void @__cxa_end_catch()
          to label %37 unwind label %325

37:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %38

38:                                               ; preds = %324, %37
  ret void

39:                                               ; preds = %23, %19
  %40 = load i32, ptr %10, align 4, !tbaa !9
  %41 = icmp eq i32 %40, 1
  br i1 %41, label %44, label %42

42:                                               ; preds = %39
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.8, ptr noundef @.str, i32 noundef 293)
          to label %43 unwind label %24

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43, %39
  br label %59

45:                                               ; preds = %5
  %46 = load i32, ptr %8, align 4, !tbaa !9
  %47 = icmp eq i32 %46, 2
  br i1 %47, label %53, label %48

48:                                               ; preds = %45
  %49 = load i32, ptr %8, align 4, !tbaa !9
  %50 = icmp eq i32 %49, 3
  br i1 %50, label %53, label %51

51:                                               ; preds = %48
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.9, ptr noundef @.str, i32 noundef 300)
          to label %52 unwind label %24

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52, %48, %45
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = icmp eq i32 %54, 4
  br i1 %55, label %58, label %56

56:                                               ; preds = %53
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.10, ptr noundef @.str, i32 noundef 301)
          to label %57 unwind label %24

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57, %53
  br label %59

59:                                               ; preds = %58, %44
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %60, i64 0
  %62 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 8, !tbaa !25
  %65 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %66 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %65, i32 0, i32 21
  store i32 %64, ptr %66, align 8, !tbaa !30
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %67, i64 1
  %69 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %68, i32 0, i32 0
  %70 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %69, i32 0, i32 0
  %71 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %70, i32 0, i32 0
  %72 = load i32, ptr %71, align 8, !tbaa !31
  %73 = icmp eq i32 %72, 3
  br i1 %73, label %93, label %74

74:                                               ; preds = %59
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %75, i64 1
  %77 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %77, i32 0, i32 0
  %79 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 8, !tbaa !31
  %81 = icmp eq i32 %80, 4
  br i1 %81, label %82, label %91

82:                                               ; preds = %74
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %83, i64 1
  %85 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %86, i32 0, i32 1
  %88 = getelementptr inbounds [8 x i64], ptr %87, i64 0, i64 3
  %89 = load i64, ptr %88, align 8, !tbaa !32
  %90 = icmp eq i64 %89, 1
  br i1 %90, label %93, label %91

91:                                               ; preds = %82, %74
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.13, ptr noundef @.str, i32 noundef 307)
          to label %92 unwind label %24

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92, %82, %59
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %94, i64 1
  %96 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %96, i32 0, i32 0
  %98 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %97, i32 0, i32 1
  %99 = getelementptr inbounds [8 x i64], ptr %98, i64 0, i64 1
  %100 = load i64, ptr %99, align 8, !tbaa !32
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %101, i64 1
  %103 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %102, i32 0, i32 0
  %104 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %104, i32 0, i32 1
  %106 = getelementptr inbounds [8 x i64], ptr %105, i64 0, i64 2
  %107 = load i64, ptr %106, align 8, !tbaa !32
  %108 = mul nsw i64 %100, %107
  %109 = trunc i64 %108 to i32
  %110 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %111 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %110, i32 0, i32 16
  store i32 %109, ptr %111, align 4, !tbaa !33
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %112, i64 1
  %114 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %114, i32 0, i32 0
  %116 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %115, i32 0, i32 1
  %117 = getelementptr inbounds [8 x i64], ptr %116, i64 0, i64 2
  %118 = load i64, ptr %117, align 8, !tbaa !32
  %119 = trunc i64 %118 to i32
  %120 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %121 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %120, i32 0, i32 14
  store i32 %119, ptr %121, align 4, !tbaa !34
  %122 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %123 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %122, i32 0, i32 4
  %124 = load i8, ptr %123, align 8, !tbaa !35, !range !23, !noundef !24
  %125 = trunc i8 %124 to i1
  br i1 %125, label %126, label %154

126:                                              ; preds = %93
  %127 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %128 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %127, i32 0, i32 3
  %129 = load i32, ptr %128, align 4, !tbaa !36
  %130 = icmp sgt i32 %129, 0
  br i1 %130, label %131, label %154

131:                                              ; preds = %126
  %132 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %133 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %132, i32 0, i32 3
  %134 = load i32, ptr %133, align 4, !tbaa !36
  %135 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %136 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %135, i32 0, i32 14
  %137 = load i32, ptr %136, align 4, !tbaa !34
  %138 = mul nsw i32 %134, %137
  %139 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %140 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %139, i32 0, i32 2
  %141 = load i32, ptr %140, align 8, !tbaa !37
  %142 = icmp slt i32 %138, %141
  br i1 %142, label %143, label %153

143:                                              ; preds = %131
  %144 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %145 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %144, i32 0, i32 3
  %146 = load i32, ptr %145, align 4, !tbaa !36
  %147 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %148 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %147, i32 0, i32 14
  %149 = load i32, ptr %148, align 4, !tbaa !34
  %150 = mul nsw i32 %146, %149
  %151 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %152 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %151, i32 0, i32 2
  store i32 %150, ptr %152, align 8, !tbaa !37
  br label %153

153:                                              ; preds = %143, %131
  br label %154

154:                                              ; preds = %153, %126, %93
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %155, i64 0
  %157 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %157, i32 0, i32 0
  %159 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %158, i32 0, i32 0
  %160 = load i32, ptr %159, align 8, !tbaa !31
  %161 = icmp eq i32 %160, 3
  br i1 %161, label %172, label %162

162:                                              ; preds = %154
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %163, i64 0
  %165 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %165, i32 0, i32 0
  %167 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %166, i32 0, i32 0
  %168 = load i32, ptr %167, align 8, !tbaa !31
  %169 = icmp eq i32 %168, 4
  br i1 %169, label %172, label %170

170:                                              ; preds = %162
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.14, ptr noundef @.str, i32 noundef 324)
          to label %171 unwind label %24

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171, %162, %154
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %173, i64 0
  %175 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %175, i32 0, i32 0
  %177 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %176, i32 0, i32 0
  %178 = load i32, ptr %177, align 8, !tbaa !31
  %179 = icmp eq i32 %178, 3
  br i1 %179, label %180, label %212

180:                                              ; preds = %172
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %181, i64 0
  %183 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %182, i32 0, i32 0
  %184 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %184, i32 0, i32 1
  %186 = getelementptr inbounds [8 x i64], ptr %185, i64 0, i64 2
  %187 = load i64, ptr %186, align 8, !tbaa !32
  %188 = icmp eq i64 %187, 4
  br i1 %188, label %191, label %189

189:                                              ; preds = %180
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.15, ptr noundef @.str, i32 noundef 327)
          to label %190 unwind label %24

190:                                              ; preds = %189
  br label %191

191:                                              ; preds = %190, %180
  %192 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %193 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %192, i32 0, i32 18
  store i8 1, ptr %193, align 4, !tbaa !38
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %194, i64 0
  %196 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %195, i32 0, i32 0
  %197 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %196, i32 0, i32 0
  %198 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %197, i32 0, i32 1
  %199 = getelementptr inbounds [8 x i64], ptr %198, i64 0, i64 1
  %200 = load i64, ptr %199, align 8, !tbaa !32
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %201, i64 0
  %203 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %202, i32 0, i32 0
  %204 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %203, i32 0, i32 0
  %205 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %204, i32 0, i32 1
  %206 = getelementptr inbounds [8 x i64], ptr %205, i64 0, i64 2
  %207 = load i64, ptr %206, align 8, !tbaa !32
  %208 = mul nsw i64 %200, %207
  %209 = trunc i64 %208 to i32
  %210 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %211 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %210, i32 0, i32 15
  store i32 %209, ptr %211, align 8, !tbaa !39
  br label %281

212:                                              ; preds = %172
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %213, i64 0
  %215 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %214, i32 0, i32 0
  %216 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %215, i32 0, i32 0
  %217 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %216, i32 0, i32 1
  %218 = getelementptr inbounds [8 x i64], ptr %217, i64 0, i64 2
  %219 = load i64, ptr %218, align 8, !tbaa !32
  %220 = icmp eq i64 %219, 1
  %221 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %222 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %221, i32 0, i32 18
  %223 = zext i1 %220 to i8
  store i8 %223, ptr %222, align 4, !tbaa !38
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %224, i64 0
  %226 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %225, i32 0, i32 0
  %227 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %226, i32 0, i32 0
  %228 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %227, i32 0, i32 1
  %229 = getelementptr inbounds [8 x i64], ptr %228, i64 0, i64 2
  %230 = load i64, ptr %229, align 8, !tbaa !32
  %231 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %232 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %231, i32 0, i32 14
  %233 = load i32, ptr %232, align 4, !tbaa !34
  %234 = sext i32 %233 to i64
  %235 = icmp eq i64 %230, %234
  br i1 %235, label %243, label %236

236:                                              ; preds = %212
  %237 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %238 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %237, i32 0, i32 18
  %239 = load i8, ptr %238, align 4, !tbaa !38, !range !23, !noundef !24
  %240 = trunc i8 %239 to i1
  br i1 %240, label %243, label %241

241:                                              ; preds = %236
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.16, ptr noundef @.str, i32 noundef 334)
          to label %242 unwind label %24

242:                                              ; preds = %241
  br label %243

243:                                              ; preds = %242, %236, %212
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %244, i64 0
  %246 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %245, i32 0, i32 0
  %247 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %246, i32 0, i32 0
  %248 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %247, i32 0, i32 1
  %249 = getelementptr inbounds [8 x i64], ptr %248, i64 0, i64 3
  %250 = load i64, ptr %249, align 8, !tbaa !32
  %251 = icmp eq i64 %250, 4
  br i1 %251, label %254, label %252

252:                                              ; preds = %243
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.17, ptr noundef @.str, i32 noundef 335)
          to label %253 unwind label %24

253:                                              ; preds = %252
  br label %254

254:                                              ; preds = %253, %243
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %255, i64 0
  %257 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %256, i32 0, i32 0
  %258 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %257, i32 0, i32 0
  %259 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %258, i32 0, i32 1
  %260 = getelementptr inbounds [8 x i64], ptr %259, i64 0, i64 1
  %261 = load i64, ptr %260, align 8, !tbaa !32
  %262 = load ptr, ptr %7, align 8, !tbaa !5
  %263 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %262, i64 0
  %264 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %263, i32 0, i32 0
  %265 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %265, i32 0, i32 1
  %267 = getelementptr inbounds [8 x i64], ptr %266, i64 0, i64 2
  %268 = load i64, ptr %267, align 8, !tbaa !32
  %269 = mul nsw i64 %261, %268
  %270 = load ptr, ptr %7, align 8, !tbaa !5
  %271 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %270, i64 0
  %272 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %271, i32 0, i32 0
  %273 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %272, i32 0, i32 0
  %274 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %273, i32 0, i32 1
  %275 = getelementptr inbounds [8 x i64], ptr %274, i64 0, i64 3
  %276 = load i64, ptr %275, align 8, !tbaa !32
  %277 = mul nsw i64 %269, %276
  %278 = trunc i64 %277 to i32
  %279 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %280 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %279, i32 0, i32 15
  store i32 %278, ptr %280, align 8, !tbaa !39
  br label %281

281:                                              ; preds = %254, %191
  %282 = load ptr, ptr %7, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %282, i64 0
  %284 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %283, i32 0, i32 0
  %285 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %284, i32 0, i32 0
  %286 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %285, i32 0, i32 1
  %287 = getelementptr inbounds [8 x i64], ptr %286, i64 0, i64 1
  %288 = load i64, ptr %287, align 8, !tbaa !32
  %289 = trunc i64 %288 to i32
  %290 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %291 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %290, i32 0, i32 17
  store i32 %289, ptr %291, align 8, !tbaa !40
  %292 = load i32, ptr %8, align 4, !tbaa !9
  %293 = icmp eq i32 %292, 2
  br i1 %293, label %294, label %297

294:                                              ; preds = %281
  %295 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %296 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %295, i32 0, i32 20
  store i8 0, ptr %296, align 2, !tbaa !41
  br label %297

297:                                              ; preds = %294, %281
  %298 = load i32, ptr %8, align 4, !tbaa !9
  %299 = icmp eq i32 %298, 3
  br i1 %299, label %300, label %324

300:                                              ; preds = %297
  %301 = load ptr, ptr %7, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %301, i64 2
  %303 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %302, i32 0, i32 0
  %304 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %303, i32 0, i32 0
  %305 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %304, i32 0, i32 0
  %306 = load i32, ptr %305, align 8, !tbaa !31
  %307 = icmp eq i32 %306, 3
  br i1 %307, label %310, label %308

308:                                              ; preds = %300
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.18, ptr noundef @.str, i32 noundef 350)
          to label %309 unwind label %24

309:                                              ; preds = %308
  br label %310

310:                                              ; preds = %309, %300
  %311 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %312 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %311, i32 0, i32 20
  store i8 1, ptr %312, align 2, !tbaa !41
  %313 = load ptr, ptr %7, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %313, i64 2
  %315 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %314, i32 0, i32 0
  %316 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %315, i32 0, i32 0
  %317 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %316, i32 0, i32 1
  %318 = getelementptr inbounds [8 x i64], ptr %317, i64 0, i64 0
  %319 = load i64, ptr %318, align 8, !tbaa !32
  %320 = icmp eq i64 %319, 1
  %321 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %322 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %321, i32 0, i32 19
  %323 = zext i1 %320 to i8
  store i8 %323, ptr %322, align 1, !tbaa !42
  br label %324

324:                                              ; preds = %310, %297
  br label %38

325:                                              ; preds = %36, %32
  %326 = landingpad { ptr, i32 }
          catch ptr null
  %327 = extractvalue { ptr, i32 } %326, 0
  call void @__clang_call_terminate(ptr %327) #7
  unreachable

328:                                              ; preds = %28
  %329 = load ptr, ptr %11, align 8
  call void @__clang_call_terminate(ptr %329) #7
  unreachable
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !18, i64 52}
!12 = !{!"_ZTSN8nvinfer16plugin18EfficientNMSPluginE", !13, i64 0, !16, i64 8, !18, i64 84, !20, i64 88}
!13 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !15, i64 0}
!15 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!16 = !{!"_ZTSN8nvinfer16plugin22EfficientNMSParametersE", !17, i64 0, !17, i64 4, !10, i64 8, !10, i64 12, !18, i64 16, !10, i64 20, !18, i64 24, !18, i64 25, !10, i64 28, !18, i64 32, !10, i64 36, !10, i64 40, !18, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !18, i64 68, !18, i64 69, !18, i64 70, !19, i64 72}
!17 = !{!"float", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!26, !19, i64 72}
!26 = !{!"_ZTSN8nvinfer123DynamicPluginTensorDescE", !27, i64 0, !28, i64 88, !28, i64 160, !28, i64 232}
!27 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !28, i64 0, !19, i64 72, !29, i64 76, !17, i64 80}
!28 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!29 = !{!"_ZTSN8nvinfer112TensorFormatE", !7, i64 0}
!30 = !{!12, !19, i64 80}
!31 = !{!26, !10, i64 0}
!32 = !{!22, !22, i64 0}
!33 = !{!12, !10, i64 68}
!34 = !{!12, !10, i64 60}
!35 = !{!12, !18, i64 24}
!36 = !{!12, !10, i64 20}
!37 = !{!12, !10, i64 16}
!38 = !{!12, !18, i64 76}
!39 = !{!12, !10, i64 64}
!40 = !{!12, !10, i64 72}
!41 = !{!12, !18, i64 78}
!42 = !{!12, !18, i64 77}


; 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 = external hidden unnamed_addr constant [98 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [28 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; 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
define dso_local void @_ZN8nvinfer16plugin18EfficientNMSPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i(ptr nocapture noundef nonnull align 8 dereferenceable(120) %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef readnone %3, i32 noundef %4) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 52
  %7 = load i8, ptr %6, align 4, !tbaa !5, !range !21, !noundef !22
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %9, label %24

9:                                                ; preds = %5
  %10 = icmp eq i32 %2, 2
  br i1 %10, label %22, label %11

11:                                               ; preds = %9
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str, i32 noundef 292)
          to label %22 unwind label %12

12:                                               ; preds = %.invoke, %114, %94, %89, %75, %67, %41, %26, %11
  %13 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %14 = extractvalue { ptr, i32 } %13, 0
  %15 = extractvalue { ptr, i32 } %13, 1
  %16 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #5
  %17 = icmp eq i32 %15, %16
  br i1 %17, label %18, label %125

18:                                               ; preds = %12
  %19 = tail call ptr @__cxa_begin_catch(ptr %14) #5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %20 unwind label %122

20:                                               ; preds = %18
  invoke void @__cxa_end_catch()
          to label %21 unwind label %122

21:                                               ; preds = %108, %102, %20, %115
  ret void

22:                                               ; preds = %11, %9
  %23 = icmp eq i32 %4, 1
  br i1 %23, label %31, label %.invoke

24:                                               ; preds = %5
  %25 = and i32 %2, -2
  %or.cond = icmp eq i32 %25, 2
  br i1 %or.cond, label %27, label %26

26:                                               ; preds = %24
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str, i32 noundef 300)
          to label %27 unwind label %12

27:                                               ; preds = %26, %24
  %28 = icmp eq i32 %4, 4
  br i1 %28, label %31, label %.invoke

.invoke:                                          ; preds = %27, %22
  %29 = phi ptr [ @.str.8, %22 ], [ @.str.10, %27 ]
  %30 = phi i32 [ 293, %22 ], [ 301, %27 ]
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull %29, ptr noundef nonnull @.str, i32 noundef %30)
          to label %31 unwind label %12

31:                                               ; preds = %.invoke, %27, %22
  %32 = getelementptr inbounds i8, ptr %1, i64 72
  %33 = load i32, ptr %32, align 8, !tbaa !23
  %34 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 %33, ptr %34, align 8, !tbaa !28
  %35 = getelementptr inbounds i8, ptr %1, i64 304
  %36 = load i32, ptr %35, align 8, !tbaa !29
  switch i32 %36, label %41 [
    i32 3, label %42
    i32 4, label %37
  ]

37:                                               ; preds = %31
  %38 = getelementptr inbounds i8, ptr %1, i64 336
  %39 = load i64, ptr %38, align 8, !tbaa !30
  %40 = icmp eq i64 %39, 1
  br i1 %40, label %42, label %41

41:                                               ; preds = %31, %37
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str, i32 noundef 307)
          to label %42 unwind label %12

42:                                               ; preds = %31, %41, %37
  %43 = getelementptr inbounds i8, ptr %1, i64 320
  %44 = load i64, ptr %43, align 8, !tbaa !30
  %45 = getelementptr inbounds i8, ptr %1, i64 328
  %46 = load i64, ptr %45, align 8, !tbaa !30
  %47 = mul nsw i64 %46, %44
  %48 = trunc i64 %47 to i32
  %49 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 %48, ptr %49, align 4, !tbaa !31
  %50 = trunc i64 %46 to i32
  %51 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 %50, ptr %51, align 4, !tbaa !32
  %52 = getelementptr inbounds i8, ptr %0, i64 24
  %53 = load i8, ptr %52, align 8, !tbaa !33, !range !21, !noundef !22
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %55, label %65

55:                                               ; preds = %42
  %56 = getelementptr inbounds i8, ptr %0, i64 20
  %57 = load i32, ptr %56, align 4, !tbaa !34
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %59, label %65

59:                                               ; preds = %55
  %60 = mul nsw i32 %57, %50
  %61 = getelementptr inbounds i8, ptr %0, i64 16
  %62 = load i32, ptr %61, align 8, !tbaa !35
  %63 = icmp slt i32 %60, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %59
  store i32 %60, ptr %61, align 8, !tbaa !35
  br label %65

65:                                               ; preds = %59, %64, %55, %42
  %66 = load i32, ptr %1, align 8, !tbaa !29
  %.off = add i32 %66, -3
  %switch = icmp ult i32 %.off, 2
  br i1 %switch, label %68, label %67

67:                                               ; preds = %65
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str, i32 noundef 324)
          to label %thread-pre-split unwind label %12

thread-pre-split:                                 ; preds = %67
  %.pr = load i32, ptr %1, align 8, !tbaa !29
  br label %68

68:                                               ; preds = %thread-pre-split, %65
  %69 = phi i32 [ %.pr, %thread-pre-split ], [ %66, %65 ]
  %70 = icmp eq i32 %69, 3
  %71 = getelementptr inbounds i8, ptr %1, i64 24
  %72 = load i64, ptr %71, align 8, !tbaa !30
  br i1 %70, label %73, label %82

73:                                               ; preds = %68
  %74 = icmp eq i64 %72, 4
  br i1 %74, label %76, label %75

75:                                               ; preds = %73
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str, i32 noundef 327)
          to label %._crit_edge37 unwind label %12

._crit_edge37:                                    ; preds = %75
  %.pre38 = load i64, ptr %71, align 8, !tbaa !30
  br label %76

76:                                               ; preds = %._crit_edge37, %73
  %77 = phi i64 [ %.pre38, %._crit_edge37 ], [ 4, %73 ]
  %78 = getelementptr inbounds i8, ptr %0, i64 76
  store i8 1, ptr %78, align 4, !tbaa !36
  %79 = getelementptr inbounds i8, ptr %1, i64 16
  %80 = load i64, ptr %79, align 8, !tbaa !30
  %81 = mul nsw i64 %77, %80
  br label %102

82:                                               ; preds = %68
  %83 = icmp eq i64 %72, 1
  %84 = getelementptr inbounds i8, ptr %0, i64 76
  %85 = zext i1 %83 to i8
  store i8 %85, ptr %84, align 4, !tbaa !36
  %86 = load i32, ptr %51, align 4, !tbaa !32
  %87 = sext i32 %86 to i64
  %88 = icmp eq i64 %72, %87
  %brmerge = or i1 %83, %88
  br i1 %brmerge, label %90, label %89

89:                                               ; preds = %82
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str, i32 noundef 334)
          to label %90 unwind label %12

90:                                               ; preds = %82, %89
  %91 = getelementptr inbounds i8, ptr %1, i64 32
  %92 = load i64, ptr %91, align 8, !tbaa !30
  %93 = icmp eq i64 %92, 4
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str, i32 noundef 335)
          to label %._crit_edge unwind label %12

._crit_edge:                                      ; preds = %94
  %.pre = load i64, ptr %91, align 8, !tbaa !30
  br label %95

95:                                               ; preds = %._crit_edge, %90
  %96 = phi i64 [ %.pre, %._crit_edge ], [ 4, %90 ]
  %97 = getelementptr inbounds i8, ptr %1, i64 16
  %98 = load i64, ptr %97, align 8, !tbaa !30
  %99 = load i64, ptr %71, align 8, !tbaa !30
  %100 = mul nsw i64 %99, %98
  %101 = mul nsw i64 %100, %96
  br label %102

102:                                              ; preds = %95, %76
  %.sink40 = phi i64 [ %101, %95 ], [ %81, %76 ]
  %103 = phi i64 [ %98, %95 ], [ %80, %76 ]
  %104 = trunc i64 %.sink40 to i32
  %105 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %104, ptr %105, align 8, !tbaa !37
  %106 = trunc i64 %103 to i32
  %107 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %106, ptr %107, align 8, !tbaa !38
  switch i32 %2, label %21 [
    i32 2, label %108
    i32 3, label %110
  ]

108:                                              ; preds = %102
  %109 = getelementptr inbounds i8, ptr %0, i64 78
  store i8 0, ptr %109, align 2, !tbaa !39
  br label %21

110:                                              ; preds = %102
  %111 = getelementptr inbounds i8, ptr %1, i64 608
  %112 = load i32, ptr %111, align 8, !tbaa !29
  %113 = icmp eq i32 %112, 3
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str, i32 noundef 350)
          to label %115 unwind label %12

115:                                              ; preds = %114, %110
  %116 = getelementptr inbounds i8, ptr %0, i64 78
  store i8 1, ptr %116, align 2, !tbaa !39
  %117 = getelementptr inbounds i8, ptr %1, i64 616
  %118 = load i64, ptr %117, align 8, !tbaa !30
  %119 = icmp eq i64 %118, 1
  %120 = getelementptr inbounds i8, ptr %0, i64 77
  %121 = zext i1 %119 to i8
  store i8 %121, ptr %120, align 1, !tbaa !40
  br label %21

122:                                              ; preds = %20, %18
  %123 = landingpad { ptr, i32 }
          catch ptr null
  %124 = extractvalue { ptr, i32 } %123, 0
  tail call void @__clang_call_terminate(ptr %124) #6
  unreachable

125:                                              ; preds = %12
  tail call void @__clang_call_terminate(ptr %14) #6
  unreachable
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !15, i64 52}
!6 = !{!"_ZTSN8nvinfer16plugin18EfficientNMSPluginE", !7, i64 0, !10, i64 8, !15, i64 84, !17, i64 88}
!7 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !8, i64 0}
!8 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !9, i64 0}
!9 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!10 = !{!"_ZTSN8nvinfer16plugin22EfficientNMSParametersE", !11, i64 0, !11, i64 4, !14, i64 8, !14, i64 12, !15, i64 16, !14, i64 20, !15, i64 24, !15, i64 25, !14, i64 28, !15, i64 32, !14, i64 36, !14, i64 40, !15, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60, !14, i64 64, !15, i64 68, !15, i64 69, !15, i64 70, !16, i64 72}
!11 = !{!"float", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"int", !12, i64 0}
!15 = !{!"bool", !12, i64 0}
!16 = !{!"_ZTSN8nvinfer18DataTypeE", !12, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !20, i64 8, !12, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !19, i64 0}
!19 = !{!"any pointer", !12, i64 0}
!20 = !{!"long", !12, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !16, i64 72}
!24 = !{!"_ZTSN8nvinfer123DynamicPluginTensorDescE", !25, i64 0, !26, i64 88, !26, i64 160, !26, i64 232}
!25 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !26, i64 0, !16, i64 72, !27, i64 76, !11, i64 80}
!26 = !{!"_ZTSN8nvinfer16Dims64E", !14, i64 0, !12, i64 8}
!27 = !{!"_ZTSN8nvinfer112TensorFormatE", !12, i64 0}
!28 = !{!6, !16, i64 80}
!29 = !{!24, !14, i64 0}
!30 = !{!20, !20, i64 0}
!31 = !{!6, !14, i64 68}
!32 = !{!6, !14, i64 60}
!33 = !{!6, !15, i64 24}
!34 = !{!6, !14, i64 20}
!35 = !{!6, !14, i64 16}
!36 = !{!6, !15, i64 76}
!37 = !{!6, !14, i64 64}
!38 = !{!6, !14, i64 72}
!39 = !{!6, !15, i64 78}
!40 = !{!6, !15, i64 77}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass