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

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

%"class.nvinfer1::plugin::LogStream" = type { %"class.std::basic_ostream.base", %"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf", %"class.std::mutex", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf" = type { %"class.std::__cxx11::basic_stringbuf" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }
%"class.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }
%"class.nvinfer1::plugin::NormalizePluginCreator" = type <{ %"class.nvinfer1::pluginInternal::BaseCreator", i8, i8, [2 x i8], float, i32, [4 x i8] }>
%"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 }

@_ZN8nvinfer16plugin11gLogWarningE = external global %"class.nvinfer1::plugin::LogStream", align 8
@.str = external hidden unnamed_addr constant [124 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [92 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [4 x i8], align 1
@__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr)

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

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

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

declare void @__cxa_end_catch()

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr noundef nonnull align 8 dereferenceable(52) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #5 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::vector.3", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.nvinfer1::Weights", align 8
  %19 = alloca ptr, align 8
  %20 = 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
  %21 = load ptr, ptr %5, align 8
  %22 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EA124_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152) @_ZN8nvinfer16plugin11gLogWarningE, ptr noundef nonnull align 1 dereferenceable(124) @.str)
          to label %23 unwind label %36

23:                                               ; preds = %3
  %24 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EEERNS0_9LogStreamIXT_EEES6_PFRSoS7_E(ptr noundef nonnull align 8 dereferenceable(152) %22, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %25 unwind label %36

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #10
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  store ptr %28, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store i32 0, ptr %12, align 4, !tbaa !12
  br label %29

29:                                               ; preds = %204, %25
  %30 = load i32, ptr %12, align 4, !tbaa !12
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !13
  %34 = icmp slt i32 %30, %33
  br i1 %34, label %40, label %35

35:                                               ; preds = %29
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %208

36:                                               ; preds = %23, %3
  %37 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %8, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %9, align 4
  br label %244

40:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = load i32, ptr %12, align 4, !tbaa !12
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %41, i64 %43
  %45 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  store ptr %46, ptr %14, align 8, !tbaa !5
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = call i32 @strcmp(ptr noundef %47, ptr noundef @.str.23) #11
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %73, label %50

50:                                               ; preds = %40
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = load i32, ptr %12, align 4, !tbaa !12
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %51, i64 %53
  %55 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %54, i32 0, i32 2
  %56 = load i32, ptr %55, align 8, !tbaa !17
  %57 = icmp eq i32 %56, 5
  br i1 %57, label %64, label %58

58:                                               ; preds = %50
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 339, i32 noundef 0, ptr noundef @.str.25) #12
          to label %59 unwind label %60

59:                                               ; preds = %58
  unreachable

60:                                               ; preds = %158, %135, %110, %85, %58
  %61 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %8, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %9, align 4
  br label %207

64:                                               ; preds = %50
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load i32, ptr %12, align 4, !tbaa !12
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %65, i64 %67
  %69 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %68, i32 0, i32 1
  %70 = load ptr, ptr %69, align 8, !tbaa !18
  %71 = load i32, ptr %70, align 4, !tbaa !12
  %72 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 5
  store i32 %71, ptr %72, align 8, !tbaa !19
  br label %203

73:                                               ; preds = %40
  %74 = load ptr, ptr %14, align 8, !tbaa !5
  %75 = call i32 @strcmp(ptr noundef %74, ptr noundef @.str.21) #11
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %98, label %77

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

85:                                               ; preds = %77
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 344, i32 noundef 0, ptr noundef @.str.25) #12
          to label %86 unwind label %60

86:                                               ; preds = %85
  unreachable

87:                                               ; preds = %77
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = load i32, ptr %12, align 4, !tbaa !12
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %88, i64 %90
  %92 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %91, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !18
  %94 = load i8, ptr %93, align 1, !tbaa !30, !range !31, !noundef !32
  %95 = trunc i8 %94 to i1
  %96 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 1
  %97 = zext i1 %95 to i8
  store i8 %97, ptr %96, align 8, !tbaa !33
  br label %202

