; LLVM IR from NVIDIA/TensorRT :: plugin/embLayerNormPlugin (embLayerNormVarSeqlenPluginLegacy)

; 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.17" = type { i8 }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }
%"class.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }

@.str = external hidden unnamed_addr constant [113 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [12 x i8], align 1
@__func__._Z16initializeFieldsPKcPKN8nvinfer121PluginFieldCollectionERNS1_7WeightsES6_S6_S6_S6_ = external hidden unnamed_addr constant [17 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [46 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z16initializeFieldsPKcPKN8nvinfer121PluginFieldCollectionERNS1_7WeightsES6_S6_S6_S6_(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #3 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca %"class.std::set", align 8
  %17 = alloca %"class.std::initializer_list", align 8
  %18 = alloca [5 x %"class.std::__cxx11::basic_string"], align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::allocator.0", align 1
  %24 = alloca %"class.std::allocator.0", align 1
  %25 = alloca %"class.std::allocator.0", align 1
  %26 = alloca %"class.std::allocator.0", align 1
  %27 = alloca i1, align 1
  %28 = alloca %"struct.std::less", align 1
  %29 = alloca %"class.std::allocator.17", align 1
  %30 = alloca %"class.std::set", align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.0", align 1
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 0, ptr %15, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr %18) #7
  store i1 true, ptr %27, align 1
  store ptr %18, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.54, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %34 unwind label %67

34:                                               ; preds = %7
  %35 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 1
  store ptr %35, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.55, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %36 unwind label %71

36:                                               ; preds = %34
  %37 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 2
  store ptr %37, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef @.str.56, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %38 unwind label %75

38:                                               ; preds = %36
  %39 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 3
  store ptr %39, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef @.str.57, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %40 unwind label %79

40:                                               ; preds = %38
  %41 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 4
  store ptr %41, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef @.str.58, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %42 unwind label %83

42:                                               ; preds = %40
  store i1 false, ptr %27, align 1
  %43 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 0
  store ptr %18, ptr %43, align 8, !tbaa !11
  %44 = getelementptr inbounds %"class.std::initializer_list", ptr %17, i32 0, i32 1
  store i64 5, ptr %44, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  %45 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8
  %47 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %48 = load i64, ptr %47, align 8
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr %46, i64 %48, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %49 unwind label %87

49:                                               ; preds = %42
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  %50 = getelementptr inbounds [5 x %"class.std::__cxx11::basic_string"], ptr %18, i32 0, i32 0
  %51 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %50, i64 5
  br label %52

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

56:                                               ; preds = %52
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr %18) #7
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %57 unwind label %113

57:                                               ; preds = %56
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef %30, ptr noundef %58)
          to label %59 unwind label %117

59:                                               ; preds = %57
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !15
  br label %60

60:                                               ; preds = %352, %59
  %61 = load i32, ptr %31, align 4, !tbaa !15
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !17
  %65 = icmp slt i32 %61, %64
  br i1 %65, label %121, label %66

66:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %356

67:                                               ; preds = %7
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %21, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %22, align 4
  br label %102

71:                                               ; preds = %34
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %21, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %22, align 4
  br label %101

75:                                               ; preds = %36
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %21, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %22, align 4
  br label %100

79:                                               ; preds = %38
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %21, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %22, align 4
  br label %99

83:                                               ; preds = %40
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %21, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %22, align 4
  br label %98

87:                                               ; preds = %42
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %21, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %22, align 4
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  %91 = getelementptr inbounds [5 x %"class.std::__cxx11::basic_string"], ptr %18, i32 0, i32 0
  %92 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %91, i64 5
  br label %93

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

97:                                               ; preds = %93
  br label %98

98:                                               ; preds = %97, %83
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  br label %99

99:                                               ; preds = %98, %79
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  br label %100

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

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

102:                                              ; preds = %101, %67
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  %103 = load i1, ptr %27, align 1
  br i1 %103, label %104, label %112

104:                                              ; preds = %102
  %105 = load ptr, ptr %19, align 8
  %106 = icmp eq ptr %18, %105
  br i1 %106, label %111, label %107

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

111:                                              ; preds = %107, %104
  br label %112

112:                                              ; preds = %111, %102
  call void @llvm.lifetime.end.p0(i64 160, ptr %18) #7
  br label %360

113:                                              ; preds = %56
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %21, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %22, align 4
  br label %359

117:                                              ; preds = %57
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %21, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %22, align 4
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  br label %359

121:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #7
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %122, i32 0, i32 1
  %124 = load ptr, ptr %123, align 8, !tbaa !19
  %125 = load i32, ptr %31, align 4, !tbaa !15
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %124, i64 %126
  %128 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %127, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %129, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %130 unwind label %167

130:                                              ; preds = %121
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  %131 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.54) #7
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %175

