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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"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::allocator.0" = type { i8 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.6" = type { i8 }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }
%"class.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }
%"class.nvinfer1::plugin::DetectionLayerPluginCreator" = type { %"class.nvinfer1::pluginInternal::BaseCreator", i32, i32, float, float }
%"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 }

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.7 = external hidden unnamed_addr constant [102 x i8], align 1
@__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [44 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #1 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 %"class.std::set", align 8
  %11 = alloca %"class.std::initializer_list", align 8
  %12 = alloca [4 x %"class.std::__cxx11::basic_string"], align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca %"class.std::allocator.0", align 1
  %16 = alloca %"class.std::allocator.0", align 1
  %17 = alloca %"class.std::allocator.0", align 1
  %18 = alloca i1, align 1
  %19 = alloca %"struct.std::less", align 1
  %20 = alloca %"class.std::allocator.6", align 1
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = 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
  %25 = load ptr, ptr %5, align 8
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %34, label %28

28:                                               ; preds = %3
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 65, i32 noundef 0, ptr noundef @.str.8) #11
          to label %29 unwind label %30

29:                                               ; preds = %28
  unreachable

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

34:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 128, ptr %12) #12
  store i1 true, ptr %18, align 1
  store ptr %12, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %35 unwind label %68

35:                                               ; preds = %34
  %36 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %12, i64 1
  store ptr %36, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %37 unwind label %72

37:                                               ; preds = %35
  %38 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %12, i64 2
  store ptr %38, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %39 unwind label %76

39:                                               ; preds = %37
  %40 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %12, i64 3
  store ptr %40, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %41 unwind label %80

41:                                               ; preds = %39
  store i1 false, ptr %18, align 1
  %42 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 0
  store ptr %12, ptr %42, align 8, !tbaa !9
  %43 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 1
  store i64 4, ptr %43, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #12
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  %44 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8
  %46 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %47 = load i64, ptr %46, align 8
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr %45, i64 %47, ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %48 unwind label %84

48:                                               ; preds = %41
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef %10, ptr noundef %49)
          to label %50 unwind label %88

50:                                               ; preds = %48
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #12
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #12
  %51 = getelementptr inbounds [4 x %"class.std::__cxx11::basic_string"], ptr %12, i32 0, i32 0
  %52 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %51, i64 4
  br label %53

53:                                               ; preds = %53, %50
  %54 = phi ptr [ %52, %50 ], [ %55, %53 ]
  %55 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %54, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #12
  %56 = icmp eq ptr %55, %51
  br i1 %56, label %57, label %53

57:                                               ; preds = %53
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 128, ptr %12) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #12
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %58, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  store ptr %60, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #12
  store i32 0, ptr %22, align 4, !tbaa !16
  br label %61

61:                                               ; preds = %217, %57
  %62 = load i32, ptr %22, align 4, !tbaa !16
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !17
  %66 = icmp slt i32 %62, %65
  br i1 %66, label %114, label %67

67:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #12
  br label %220

68:                                               ; preds = %34
  %69 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %8, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %9, align 4
  br label %103

72:                                               ; preds = %35
  %73 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %8, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %9, align 4
  br label %102

76:                                               ; preds = %37
  %77 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %8, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %9, align 4
  br label %101

80:                                               ; preds = %39
  %81 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %8, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %9, align 4
  br label %100

84:                                               ; preds = %41
  %85 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %8, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %9, align 4
  br label %92

88:                                               ; preds = %48
  %89 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %8, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %9, align 4
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #12
  br label %92

92:                                               ; preds = %88, %84
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #12
  %93 = getelementptr inbounds [4 x %"class.std::__cxx11::basic_string"], ptr %12, i32 0, i32 0
  %94 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %93, i64 4
  br label %95

95:                                               ; preds = %95, %92
  %96 = phi ptr [ %94, %92 ], [ %97, %95 ]
  %97 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %96, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %97) #12
  %98 = icmp eq ptr %97, %93
  br i1 %98, label %99, label %95