98:                                               ; preds = %73
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = call i32 @strcmp(ptr noundef %99, ptr noundef @.str.22) #11
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %123, label %102

102:                                              ; preds = %98
  %103 = load ptr, ptr %11, align 8, !tbaa !5
  %104 = load i32, ptr %12, align 4, !tbaa !12
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %103, i64 %105
  %107 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %106, i32 0, i32 2
  %108 = load i32, ptr %107, align 8, !tbaa !17
  %109 = icmp eq i32 %108, 5
  br i1 %109, label %112, label %110

110:                                              ; preds = %102
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 349, i32 noundef 0, ptr noundef @.str.25) #12
          to label %111 unwind label %60

111:                                              ; preds = %110
  unreachable

112:                                              ; preds = %102
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = load i32, ptr %12, align 4, !tbaa !12
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %113, i64 %115
  %117 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %116, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !18
  %119 = load i8, ptr %118, align 1, !tbaa !30, !range !31, !noundef !32
  %120 = trunc i8 %119 to i1
  %121 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 2
  %122 = zext i1 %120 to i8
  store i8 %122, ptr %121, align 1, !tbaa !34
  br label %201

123:                                              ; preds = %98
  %124 = load ptr, ptr %14, align 8, !tbaa !5
  %125 = call i32 @strcmp(ptr noundef %124, ptr noundef @.str.24) #11
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %146, label %127

127:                                              ; preds = %123
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = load i32, ptr %12, align 4, !tbaa !12
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %128, i64 %130
  %132 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %131, i32 0, i32 2
  %133 = load i32, ptr %132, align 8, !tbaa !17
  %134 = icmp eq i32 %133, 1
  br i1 %134, label %137, label %135

135:                                              ; preds = %127
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 354, i32 noundef 0, ptr noundef @.str.26) #12
          to label %136 unwind label %60

136:                                              ; preds = %135
  unreachable

137:                                              ; preds = %127
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load i32, ptr %12, align 4, !tbaa !12
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %138, i64 %140
  %142 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %141, i32 0, i32 1
  %143 = load ptr, ptr %142, align 8, !tbaa !18
  %144 = load float, ptr %143, align 4, !tbaa !35
  %145 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 4
  store float %144, ptr %145, align 4, !tbaa !36
  br label %200

146:                                              ; preds = %123
  %147 = load ptr, ptr %14, align 8, !tbaa !5
  %148 = call i32 @strcmp(ptr noundef %147, ptr noundef @.str.20) #11
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %199, label %150

150:                                              ; preds = %146
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = load i32, ptr %12, align 4, !tbaa !12
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %151, i64 %153
  %155 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %154, i32 0, i32 2
  %156 = load i32, ptr %155, align 8, !tbaa !17
  %157 = icmp eq i32 %156, 1
  br i1 %157, label %160, label %158

158:                                              ; preds = %150
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.2, ptr noundef @__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 359, i32 noundef 0, ptr noundef @.str.26) #12
          to label %159 unwind label %60

159:                                              ; preds = %158
  unreachable

160:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = load i32, ptr %12, align 4, !tbaa !12
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %161, i64 %163
  %165 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %164, i32 0, i32 3
  %166 = load i32, ptr %165, align 4, !tbaa !37
  store i32 %166, ptr %15, align 4, !tbaa !12
  %167 = load i32, ptr %15, align 4, !tbaa !12
  %168 = sext i32 %167 to i64
  invoke void @_ZNSt6vectorIfSaIfEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %168)
          to label %169 unwind label %181

169:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = load i32, ptr %12, align 4, !tbaa !12
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %170, i64 %172
  %174 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %173, i32 0, i32 1
  %175 = load ptr, ptr %174, align 8, !tbaa !18
  store ptr %175, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  store i32 0, ptr %17, align 4, !tbaa !12
  br label %176