133:                                              ; preds = %130
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %134, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !19
  %137 = load i32, ptr %31, align 4, !tbaa !15
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %136, i64 %138
  %140 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %139, i32 0, i32 1
  %141 = load ptr, ptr %140, align 8, !tbaa !23
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %142, i32 0, i32 1
  store ptr %141, ptr %143, align 8, !tbaa !24
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %144, i32 0, i32 1
  %146 = load ptr, ptr %145, align 8, !tbaa !19
  %147 = load i32, ptr %31, align 4, !tbaa !15
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %146, i64 %148
  %150 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %149, i32 0, i32 3
  %151 = load i32, ptr %150, align 4, !tbaa !27
  %152 = sext i32 %151 to i64
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %153, i32 0, i32 2
  store i64 %152, ptr %154, align 8, !tbaa !28
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %155, i32 0, i32 1
  %157 = load ptr, ptr %156, align 8, !tbaa !19
  %158 = load i32, ptr %31, align 4, !tbaa !15
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %157, i64 %159
  %161 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %160, i32 0, i32 2
  %162 = load i32, ptr %161, align 8, !tbaa !29
  %163 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %162)
          to label %164 unwind label %171

164:                                              ; preds = %133
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  %166 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %165, i32 0, i32 0
  store i32 %163, ptr %166, align 8, !tbaa !30
  br label %175

167:                                              ; preds = %121
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %21, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %22, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  br label %355

171:                                              ; preds = %336, %289, %252, %215, %178, %133
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %21, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %355

175:                                              ; preds = %164, %130
  %176 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.55) #7
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %178, label %212

178:                                              ; preds = %175
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %179, i32 0, i32 1
  %181 = load ptr, ptr %180, align 8, !tbaa !19
  %182 = load i32, ptr %31, align 4, !tbaa !15
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %181, i64 %183
  %185 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %184, i32 0, i32 1
  %186 = load ptr, ptr %185, align 8, !tbaa !23
  %187 = load ptr, ptr %11, align 8, !tbaa !5
  %188 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %187, i32 0, i32 1
  store ptr %186, ptr %188, align 8, !tbaa !24
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %189, i32 0, i32 1
  %191 = load ptr, ptr %190, align 8, !tbaa !19
  %192 = load i32, ptr %31, align 4, !tbaa !15
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %191, i64 %193
  %195 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %194, i32 0, i32 3
  %196 = load i32, ptr %195, align 4, !tbaa !27
  %197 = sext i32 %196 to i64
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %198, i32 0, i32 2
  store i64 %197, ptr %199, align 8, !tbaa !28
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %200, i32 0, i32 1
  %202 = load ptr, ptr %201, align 8, !tbaa !19
  %203 = load i32, ptr %31, align 4, !tbaa !15
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %202, i64 %204
  %206 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %205, i32 0, i32 2
  %207 = load i32, ptr %206, align 8, !tbaa !29
  %208 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %207)
          to label %209 unwind label %171

209:                                              ; preds = %178
  %210 = load ptr, ptr %11, align 8, !tbaa !5
  %211 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %210, i32 0, i32 0
  store i32 %208, ptr %211, align 8, !tbaa !30
  br label %212

212:                                              ; preds = %209, %175
  %213 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.56) #7
  %214 = icmp eq i32 %213, 0
  br i1 %214, label %215, label %249