99:                                               ; preds = %95
  br label %100

100:                                              ; preds = %99, %80
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #12
  br label %101

101:                                              ; preds = %100, %76
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #12
  br label %102

102:                                              ; preds = %101, %72
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #12
  br label %103

103:                                              ; preds = %102, %68
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #12
  %104 = load i1, ptr %18, align 1
  br i1 %104, label %105, label %113

105:                                              ; preds = %103
  %106 = load ptr, ptr %13, align 8
  %107 = icmp eq ptr %12, %106
  br i1 %107, label %112, label %108

108:                                              ; preds = %108, %105
  %109 = phi ptr [ %106, %105 ], [ %110, %108 ]
  %110 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %109, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %110) #12
  %111 = icmp eq ptr %110, %12
  br i1 %111, label %112, label %108

112:                                              ; preds = %108, %105
  br label %113

113:                                              ; preds = %112, %103
  call void @llvm.lifetime.end.p0(i64 128, ptr %12) #12
  br label %241

114:                                              ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #12
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = load i32, ptr %22, align 4, !tbaa !16
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %115, i64 %117
  %119 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %118, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !18
  store ptr %120, ptr %23, align 8, !tbaa !5
  %121 = load ptr, ptr %23, align 8, !tbaa !5
  %122 = call i32 @strcmp(ptr noundef %121, ptr noundef @.str) #13
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %147, label %124

124:                                              ; preds = %114
  %125 = load ptr, ptr %21, align 8, !tbaa !5
  %126 = load i32, ptr %22, align 4, !tbaa !16
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %125, i64 %127
  %129 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %128, i32 0, i32 2
  %130 = load i32, ptr %129, align 8, !tbaa !21
  %131 = icmp eq i32 %130, 5
  br i1 %131, label %138, label %132

132:                                              ; preds = %124
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 73, i32 noundef 0, ptr noundef @.str.9) #11
          to label %133 unwind label %134

133:                                              ; preds = %132
  unreachable

134:                                              ; preds = %205, %182, %159, %132
  %135 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %8, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #12
  br label %240

138:                                              ; preds = %124
  %139 = load ptr, ptr %21, align 8, !tbaa !5
  %140 = load i32, ptr %22, align 4, !tbaa !16
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %139, i64 %141
  %143 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %142, i32 0, i32 1
  %144 = load ptr, ptr %143, align 8, !tbaa !22
  %145 = load i32, ptr %144, align 4, !tbaa !16
  %146 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 1
  store i32 %145, ptr %146, align 8, !tbaa !23
  br label %147

147:                                              ; preds = %138, %114
  %148 = load ptr, ptr %23, align 8, !tbaa !5
  %149 = call i32 @strcmp(ptr noundef %148, ptr noundef @.str.2) #13
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %170, label %151

151:                                              ; preds = %147
  %152 = load ptr, ptr %21, align 8, !tbaa !5
  %153 = load i32, ptr %22, align 4, !tbaa !16
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %152, i64 %154
  %156 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %155, i32 0, i32 2
  %157 = load i32, ptr %156, align 8, !tbaa !21
  %158 = icmp eq i32 %157, 5
  br i1 %158, label %161, label %159

159:                                              ; preds = %151
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 78, i32 noundef 0, ptr noundef @.str.9) #11
          to label %160 unwind label %134

160:                                              ; preds = %159
  unreachable

161:                                              ; preds = %151
  %162 = load ptr, ptr %21, align 8, !tbaa !5
  %163 = load i32, ptr %22, align 4, !tbaa !16
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %162, i64 %164
  %166 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %165, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !22
  %168 = load i32, ptr %167, align 4, !tbaa !16
  %169 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 2
  store i32 %168, ptr %169, align 4, !tbaa !32
  br label %170