176:                                              ; preds = %190, %169
  %177 = load i32, ptr %17, align 4, !tbaa !12
  %178 = load i32, ptr %15, align 4, !tbaa !12
  %179 = icmp slt i32 %177, %178
  br i1 %179, label %185, label %180

180:                                              ; preds = %176
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %197

181:                                              ; preds = %160
  %182 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %8, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %9, align 4
  br label %198

185:                                              ; preds = %176
  %186 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %186)
          to label %187 unwind label %193

187:                                              ; preds = %185
  %188 = load ptr, ptr %16, align 8, !tbaa !5
  %189 = getelementptr inbounds float, ptr %188, i32 1
  store ptr %189, ptr %16, align 8, !tbaa !5
  br label %190

190:                                              ; preds = %187
  %191 = load i32, ptr %17, align 4, !tbaa !12
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %17, align 4, !tbaa !12
  br label %176, !llvm.loop !38

193:                                              ; preds = %185
  %194 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %8, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %198

197:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %199

198:                                              ; preds = %193, %181
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %207

199:                                              ; preds = %197, %146
  br label %200

200:                                              ; preds = %199, %137
  br label %201

201:                                              ; preds = %200, %112
  br label %202

202:                                              ; preds = %201, %87
  br label %203

203:                                              ; preds = %202, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %204

204:                                              ; preds = %203
  %205 = load i32, ptr %12, align 4, !tbaa !12
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %12, align 4, !tbaa !12
  br label %29, !llvm.loop !40

207:                                              ; preds = %198, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %243

208:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #10
  %209 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %18, i32 0, i32 0
  store i32 0, ptr %209, align 8, !tbaa !41
  %210 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %18, i32 0, i32 1
  %211 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  store ptr %211, ptr %210, align 8, !tbaa !44
  %212 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %18, i32 0, i32 2
  %213 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  store i64 %213, ptr %212, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %214 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 120) #13
          to label %215 unwind label %234

215:                                              ; preds = %208
  %216 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 5
  %217 = load i32, ptr %216, align 8, !tbaa !19
  %218 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 1
  %219 = load i8, ptr %218, align 8, !tbaa !33, !range !31, !noundef !32
  %220 = trunc i8 %219 to i1
  %221 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 2
  %222 = load i8, ptr %221, align 1, !tbaa !34, !range !31, !noundef !32
  %223 = trunc i8 %222 to i1
  %224 = getelementptr inbounds %"class.nvinfer1::plugin::NormalizePluginCreator", ptr %21, i32 0, i32 4
  %225 = load float, ptr %224, align 4, !tbaa !36
  invoke void @_ZN8nvinfer16plugin9NormalizeC1EPKNS_7WeightsEibbf(ptr noundef nonnull align 8 dereferenceable(120) %214, ptr noundef %18, i32 noundef %217, i1 noundef zeroext %220, i1 noundef zeroext %223, float noundef %225)
          to label %226 unwind label %238

226:                                              ; preds = %215
  store ptr %214, ptr %19, align 8, !tbaa !5
  %227 = load ptr, ptr %19, align 8, !tbaa !5
  %228 = getelementptr inbounds %"class.nvinfer1::pluginInternal::BaseCreator", ptr %21, i32 0, i32 1
  %229 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %228) #10
  %230 = load ptr, ptr %227, align 8, !tbaa !46
  %231 = getelementptr inbounds ptr, ptr %230, i64 15
  %232 = load ptr, ptr %231, align 8
  call void %232(ptr noundef nonnull align 8 dereferenceable(120) %227, ptr noundef %229) #10
  %233 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %233, ptr %4, align 8
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #10
  br label %255

234:                                              ; preds = %208
  %235 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %8, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %9, align 4
  br label %242

238:                                              ; preds = %215
  %239 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %8, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %214, i64 noundef 120) #14
  br label %242

242:                                              ; preds = %238, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #10
  br label %243