215:                                              ; preds = %212
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %216, i32 0, i32 1
  %218 = load ptr, ptr %217, align 8, !tbaa !19
  %219 = load i32, ptr %31, align 4, !tbaa !15
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %218, i64 %220
  %222 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %221, i32 0, i32 1
  %223 = load ptr, ptr %222, align 8, !tbaa !23
  %224 = load ptr, ptr %12, align 8, !tbaa !5
  %225 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %224, i32 0, i32 1
  store ptr %223, ptr %225, align 8, !tbaa !24
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %226, i32 0, i32 1
  %228 = load ptr, ptr %227, align 8, !tbaa !19
  %229 = load i32, ptr %31, align 4, !tbaa !15
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %228, i64 %230
  %232 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %231, i32 0, i32 3
  %233 = load i32, ptr %232, align 4, !tbaa !27
  %234 = sext i32 %233 to i64
  %235 = load ptr, ptr %12, align 8, !tbaa !5
  %236 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %235, i32 0, i32 2
  store i64 %234, ptr %236, align 8, !tbaa !28
  %237 = load ptr, ptr %9, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %237, i32 0, i32 1
  %239 = load ptr, ptr %238, align 8, !tbaa !19
  %240 = load i32, ptr %31, align 4, !tbaa !15
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %239, i64 %241
  %243 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %242, i32 0, i32 2
  %244 = load i32, ptr %243, align 8, !tbaa !29
  %245 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %244)
          to label %246 unwind label %171

246:                                              ; preds = %215
  %247 = load ptr, ptr %12, align 8, !tbaa !5
  %248 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %247, i32 0, i32 0
  store i32 %245, ptr %248, align 8, !tbaa !30
  br label %249

249:                                              ; preds = %246, %212
  %250 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.57) #7
  %251 = icmp eq i32 %250, 0
  br i1 %251, label %252, label %286

252:                                              ; preds = %249
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %253, i32 0, i32 1
  %255 = load ptr, ptr %254, align 8, !tbaa !19
  %256 = load i32, ptr %31, align 4, !tbaa !15
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %255, i64 %257
  %259 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %258, i32 0, i32 1
  %260 = load ptr, ptr %259, align 8, !tbaa !23
  %261 = load ptr, ptr %14, align 8, !tbaa !5
  %262 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %261, i32 0, i32 1
  store ptr %260, ptr %262, align 8, !tbaa !24
  %263 = load ptr, ptr %9, align 8, !tbaa !5
  %264 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %263, i32 0, i32 1
  %265 = load ptr, ptr %264, align 8, !tbaa !19
  %266 = load i32, ptr %31, align 4, !tbaa !15
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %265, i64 %267
  %269 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %268, i32 0, i32 3
  %270 = load i32, ptr %269, align 4, !tbaa !27
  %271 = sext i32 %270 to i64
  %272 = load ptr, ptr %14, align 8, !tbaa !5
  %273 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %272, i32 0, i32 2
  store i64 %271, ptr %273, align 8, !tbaa !28
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  %275 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %274, i32 0, i32 1
  %276 = load ptr, ptr %275, align 8, !tbaa !19
  %277 = load i32, ptr %31, align 4, !tbaa !15
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %276, i64 %278
  %280 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %279, i32 0, i32 2
  %281 = load i32, ptr %280, align 8, !tbaa !29
  %282 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %281)
          to label %283 unwind label %171

283:                                              ; preds = %252
  %284 = load ptr, ptr %14, align 8, !tbaa !5
  %285 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %284, i32 0, i32 0
  store i32 %282, ptr %285, align 8, !tbaa !30
  br label %286

286:                                              ; preds = %283, %249
  %287 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.58) #7
  %288 = icmp eq i32 %287, 0
  br i1 %288, label %289, label %323

289:                                              ; preds = %286
  %290 = load ptr, ptr %9, align 8, !tbaa !5
  %291 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %290, i32 0, i32 1
  %292 = load ptr, ptr %291, align 8, !tbaa !19
  %293 = load i32, ptr %31, align 4, !tbaa !15
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %292, i64 %294
  %296 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %295, i32 0, i32 1
  %297 = load ptr, ptr %296, align 8, !tbaa !23
  %298 = load ptr, ptr %13, align 8, !tbaa !5
  %299 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %298, i32 0, i32 1
  store ptr %297, ptr %299, align 8, !tbaa !24
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %300, i32 0, i32 1
  %302 = load ptr, ptr %301, align 8, !tbaa !19
  %303 = load i32, ptr %31, align 4, !tbaa !15
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %302, i64 %304
  %306 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %305, i32 0, i32 3
  %307 = load i32, ptr %306, align 4, !tbaa !27
  %308 = sext i32 %307 to i64
  %309 = load ptr, ptr %13, align 8, !tbaa !5
  %310 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %309, i32 0, i32 2
  store i64 %308, ptr %310, align 8, !tbaa !28
  %311 = load ptr, ptr %9, align 8, !tbaa !5
  %312 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %311, i32 0, i32 1
  %313 = load ptr, ptr %312, align 8, !tbaa !19
  %314 = load i32, ptr %31, align 4, !tbaa !15
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %313, i64 %315
  %317 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %316, i32 0, i32 2
  %318 = load i32, ptr %317, align 8, !tbaa !29
  %319 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %318)
          to label %320 unwind label %171