170:                                              ; preds = %161, %147
  %171 = load ptr, ptr %23, align 8, !tbaa !5
  %172 = call i32 @strcmp(ptr noundef %171, ptr noundef @.str.3) #13
  %173 = icmp ne i32 %172, 0
  br i1 %173, label %193, label %174

174:                                              ; preds = %170
  %175 = load ptr, ptr %21, align 8, !tbaa !5
  %176 = load i32, ptr %22, align 4, !tbaa !16
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %175, i64 %177
  %179 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %178, i32 0, i32 2
  %180 = load i32, ptr %179, align 8, !tbaa !21
  %181 = icmp eq i32 %180, 1
  br i1 %181, label %184, label %182

182:                                              ; preds = %174
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 83, i32 noundef 0, ptr noundef @.str.10) #11
          to label %183 unwind label %134

183:                                              ; preds = %182
  unreachable

184:                                              ; preds = %174
  %185 = load ptr, ptr %21, align 8, !tbaa !5
  %186 = load i32, ptr %22, align 4, !tbaa !16
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %185, i64 %187
  %189 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %188, i32 0, i32 1
  %190 = load ptr, ptr %189, align 8, !tbaa !22
  %191 = load float, ptr %190, align 4, !tbaa !33
  %192 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 3
  store float %191, ptr %192, align 8, !tbaa !34
  br label %193

193:                                              ; preds = %184, %170
  %194 = load ptr, ptr %23, align 8, !tbaa !5
  %195 = call i32 @strcmp(ptr noundef %194, ptr noundef @.str.4) #13
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %216, label %197

197:                                              ; preds = %193
  %198 = load ptr, ptr %21, align 8, !tbaa !5
  %199 = load i32, ptr %22, align 4, !tbaa !16
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %198, i64 %200
  %202 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %201, i32 0, i32 2
  %203 = load i32, ptr %202, align 8, !tbaa !21
  %204 = icmp eq i32 %203, 1
  br i1 %204, label %207, label %205

205:                                              ; preds = %197
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 88, i32 noundef 0, ptr noundef @.str.10) #11
          to label %206 unwind label %134

206:                                              ; preds = %205
  unreachable

207:                                              ; preds = %197
  %208 = load ptr, ptr %21, align 8, !tbaa !5
  %209 = load i32, ptr %22, align 4, !tbaa !16
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %208, i64 %210
  %212 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %211, i32 0, i32 1
  %213 = load ptr, ptr %212, align 8, !tbaa !22
  %214 = load float, ptr %213, align 4, !tbaa !33
  %215 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 4
  store float %214, ptr %215, align 4, !tbaa !35
  br label %216

216:                                              ; preds = %207, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #12
  br label %217

217:                                              ; preds = %216
  %218 = load i32, ptr %22, align 4, !tbaa !16
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %22, align 4, !tbaa !16
  br label %61, !llvm.loop !36

220:                                              ; preds = %67
  %221 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 112) #14
          to label %222 unwind label %232

222:                                              ; preds = %220
  %223 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 1
  %224 = load i32, ptr %223, align 8, !tbaa !23
  %225 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 2
  %226 = load i32, ptr %225, align 4, !tbaa !32
  %227 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 3
  %228 = load float, ptr %227, align 8, !tbaa !34
  %229 = getelementptr inbounds %"class.nvinfer1::plugin::DetectionLayerPluginCreator", ptr %25, i32 0, i32 4
  %230 = load float, ptr %229, align 4, !tbaa !35
  invoke void @_ZN8nvinfer16plugin14DetectionLayerC1Eiiff(ptr noundef nonnull align 8 dereferenceable(112) %221, i32 noundef %224, i32 noundef %226, float noundef %228, float noundef %230)
          to label %231 unwind label %236

231:                                              ; preds = %222
  store ptr %221, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #12
  br label %252

232:                                              ; preds = %220
  %233 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %8, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %9, align 4
  br label %240