243:                                              ; preds = %242, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #10
  br label %244

244:                                              ; preds = %243, %36
  %245 = load i32, ptr %9, align 4
  %246 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %247 = icmp eq i32 %245, %246
  br i1 %247, label %248, label %260

248:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %249 = load ptr, ptr %8, align 8
  %250 = call ptr @__cxa_begin_catch(ptr %249) #10
  store ptr %250, ptr %20, align 8
  %251 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %251)
          to label %252 unwind label %257

252:                                              ; preds = %248
  invoke void @__cxa_end_catch()
          to label %253 unwind label %257

253:                                              ; preds = %252
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %254

254:                                              ; preds = %253
  store ptr null, ptr %4, align 8
  br label %255

255:                                              ; preds = %254, %226
  %256 = load ptr, ptr %4, align 8
  ret ptr %256

257:                                              ; preds = %252, %248
  %258 = landingpad { ptr, i32 }
          catch ptr null
  %259 = extractvalue { ptr, i32 } %258, 0
  call void @__clang_call_terminate(ptr %259) #15
  unreachable

260:                                              ; preds = %244
  %261 = load ptr, ptr %8, align 8
  call void @__clang_call_terminate(ptr %261) #15
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

declare void @_ZN8nvinfer16plugin9NormalizeC1EPKNS_7WeightsEibbf(ptr, ptr, i32, i1, i1, float)

attributes #0 = { 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 #1 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 memory(none) }
attributes #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { noreturn }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { builtin nounwind }
attributes #15 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTSN8nvinfer111PluginFieldE", !6, i64 0, !6, i64 8, !16, i64 16, !11, i64 20}
!16 = !{!"_ZTSN8nvinfer115PluginFieldTypeE", !7, i64 0}
!17 = !{!15, !16, i64 16}
!18 = !{!15, !6, i64 8}
!19 = !{!20, !11, i64 48}
!20 = !{!"_ZTSN8nvinfer16plugin22NormalizePluginCreatorE", !21, i64 0, !28, i64 40, !28, i64 41, !29, i64 44, !11, i64 48}
!21 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !22, i64 0, !25, i64 8}
!22 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !23, i64 0}
!23 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !24, i64 0}
!24 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !27, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!"bool", !7, i64 0}
!29 = !{!"float", !7, i64 0}
!30 = !{!28, !28, i64 0}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!20, !28, i64 40}
!34 = !{!20, !28, i64 41}
!35 = !{!29, !29, i64 0}
!36 = !{!20, !29, i64 44}
!37 = !{!15, !11, i64 20}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = distinct !{!40, !39}
!41 = !{!42, !43, i64 0}
!42 = !{!"_ZTSN8nvinfer17WeightsE", !43, i64 0, !6, i64 8, !27, i64 16}
!43 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!44 = !{!42, !6, i64 8}
!45 = !{!42, !27, i64 16}
!46 = !{!47, !47, i64 0}
!47 = !{!"vtable pointer", !8, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.nvinfer1::plugin::LogStream" = type { %"class.std::basic_ostream.base", %"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf", %"class.std::mutex", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kWARNING>::Buf" = type { %"class.std::__cxx11::basic_stringbuf" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }
%"class.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }

@_ZN8nvinfer16plugin11gLogWarningE = external global %"class.nvinfer1::plugin::LogStream", align 8
@.str = external hidden unnamed_addr constant [124 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [92 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [4 x i8], align 1
@__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

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

declare void @__cxa_end_catch() local_unnamed_addr

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr noundef nonnull align 8 dereferenceable(52) %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.3", align 8
  %5 = alloca %"class.nvinfer1::Weights", align 8
  %6 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE2EA124_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152) @_ZN8nvinfer16plugin11gLogWarningE, ptr noundef nonnull align 1 dereferenceable(124) @.str)
          to label %7 unwind label %23

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

9:                                                ; preds = %7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #10
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  %10 = getelementptr inbounds i8, ptr %2, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = load i32, ptr %2, align 8, !tbaa !11
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph68, label %._crit_edge

.lr.ph68:                                         ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 44
  %15 = getelementptr inbounds i8, ptr %0, i64 41
  %16 = getelementptr inbounds i8, ptr %0, i64 40
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  br label %25

._crit_edge:                                      ; preds = %.loopexit, %9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #10
  store i32 0, ptr %5, align 8, !tbaa !12
  %18 = getelementptr inbounds i8, ptr %5, i64 8
  %19 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  store ptr %19, ptr %18, align 8, !tbaa !16
  %20 = getelementptr inbounds i8, ptr %5, i64 16
  %21 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  store i64 %21, ptr %20, align 8, !tbaa !17
  %22 = invoke noalias noundef nonnull dereferenceable(120) ptr @_Znwm(i64 noundef 120) #11
          to label %95 unwind label %112

23:                                               ; preds = %7, %3
  %24 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %118

25:                                               ; preds = %.lr.ph68, %.loopexit
  %indvars.iv = phi i64 [ 0, %.lr.ph68 ], [ %indvars.iv.next, %.loopexit ]
  %26 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %11, i64 %indvars.iv
  %27 = load ptr, ptr %26, align 8, !tbaa !18
  %28 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %27, ptr noundef nonnull dereferenceable(1) @.str.23) #12
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %29, label %39

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %26, i64 16
  %31 = load i32, ptr %30, align 8, !tbaa !21
  %32 = icmp eq i32 %31, 5
  br i1 %32, label %35, label %.invoke