320:                                              ; preds = %289
  %321 = load ptr, ptr %13, align 8, !tbaa !5
  %322 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %321, i32 0, i32 0
  store i32 %319, ptr %322, align 8, !tbaa !30
  br label %323

323:                                              ; preds = %320, %286
  %324 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.59) #7
  %325 = icmp eq i32 %324, 0
  br i1 %325, label %326, label %351

326:                                              ; preds = %323
  %327 = load ptr, ptr %9, align 8, !tbaa !5
  %328 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %327, i32 0, i32 1
  %329 = load ptr, ptr %328, align 8, !tbaa !19
  %330 = load i32, ptr %31, align 4, !tbaa !15
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %329, i64 %331
  %333 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %332, i32 0, i32 2
  %334 = load i32, ptr %333, align 8, !tbaa !29
  %335 = icmp eq i32 %334, 5
  br i1 %335, label %338, label %336

336:                                              ; preds = %326
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._Z16initializeFieldsPKcPKN8nvinfer121PluginFieldCollectionERNS1_7WeightsES6_S6_S6_S6_, i32 noundef 698, i32 noundef 0, ptr noundef @.str.66) #8
          to label %337 unwind label %171

337:                                              ; preds = %336
  unreachable

338:                                              ; preds = %326
  %339 = load ptr, ptr %9, align 8, !tbaa !5
  %340 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %339, i32 0, i32 1
  %341 = load ptr, ptr %340, align 8, !tbaa !19
  %342 = load i32, ptr %31, align 4, !tbaa !15
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %341, i64 %343
  %345 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %344, i32 0, i32 1
  %346 = load ptr, ptr %345, align 8, !tbaa !23
  %347 = getelementptr inbounds i32, ptr %346, i64 0
  %348 = load i32, ptr %347, align 4, !tbaa !15
  %349 = icmp ne i32 %348, 0
  %350 = zext i1 %349 to i8
  store i8 %350, ptr %15, align 1, !tbaa !9
  br label %351

351:                                              ; preds = %338, %323
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  br label %352

352:                                              ; preds = %351
  %353 = load i32, ptr %31, align 4, !tbaa !15
  %354 = add nsw i32 %353, 1
  store i32 %354, ptr %31, align 4, !tbaa !15
  br label %60, !llvm.loop !31

355:                                              ; preds = %171, %167
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %359

356:                                              ; preds = %66
  %357 = load i8, ptr %15, align 1, !tbaa !9, !range !33, !noundef !34
  %358 = trunc i8 %357 to i1
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  ret i1 %358

359:                                              ; preds = %355, %117, %113
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  br label %360

360:                                              ; preds = %359, %112
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %361

361:                                              ; preds = %360
  %362 = load ptr, ptr %21, align 8
  %363 = load i32, ptr %22, align 4
  %364 = insertvalue { ptr, i32 } poison, ptr %362, 0
  %365 = insertvalue { ptr, i32 } %364, i32 %363, 1
  resume { ptr, i32 } %365
}