236:                                              ; preds = %222
  %237 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %8, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %221, i64 noundef 112) #15
  br label %240

240:                                              ; preds = %236, %232, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #12
  br label %241

241:                                              ; preds = %240, %113, %30
  %242 = load i32, ptr %9, align 4
  %243 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #12
  %244 = icmp eq i32 %242, %243
  br i1 %244, label %245, label %257

245:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #12
  %246 = load ptr, ptr %8, align 8
  %247 = call ptr @__cxa_begin_catch(ptr %246) #12
  store ptr %247, ptr %24, align 8
  %248 = load ptr, ptr %24, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %248)
          to label %249 unwind label %254

249:                                              ; preds = %245
  invoke void @__cxa_end_catch()
          to label %250 unwind label %254

250:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #12
  br label %251

251:                                              ; preds = %250
  store ptr null, ptr %4, align 8
  br label %252

252:                                              ; preds = %251, %231
  %253 = load ptr, ptr %4, align 8
  ret ptr %253

254:                                              ; preds = %249, %245
  %255 = landingpad { ptr, i32 }
          catch ptr null
  %256 = extractvalue { ptr, i32 } %255, 0
  call void @__clang_call_terminate(ptr %256) #16
  unreachable

257:                                              ; preds = %241
  %258 = load ptr, ptr %8, align 8
  call void @__clang_call_terminate(ptr %258) #16
  unreachable
}

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

declare void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef, ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr)

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

declare void @__cxa_end_catch()

declare void @_ZN8nvinfer16plugin14DetectionLayerC1Eiiff(ptr, i32, i32, float, float)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { "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 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 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 #6 = { 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 #7 = { 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 #8 = { nounwind memory(none) }
attributes #9 = { 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 #10 = { 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 #11 = { noreturn }
attributes #12 = { nounwind }
attributes #13 = { nounwind willreturn memory(read) }
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 0}
!10 = !{!"_ZTSSt16initializer_listINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !15, i64 0, !6, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !15, i64 0}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSN8nvinfer111PluginFieldE", !6, i64 0, !6, i64 8, !20, i64 16, !15, i64 20}
!20 = !{!"_ZTSN8nvinfer115PluginFieldTypeE", !7, i64 0}
!21 = !{!19, !20, i64 16}
!22 = !{!19, !6, i64 8}
!23 = !{!24, !15, i64 40}
!24 = !{!"_ZTSN8nvinfer16plugin27DetectionLayerPluginCreatorE", !25, i64 0, !15, i64 40, !15, i64 44, !31, i64 48, !31, i64 52}
!25 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !26, i64 0, !29, i64 8}
!26 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !27, i64 0}
!27 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !28, i64 0}
!28 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !30, i64 0, !11, i64 8, !7, i64 16}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!31 = !{!"float", !7, i64 0}
!32 = !{!24, !15, i64 44}
!33 = !{!31, !31, i64 0}
!34 = !{!24, !31, i64 48}
!35 = !{!24, !31, i64 52}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}


; 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.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, 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::allocator.0" = type { i8 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.6" = type { i8 }
%"class.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.7 = external hidden unnamed_addr constant [102 x i8], align 1
@__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [44 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr nocapture noundef nonnull align 8 dereferenceable(56) %0, ptr nocapture noundef readnone %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::set", align 8
  %5 = alloca [4 x %"class.std::__cxx11::basic_string"], align 8
  %6 = alloca %"class.std::allocator.0", align 1
  %7 = alloca %"class.std::allocator.0", align 1
  %8 = alloca %"class.std::allocator.0", align 1
  %9 = alloca %"class.std::allocator.0", align 1
  %10 = alloca %"struct.std::less", align 1
  %11 = alloca %"class.std::allocator.6", align 1
  %.not54 = icmp eq ptr %2, null
  br i1 %.not54, label %12, label %16

12:                                               ; preds = %3
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 65, i32 noundef 0, ptr noundef nonnull @.str.8) #11
          to label %13 unwind label %14