33:                                               ; preds = %.invoke
  %34 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %117

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %26, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !22
  %38 = load i32, ptr %37, align 4, !tbaa !23
  store i32 %38, ptr %17, align 8, !tbaa !24
  br label %.loopexit

39:                                               ; preds = %25
  %40 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %27, ptr noundef nonnull dereferenceable(1) @.str.21) #12
  %.not56 = icmp eq i32 %40, 0
  br i1 %.not56, label %41, label %49

41:                                               ; preds = %39
  %42 = getelementptr inbounds i8, ptr %26, i64 16
  %43 = load i32, ptr %42, align 8, !tbaa !21
  %44 = icmp eq i32 %43, 5
  br i1 %44, label %45, label %.invoke

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %26, i64 8
  %47 = load ptr, ptr %46, align 8, !tbaa !22
  %48 = load i8, ptr %47, align 1, !tbaa !34, !range !35, !noundef !36
  store i8 %48, ptr %16, align 8, !tbaa !37
  br label %.loopexit

49:                                               ; preds = %39
  %50 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %27, ptr noundef nonnull dereferenceable(1) @.str.22) #12
  %.not57 = icmp eq i32 %50, 0
  br i1 %.not57, label %51, label %59

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %26, i64 16
  %53 = load i32, ptr %52, align 8, !tbaa !21
  %54 = icmp eq i32 %53, 5
  br i1 %54, label %55, label %.invoke

55:                                               ; preds = %51
  %56 = getelementptr inbounds i8, ptr %26, i64 8
  %57 = load ptr, ptr %56, align 8, !tbaa !22
  %58 = load i8, ptr %57, align 1, !tbaa !34, !range !35, !noundef !36
  store i8 %58, ptr %15, align 1, !tbaa !38
  br label %.loopexit

59:                                               ; preds = %49
  %60 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %27, ptr noundef nonnull dereferenceable(1) @.str.24) #12
  %.not58 = icmp eq i32 %60, 0
  br i1 %.not58, label %61, label %69

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %26, i64 16
  %63 = load i32, ptr %62, align 8, !tbaa !21
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %65, label %.invoke

65:                                               ; preds = %61
  %66 = getelementptr inbounds i8, ptr %26, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !22
  %68 = load float, ptr %67, align 4, !tbaa !39
  store float %68, ptr %14, align 4, !tbaa !40
  br label %.loopexit