; 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 #3 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 #3 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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 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: nounwind
declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef) #6

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

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 "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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !16, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSN8nvinfer111PluginFieldE", !6, i64 0, !6, i64 8, !22, i64 16, !16, i64 20}
!22 = !{!"_ZTSN8nvinfer115PluginFieldTypeE", !7, i64 0}
!23 = !{!21, !6, i64 8}
!24 = !{!25, !6, i64 8}
!25 = !{!"_ZTSN8nvinfer17WeightsE", !26, i64 0, !6, i64 8, !13, i64 16}
!26 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!27 = !{!21, !16, i64 20}
!28 = !{!25, !13, i64 16}
!29 = !{!21, !22, i64 16}
!30 = !{!25, !26, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{i8 0, i8 2}
!34 = !{}


; 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.17" = type { i8 }
%"class.nvinfer1::PluginField" = type { ptr, ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [113 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [12 x i8], align 1
@__func__._Z16initializeFieldsPKcPKN8nvinfer121PluginFieldCollectionERNS1_7WeightsES6_S6_S6_S6_ = external hidden unnamed_addr constant [17 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [46 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z16initializeFieldsPKcPKN8nvinfer121PluginFieldCollectionERNS1_7WeightsES6_S6_S6_S6_(ptr nocapture noundef readnone %0, ptr noundef %1, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(24) %2, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(24) %3, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(24) %4, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(24) %5, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(24) %6) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::set", align 8
  %9 = alloca [5 x %"class.std::__cxx11::basic_string"], align 8
  %10 = alloca %"class.std::allocator.0", align 1
  %11 = alloca %"class.std::allocator.0", align 1
  %12 = alloca %"class.std::allocator.0", align 1
  %13 = alloca %"class.std::allocator.0", align 1
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca %"struct.std::less", align 1
  %16 = alloca %"class.std::allocator.17", align 1
  %17 = alloca %"class.std::set", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.0", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.54, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %20 unwind label %.thread

20:                                               ; preds = %7
  %21 = getelementptr inbounds i8, ptr %9, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.55, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %22 unwind label %50

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %9, i64 64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.56, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %24 unwind label %52

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %9, i64 96
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.57, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %26 unwind label %54

26:                                               ; preds = %24
  %27 = getelementptr inbounds i8, ptr %9, i64 128
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.58, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %28 unwind label %56

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr nonnull %9, i64 5, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %29 unwind label %.loopexit96.loopexit

29:                                               ; preds = %28
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  %30 = getelementptr inbounds i8, ptr %9, i64 128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  %31 = getelementptr inbounds i8, ptr %9, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  %32 = getelementptr inbounds i8, ptr %9, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  %33 = getelementptr inbounds i8, ptr %9, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %9) #7
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %34 unwind label %70

34:                                               ; preds = %29
  invoke void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef nonnull %17, ptr noundef %1)
          to label %35 unwind label %72

35:                                               ; preds = %34
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #7
  %36 = load i32, ptr %1, align 8, !tbaa !5
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %35
  %38 = getelementptr inbounds i8, ptr %1, i64 8
  %39 = getelementptr inbounds i8, ptr %2, i64 8
  %40 = getelementptr inbounds i8, ptr %2, i64 16
  %41 = getelementptr inbounds i8, ptr %3, i64 8
  %42 = getelementptr inbounds i8, ptr %3, i64 16
  %43 = getelementptr inbounds i8, ptr %4, i64 8
  %44 = getelementptr inbounds i8, ptr %4, i64 16
  %45 = getelementptr inbounds i8, ptr %6, i64 8
  %46 = getelementptr inbounds i8, ptr %6, i64 16
  %47 = getelementptr inbounds i8, ptr %5, i64 8
  %48 = getelementptr inbounds i8, ptr %5, i64 16
  br label %74

._crit_edge:                                      ; preds = %167, %35
  %.078.lcssa = phi i1 [ false, %35 ], [ %.179, %167 ]
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  ret i1 %.078.lcssa

.thread:                                          ; preds = %7
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  br label %.loopexit95

50:                                               ; preds = %20
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %66

52:                                               ; preds = %22
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %65

54:                                               ; preds = %24
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %64

56:                                               ; preds = %26
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit96

.loopexit96.loopexit:                             ; preds = %28
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  %59 = getelementptr inbounds i8, ptr %9, i64 128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #7
  %60 = getelementptr inbounds i8, ptr %9, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #7
  %61 = getelementptr inbounds i8, ptr %9, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  %62 = getelementptr inbounds i8, ptr %9, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %.loopexit96

.loopexit96:                                      ; preds = %.loopexit96.loopexit, %56
  %.pn = phi { ptr, i32 } [ %57, %56 ], [ %58, %.loopexit96.loopexit ]
  %63 = phi i1 [ false, %56 ], [ true, %.loopexit96.loopexit ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  br label %64

64:                                               ; preds = %.loopexit96, %54
  %.074 = phi ptr [ %27, %.loopexit96 ], [ %25, %54 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit96 ], [ %55, %54 ]
  %.1 = phi i1 [ %63, %.loopexit96 ], [ false, %54 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  br label %65

65:                                               ; preds = %64, %52
  %.175 = phi ptr [ %.074, %64 ], [ %23, %52 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %64 ], [ %53, %52 ]
  %.2 = phi i1 [ %.1, %64 ], [ false, %52 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  br label %66

66:                                               ; preds = %50, %65
  %.276 = phi ptr [ %.175, %65 ], [ %21, %50 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %65 ], [ %51, %50 ]
  %.3 = phi i1 [ %.2, %65 ], [ false, %50 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  br i1 %.3, label %.loopexit95, label %.preheader

.preheader:                                       ; preds = %66, %.preheader
  %67 = phi ptr [ %68, %.preheader ], [ %.276, %66 ]
  %68 = getelementptr inbounds i8, ptr %67, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  %69 = icmp eq ptr %68, %9
  br i1 %69, label %.loopexit95, label %.preheader

.loopexit95:                                      ; preds = %.preheader, %.thread, %66
  %.pn.pn.pn.pn.pn94 = phi { ptr, i32 } [ %49, %.thread ], [ %.pn.pn.pn.pn, %66 ], [ %.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %9) #7
  br label %173

70:                                               ; preds = %29
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %172

72:                                               ; preds = %34
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #7
  br label %172

74:                                               ; preds = %.lr.ph, %167
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %167 ]
  %.078100 = phi i1 [ false, %.lr.ph ], [ %.179, %167 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #7
  %75 = load ptr, ptr %38, align 8, !tbaa !11
  %76 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %75, i64 %indvars.iv
  %77 = load ptr, ptr %76, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %77, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %78 unwind label %92

78:                                               ; preds = %74
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  %79 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.54) #7
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %95

81:                                               ; preds = %78
  %82 = load ptr, ptr %38, align 8, !tbaa !11
  %83 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %82, i64 %indvars.iv, i32 1
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  store ptr %84, ptr %39, align 8, !tbaa !16
  %85 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %82, i64 %indvars.iv, i32 3
  %86 = load i32, ptr %85, align 4, !tbaa !20
  %87 = sext i32 %86 to i64
  store i64 %87, ptr %40, align 8, !tbaa !21
  %88 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %82, i64 %indvars.iv, i32 2
  %89 = load i32, ptr %88, align 8, !tbaa !22
  %90 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %89)
          to label %91 unwind label %.loopexit

91:                                               ; preds = %81
  store i32 %90, ptr %2, align 8, !tbaa !23
  br label %95

92:                                               ; preds = %74
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  br label %171

.loopexit:                                        ; preds = %81, %98, %112, %126, %140
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %94

.loopexit.split-lp:                               ; preds = %160
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %94

94:                                               ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %171

95:                                               ; preds = %91, %78
  %96 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.55) #7
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %109

98:                                               ; preds = %95
  %99 = load ptr, ptr %38, align 8, !tbaa !11
  %100 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %99, i64 %indvars.iv, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !15
  store ptr %101, ptr %41, align 8, !tbaa !16
  %102 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %99, i64 %indvars.iv, i32 3
  %103 = load i32, ptr %102, align 4, !tbaa !20
  %104 = sext i32 %103 to i64
  store i64 %104, ptr %42, align 8, !tbaa !21
  %105 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %99, i64 %indvars.iv, i32 2
  %106 = load i32, ptr %105, align 8, !tbaa !22
  %107 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %106)
          to label %108 unwind label %.loopexit

108:                                              ; preds = %98
  store i32 %107, ptr %3, align 8, !tbaa !23
  br label %109

109:                                              ; preds = %108, %95
  %110 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.56) #7
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %123

112:                                              ; preds = %109
  %113 = load ptr, ptr %38, align 8, !tbaa !11
  %114 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %113, i64 %indvars.iv, i32 1
  %115 = load ptr, ptr %114, align 8, !tbaa !15
  store ptr %115, ptr %43, align 8, !tbaa !16
  %116 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %113, i64 %indvars.iv, i32 3
  %117 = load i32, ptr %116, align 4, !tbaa !20
  %118 = sext i32 %117 to i64
  store i64 %118, ptr %44, align 8, !tbaa !21
  %119 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %113, i64 %indvars.iv, i32 2
  %120 = load i32, ptr %119, align 8, !tbaa !22
  %121 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %120)
          to label %122 unwind label %.loopexit

122:                                              ; preds = %112
  store i32 %121, ptr %4, align 8, !tbaa !23
  br label %123

123:                                              ; preds = %122, %109
  %124 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.57) #7
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %137