13:                                               ; preds = %12
  unreachable

14:                                               ; preds = %12
  %15 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %118

16:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %5) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %17 unwind label %.thread

17:                                               ; preds = %16
  %18 = getelementptr inbounds i8, ptr %5, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %19 unwind label %39

19:                                               ; preds = %17
  %20 = getelementptr inbounds i8, ptr %5, i64 64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %21 unwind label %41

21:                                               ; preds = %19
  %22 = getelementptr inbounds i8, ptr %5, i64 96
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %23 unwind label %43

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #12
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr nonnull %5, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %24 unwind label %45

24:                                               ; preds = %23
  invoke void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef nonnull %4, ptr noundef nonnull %2)
          to label %25 unwind label %47

25:                                               ; preds = %24
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #12
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #12
  %26 = getelementptr inbounds i8, ptr %5, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #12
  %27 = getelementptr inbounds i8, ptr %5, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #12
  %28 = getelementptr inbounds i8, ptr %5, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #12
  %29 = getelementptr inbounds i8, ptr %2, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  %31 = load i32, ptr %2, align 8, !tbaa !11
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %25
  %33 = getelementptr inbounds i8, ptr %0, i64 40
  %34 = getelementptr inbounds i8, ptr %0, i64 44
  %35 = getelementptr inbounds i8, ptr %0, i64 48
  %36 = getelementptr inbounds i8, ptr %0, i64 52
  %wide.trip.count = zext nneg i32 %31 to i64
  br label %58

._crit_edge:                                      ; preds = %104, %25
  %37 = invoke noalias noundef nonnull dereferenceable(112) ptr @_Znwm(i64 noundef 112) #13
          to label %105 unwind label %114

.thread:                                          ; preds = %16
  %38 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #12
  br label %.loopexit

39:                                               ; preds = %17
  %40 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %54

41:                                               ; preds = %19
  %42 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %53

43:                                               ; preds = %21
  %44 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %.loopexit71

45:                                               ; preds = %23
  %46 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %.loopexit71.loopexit

47:                                               ; preds = %24
  %48 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #12
  br label %.loopexit71.loopexit

.loopexit71.loopexit:                             ; preds = %47, %45
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #12
  %49 = getelementptr inbounds i8, ptr %5, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #12
  %50 = getelementptr inbounds i8, ptr %5, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #12
  %51 = getelementptr inbounds i8, ptr %5, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #12
  br label %.loopexit71