69:                                               ; preds = %59
  %70 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %27, ptr noundef nonnull dereferenceable(1) @.str.20) #12
  %.not59 = icmp eq i32 %70, 0
  br i1 %.not59, label %71, label %.loopexit

71:                                               ; preds = %69
  %72 = getelementptr inbounds i8, ptr %26, i64 16
  %73 = load i32, ptr %72, align 8, !tbaa !21
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %77, label %.invoke

.invoke:                                          ; preds = %29, %71, %61, %51, %41
  %75 = phi i32 [ 344, %41 ], [ 349, %51 ], [ 354, %61 ], [ 359, %71 ], [ 339, %29 ]
  %76 = phi ptr [ @.str.25, %41 ], [ @.str.25, %51 ], [ @.str.26, %61 ], [ @.str.26, %71 ], [ @.str.25, %29 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN8nvinfer16plugin22NormalizePluginCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef %75, i32 noundef 0, ptr noundef nonnull %76) #13
          to label %.cont unwind label %33

.cont:                                            ; preds = %.invoke
  unreachable

77:                                               ; preds = %71
  %78 = getelementptr inbounds i8, ptr %26, i64 20
  %79 = load i32, ptr %78, align 4, !tbaa !41
  %80 = sext i32 %79 to i64
  invoke void @_ZNSt6vectorIfSaIfEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %80)
          to label %81 unwind label %85

81:                                               ; preds = %77
  %82 = icmp sgt i32 %79, 0
  br i1 %82, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %81
  %83 = getelementptr inbounds i8, ptr %26, i64 8
  %84 = load ptr, ptr %83, align 8, !tbaa !22
  br label %.lr.ph

85:                                               ; preds = %77
  %86 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %117

.lr.ph:                                           ; preds = %.lr.ph.preheader, %87
  %.04766 = phi i32 [ %89, %87 ], [ 0, %.lr.ph.preheader ]
  %.04865 = phi ptr [ %88, %87 ], [ %84, %.lr.ph.preheader ]
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %.04865)
          to label %87 unwind label %90

87:                                               ; preds = %.lr.ph
  %88 = getelementptr inbounds i8, ptr %.04865, i64 4
  %89 = add nuw nsw i32 %.04766, 1
  %exitcond.not = icmp eq i32 %89, %79
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !42

90:                                               ; preds = %.lr.ph
  %91 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %117

.loopexit:                                        ; preds = %87, %81, %45, %65, %69, %55, %35
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %92 = load i32, ptr %2, align 8, !tbaa !11
  %93 = sext i32 %92 to i64
  %94 = icmp slt i64 %indvars.iv.next, %93
  br i1 %94, label %25, label %._crit_edge, !llvm.loop !44

95:                                               ; preds = %._crit_edge
  %96 = getelementptr inbounds i8, ptr %0, i64 48
  %97 = load i32, ptr %96, align 8, !tbaa !24
  %98 = getelementptr inbounds i8, ptr %0, i64 40
  %99 = load i8, ptr %98, align 8, !tbaa !37, !range !35, !noundef !36
  %100 = trunc nuw i8 %99 to i1
  %101 = getelementptr inbounds i8, ptr %0, i64 41
  %102 = load i8, ptr %101, align 1, !tbaa !38, !range !35, !noundef !36
  %103 = trunc nuw i8 %102 to i1
  %104 = getelementptr inbounds i8, ptr %0, i64 44
  %105 = load float, ptr %104, align 4, !tbaa !40
  invoke void @_ZN8nvinfer16plugin9NormalizeC1EPKNS_7WeightsEibbf(ptr noundef nonnull align 8 dereferenceable(120) %22, ptr noundef nonnull %5, i32 noundef %97, i1 noundef zeroext %100, i1 noundef zeroext %103, float noundef %105)
          to label %106 unwind label %114