126:                                              ; preds = %123
  %127 = load ptr, ptr %38, align 8, !tbaa !11
  %128 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %127, i64 %indvars.iv, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !15
  store ptr %129, ptr %45, align 8, !tbaa !16
  %130 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %127, i64 %indvars.iv, i32 3
  %131 = load i32, ptr %130, align 4, !tbaa !20
  %132 = sext i32 %131 to i64
  store i64 %132, ptr %46, align 8, !tbaa !21
  %133 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %127, i64 %indvars.iv, i32 2
  %134 = load i32, ptr %133, align 8, !tbaa !22
  %135 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %134)
          to label %136 unwind label %.loopexit

136:                                              ; preds = %126
  store i32 %135, ptr %6, align 8, !tbaa !23
  br label %137

137:                                              ; preds = %136, %123
  %138 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.58) #7
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %151

140:                                              ; preds = %137
  %141 = load ptr, ptr %38, align 8, !tbaa !11
  %142 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %141, i64 %indvars.iv, i32 1
  %143 = load ptr, ptr %142, align 8, !tbaa !15
  store ptr %143, ptr %47, align 8, !tbaa !16
  %144 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %141, i64 %indvars.iv, i32 3
  %145 = load i32, ptr %144, align 4, !tbaa !20
  %146 = sext i32 %145 to i64
  store i64 %146, ptr %48, align 8, !tbaa !21
  %147 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %141, i64 %indvars.iv, i32 2
  %148 = load i32, ptr %147, align 8, !tbaa !22
  %149 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %148)
          to label %150 unwind label %.loopexit