.loopexit71:                                      ; preds = %.loopexit71.loopexit, %43
  %52 = phi i1 [ false, %43 ], [ true, %.loopexit71.loopexit ]
  %.pn.pn = phi { ptr, i32 } [ %44, %43 ], [ %.pn, %.loopexit71.loopexit ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #12
  br label %53

53:                                               ; preds = %.loopexit71, %41
  %.049 = phi ptr [ %22, %.loopexit71 ], [ %20, %41 ]
  %.146 = phi i1 [ %52, %.loopexit71 ], [ false, %41 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %.loopexit71 ], [ %42, %41 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #12
  br label %54

54:                                               ; preds = %39, %53
  %.150 = phi ptr [ %.049, %53 ], [ %18, %39 ]
  %.247 = phi i1 [ %.146, %53 ], [ false, %39 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %53 ], [ %40, %39 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #12
  br i1 %.247, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %54, %.preheader
  %55 = phi ptr [ %56, %.preheader ], [ %.150, %54 ]
  %56 = getelementptr inbounds i8, ptr %55, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #12
  %57 = icmp eq ptr %56, %5
  br i1 %57, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %54
  %.pn.pn.pn.pn.pn70 = phi { ptr, i32 } [ %38, %.thread ], [ %.pn.pn.pn.pn, %54 ], [ %.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #12
  br label %118

58:                                               ; preds = %.lr.ph, %104
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %104 ]
  %59 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %30, i64 %indvars.iv
  %60 = load ptr, ptr %59, align 8, !tbaa !12
  %61 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %60, ptr noundef nonnull dereferenceable(1) @.str) #14
  %.not = icmp eq i32 %61, 0
  br i1 %.not, label %62, label %72

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %59, i64 16
  %64 = load i32, ptr %63, align 8, !tbaa !15
  %65 = icmp eq i32 %64, 5
  br i1 %65, label %68, label %.invoke

66:                                               ; preds = %.invoke
  %67 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %118

68:                                               ; preds = %62
  %69 = getelementptr inbounds i8, ptr %59, i64 8
  %70 = load ptr, ptr %69, align 8, !tbaa !16
  %71 = load i32, ptr %70, align 4, !tbaa !17
  store i32 %71, ptr %33, align 8, !tbaa !18
  br label %72

72:                                               ; preds = %68, %58
  %73 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %60, ptr noundef nonnull dereferenceable(1) @.str.2) #14
  %.not60 = icmp eq i32 %73, 0
  br i1 %.not60, label %74, label %82

74:                                               ; preds = %72
  %75 = getelementptr inbounds i8, ptr %59, i64 16
  %76 = load i32, ptr %75, align 8, !tbaa !15
  %77 = icmp eq i32 %76, 5
  br i1 %77, label %78, label %.invoke

78:                                               ; preds = %74
  %79 = getelementptr inbounds i8, ptr %59, i64 8
  %80 = load ptr, ptr %79, align 8, !tbaa !16
  %81 = load i32, ptr %80, align 4, !tbaa !17
  store i32 %81, ptr %34, align 4, !tbaa !28
  br label %82

82:                                               ; preds = %78, %72
  %83 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %60, ptr noundef nonnull dereferenceable(1) @.str.3) #14
  %.not61 = icmp eq i32 %83, 0
  br i1 %.not61, label %84, label %92

84:                                               ; preds = %82
  %85 = getelementptr inbounds i8, ptr %59, i64 16
  %86 = load i32, ptr %85, align 8, !tbaa !15
  %87 = icmp eq i32 %86, 1
  br i1 %87, label %88, label %.invoke

88:                                               ; preds = %84
  %89 = getelementptr inbounds i8, ptr %59, i64 8
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = load float, ptr %90, align 4, !tbaa !29
  store float %91, ptr %35, align 8, !tbaa !30
  br label %92

92:                                               ; preds = %88, %82
  %93 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %60, ptr noundef nonnull dereferenceable(1) @.str.4) #14
  %.not62 = icmp eq i32 %93, 0
  br i1 %.not62, label %94, label %104

94:                                               ; preds = %92
  %95 = getelementptr inbounds i8, ptr %59, i64 16
  %96 = load i32, ptr %95, align 8, !tbaa !15
  %97 = icmp eq i32 %96, 1
  br i1 %97, label %100, label %.invoke

.invoke:                                          ; preds = %62, %94, %84, %74
  %98 = phi i32 [ 78, %74 ], [ 83, %84 ], [ 88, %94 ], [ 73, %62 ]
  %99 = phi ptr [ @.str.9, %74 ], [ @.str.10, %84 ], [ @.str.10, %94 ], [ @.str.9, %62 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZN8nvinfer16plugin27DetectionLayerPluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef %98, i32 noundef 0, ptr noundef nonnull %99) #11
          to label %.cont unwind label %66

.cont:                                            ; preds = %.invoke
  unreachable

100:                                              ; preds = %94
  %101 = getelementptr inbounds i8, ptr %59, i64 8
  %102 = load ptr, ptr %101, align 8, !tbaa !16
  %103 = load float, ptr %102, align 4, !tbaa !29
  store float %103, ptr %36, align 4, !tbaa !31
  br label %104