106:                                              ; preds = %95
  %107 = getelementptr inbounds i8, ptr %0, i64 8
  %108 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %107) #10
  %109 = load ptr, ptr %22, align 8, !tbaa !45
  %110 = getelementptr inbounds i8, ptr %109, i64 120
  %111 = load ptr, ptr %110, align 8
  call void %111(ptr noundef nonnull align 8 dereferenceable(120) %22, ptr noundef %108) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #10
  br label %124

112:                                              ; preds = %._crit_edge
  %113 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %116

114:                                              ; preds = %95
  %115 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZdlPvm(ptr noundef nonnull %22, i64 noundef 120) #14
  br label %116

116:                                              ; preds = %114, %112
  %.pn = phi { ptr, i32 } [ %115, %114 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  br label %117

117:                                              ; preds = %33, %90, %85, %116
  %.pn60.pn.pn = phi { ptr, i32 } [ %.pn, %116 ], [ %34, %33 ], [ %91, %90 ], [ %86, %85 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #10
  br label %118

118:                                              ; preds = %117, %23
  %.pn60.pn.pn.pn = phi { ptr, i32 } [ %.pn60.pn.pn, %117 ], [ %24, %23 ]
  %.4 = extractvalue { ptr, i32 } %.pn60.pn.pn.pn, 0
  %.453 = extractvalue { ptr, i32 } %.pn60.pn.pn.pn, 1
  %119 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %120 = icmp eq i32 %.453, %119
  br i1 %120, label %121, label %128

121:                                              ; preds = %118
  %122 = call ptr @__cxa_begin_catch(ptr %.4) #10
  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, %106
  %.0 = phi ptr [ %22, %106 ], [ 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) #15
  unreachable

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

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

declare void @_ZN8nvinfer16plugin9NormalizeC1EPKNS_7WeightsEibbf(ptr, ptr, i32, i1, i1, float) local_unnamed_addr

attributes #0 = { 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 #1 = { 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 #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { nofree nosync nounwind memory(none) }
attributes #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { noreturn }
attributes #14 = { builtin nounwind }
attributes #15 = { 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, !14, i64 0}
!13 = !{!"_ZTSN8nvinfer17WeightsE", !14, i64 0, !10, i64 8, !15, i64 16}
!14 = !{!"_ZTSN8nvinfer18DataTypeE", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!13, !10, i64 8}
!17 = !{!13, !15, i64 16}
!18 = !{!19, !10, i64 0}
!19 = !{!"_ZTSN8nvinfer111PluginFieldE", !10, i64 0, !10, i64 8, !20, i64 16, !7, i64 20}
!20 = !{!"_ZTSN8nvinfer115PluginFieldTypeE", !8, i64 0}
!21 = !{!19, !20, i64 16}
!22 = !{!19, !10, i64 8}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !7, i64 48}
!25 = !{!"_ZTSN8nvinfer16plugin22NormalizePluginCreatorE", !26, i64 0, !32, i64 40, !32, i64 41, !33, i64 44, !7, i64 48}
!26 = !{!"_ZTSN8nvinfer114pluginInternal11BaseCreatorE", !27, i64 0, !30, i64 8}
!27 = !{!"_ZTSN8nvinfer15v_1_014IPluginCreatorE", !28, i64 0}
!28 = !{!"_ZTSN8nvinfer15v_1_023IPluginCreatorInterfaceE", !29, i64 0}
!29 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !31, i64 0, !15, i64 8, !8, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!32 = !{!"bool", !8, i64 0}
!33 = !{!"float", !8, i64 0}
!34 = !{!32, !32, i64 0}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!25, !32, i64 40}
!38 = !{!25, !32, i64 41}
!39 = !{!33, !33, i64 0}
!40 = !{!25, !33, i64 44}
!41 = !{!19, !7, i64 20}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = distinct !{!44, !43}
!45 = !{!46, !46, i64 0}
!46 = !{!"vtable pointer", !9, i64 0}


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