150:                                              ; preds = %140
  store i32 %149, ptr %5, align 8, !tbaa !23
  br label %151

151:                                              ; preds = %150, %137
  %152 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.59) #7
  %153 = icmp eq i32 %152, 0
  br i1 %153, label %154, label %167

154:                                              ; preds = %151
  %155 = load ptr, ptr %38, align 8, !tbaa !11
  %156 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %155, i64 %indvars.iv
  %157 = getelementptr inbounds i8, ptr %156, i64 16
  %158 = load i32, ptr %157, align 8, !tbaa !22
  %159 = icmp eq i32 %158, 5
  br i1 %159, label %162, label %160

160:                                              ; preds = %154
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._Z16initializeFieldsPKcPKN8nvinfer121PluginFieldCollectionERNS1_7WeightsES6_S6_S6_S6_, i32 noundef 698, i32 noundef 0, ptr noundef nonnull @.str.66) #8
          to label %161 unwind label %.loopexit.split-lp

161:                                              ; preds = %160
  unreachable

162:                                              ; preds = %154
  %163 = getelementptr inbounds i8, ptr %156, i64 8
  %164 = load ptr, ptr %163, align 8, !tbaa !15
  %165 = load i32, ptr %164, align 4, !tbaa !24
  %166 = icmp ne i32 %165, 0
  br label %167

167:                                              ; preds = %162, %151
  %.179 = phi i1 [ %166, %162 ], [ %.078100, %151 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %168 = load i32, ptr %1, align 8, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = icmp slt i64 %indvars.iv.next, %169
  br i1 %170, label %74, label %._crit_edge, !llvm.loop !25

171:                                              ; preds = %94, %92
  %.pn86 = phi { ptr, i32 } [ %lpad.phi, %94 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %172

172:                                              ; preds = %171, %72, %70
  %.pn86.pn = phi { ptr, i32 } [ %.pn86, %171 ], [ %73, %72 ], [ %71, %70 ]
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  br label %173

173:                                              ; preds = %172, %.loopexit95
  %.pn86.pn.pn = phi { ptr, i32 } [ %.pn86.pn, %172 ], [ %.pn.pn.pn.pn.pn94, %.loopexit95 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  resume { ptr, i32 } %.pn86.pn.pn
}

; 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 #3 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 #3 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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 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: nounwind
declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef) local_unnamed_addr #6

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

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 "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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!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, !10, i64 8}
!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, !10, i64 8}
!16 = !{!17, !10, i64 8}
!17 = !{!"_ZTSN8nvinfer17WeightsE", !18, i64 0, !10, i64 8, !19, i64 16}
!18 = !{!"_ZTSN8nvinfer18DataTypeE", !8, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!13, !7, i64 20}
!21 = !{!17, !19, i64 16}
!22 = !{!13, !14, i64 16}
!23 = !{!17, !18, i64 0}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


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