104:                                              ; preds = %100, %92
  %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 %58, !llvm.loop !32

105:                                              ; preds = %._crit_edge
  %106 = getelementptr inbounds i8, ptr %0, i64 40
  %107 = load i32, ptr %106, align 8, !tbaa !18
  %108 = getelementptr inbounds i8, ptr %0, i64 44
  %109 = load i32, ptr %108, align 4, !tbaa !28
  %110 = getelementptr inbounds i8, ptr %0, i64 48
  %111 = load float, ptr %110, align 8, !tbaa !30
  %112 = getelementptr inbounds i8, ptr %0, i64 52
  %113 = load float, ptr %112, align 4, !tbaa !31
  invoke void @_ZN8nvinfer16plugin14DetectionLayerC1Eiiff(ptr noundef nonnull align 8 dereferenceable(112) %37, i32 noundef %107, i32 noundef %109, float noundef %111, float noundef %113)
          to label %124 unwind label %116

114:                                              ; preds = %._crit_edge
  %115 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %118

116:                                              ; preds = %105
  %117 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZdlPvm(ptr noundef nonnull %37, i64 noundef 112) #15
  br label %118

118:                                              ; preds = %66, %114, %116, %.loopexit, %14
  %.pn63.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn70, %.loopexit ], [ %15, %14 ], [ %67, %66 ], [ %117, %116 ], [ %115, %114 ]
  %.6 = extractvalue { ptr, i32 } %.pn63.pn, 0
  %.644 = extractvalue { ptr, i32 } %.pn63.pn, 1
  %119 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #12
  %120 = icmp eq i32 %.644, %119
  br i1 %120, label %121, label %128

121:                                              ; preds = %118
  %122 = call ptr @__cxa_begin_catch(ptr %.6) #12
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %122)
          to label %123 unwind label %125

123:                                              ; preds = %121
  invoke void @__cxa_end_catch()
          to label %124 unwind label %125

124:                                              ; preds = %123, %105
  %.0 = phi ptr [ %37, %105 ], [ null, %123 ]
  ret ptr %.0

125:                                              ; preds = %123, %121
  %126 = landingpad { ptr, i32 }
          catch ptr null
  %127 = extractvalue { ptr, i32 } %126, 0
  call void @__clang_call_terminate(ptr %127) #16
  unreachable

128:                                              ; preds = %118
  call void @__clang_call_terminate(ptr %.6) #16
  unreachable
}

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

declare void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

declare void @__cxa_end_catch() local_unnamed_addr

declare void @_ZN8nvinfer16plugin14DetectionLayerC1Eiiff(ptr, i32, i32, float, float) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { "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 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 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 #6 = { 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 #7 = { 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 #8 = { nofree nosync nounwind memory(none) }
attributes #9 = { 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 #10 = { 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 #11 = { noreturn }
attributes #12 = { nounwind }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { nounwind willreturn memory(read) }
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, !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, !10, i64 0}
!13 = !{!"_ZTSN8nvinfer111PluginFieldE", !10, i64 0, !10, i64 8, !14, i64 16, !7, i64 20}
!14 = !{!"_ZTSN8nvinfer115PluginFieldTypeE", !8, i64 0}
!15 = !{!13, !14, i64 16}
!16 = !{!13, !10, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 40}
!19 = !{!"_ZTSN8nvinfer16plugin27DetectionLayerPluginCreatorE", !20, i64 0, !7, i64 40, !7, i64 44, !27, i64 48, !27, i64 52}
!20 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !21, i64 0, !24, i64 8}
!21 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !22, i64 0}
!22 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !23, i64 0}
!23 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !26, i64 8, !8, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!26 = !{!"long", !8, i64 0}
!27 = !{!"float", !8, i64 0}
!28 = !{!19, !7, i64 44}
!29 = !{!27, !27, i64 0}
!30 = !{!19, !27, i64 48}
!31 = !{!19, !27, i64 52}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


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