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

; 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::Weights" = type { i32, ptr, i64 }
%"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.16" = 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 }

@.str = external hidden unnamed_addr constant [104 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.43 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [12 x i8], align 1
@__func__._ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [33 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

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

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

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

declare ptr @__cxa_begin_catch(ptr)

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

declare void @__cxa_end_catch()

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca %"class.nvinfer1::Weights", align 8
  %11 = alloca %"class.nvinfer1::Weights", align 8
  %12 = alloca %"class.nvinfer1::Weights", align 8
  %13 = alloca %"class.nvinfer1::Weights", align 8
  %14 = alloca %"class.nvinfer1::Weights", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::set", align 8
  %17 = alloca %"class.std::initializer_list.16", 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
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.0", align 1
  %38 = alloca i1, align 1
  %39 = 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
  %40 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #12
  store i8 0, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #12
  store i8 0, ptr %9, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #12
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #12
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #12
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #12
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #12
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #12
  store i32 0, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #12
  call void @llvm.lifetime.start.p0(i64 160, ptr %18) #12
  store i1 true, ptr %27, align 1
  store ptr %18, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.43, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %41 unwind label %74

41:                                               ; preds = %3
  %42 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 1
  store ptr %42, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef @.str.44, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %43 unwind label %78

43:                                               ; preds = %41
  %44 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 2
  store ptr %44, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef @.str.45, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %45 unwind label %82

45:                                               ; preds = %43
  %46 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 3
  store ptr %46, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef @.str.46, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %47 unwind label %86

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %18, i64 4
  store ptr %48, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.47, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %49 unwind label %90

49:                                               ; preds = %47
  store i1 false, ptr %27, align 1
  %50 = getelementptr inbounds %"class.std::initializer_list.16", ptr %17, i32 0, i32 0
  store ptr %18, ptr %50, align 8, !tbaa !13
  %51 = getelementptr inbounds %"class.std::initializer_list.16", ptr %17, i32 0, i32 1
  store i64 5, ptr %51, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #12
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #12
  %52 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8
  %54 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %55 = load i64, ptr %54, align 8
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr %53, i64 %55, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %56 unwind label %94

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

59:                                               ; preds = %59, %56
  %60 = phi ptr [ %58, %56 ], [ %61, %59 ]
  %61 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %60, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #12
  %62 = icmp eq ptr %61, %57
  br i1 %62, label %63, label %59

63:                                               ; preds = %59
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #12
  call void @llvm.lifetime.end.p0(i64 160, ptr %18) #12
  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 %64 unwind label %120

64:                                               ; preds = %63
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef %30, ptr noundef %65)
          to label %66 unwind label %124

66:                                               ; preds = %64
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #12
  store i32 0, ptr %31, align 4, !tbaa !11
  br label %67

67:                                               ; preds = %393, %66
  %68 = load i32, ptr %31, align 4, !tbaa !11
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %69, i32 0, i32 0
  %71 = load i32, ptr %70, align 8, !tbaa !17
  %72 = icmp slt i32 %68, %71
  br i1 %72, label %128, label %73

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

74:                                               ; preds = %3
  %75 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %21, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %22, align 4
  br label %109

78:                                               ; preds = %41
  %79 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %21, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %22, align 4
  br label %108

82:                                               ; preds = %43
  %83 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %21, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %22, align 4
  br label %107

86:                                               ; preds = %45
  %87 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %21, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %22, align 4
  br label %106

90:                                               ; preds = %47
  %91 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %21, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %22, align 4
  br label %105

94:                                               ; preds = %49
  %95 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %21, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %22, align 4
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #12
  %98 = getelementptr inbounds [5 x %"class.std::__cxx11::basic_string"], ptr %18, i32 0, i32 0
  %99 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %98, i64 5
  br label %100

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

104:                                              ; preds = %100
  br label %105

105:                                              ; preds = %104, %90
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #12
  br label %106

106:                                              ; preds = %105, %86
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #12
  br label %107

107:                                              ; preds = %106, %82
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #12
  br label %108

108:                                              ; preds = %107, %78
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #12
  br label %109

109:                                              ; preds = %108, %74
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #12
  %110 = load i1, ptr %27, align 1
  br i1 %110, label %111, label %119

111:                                              ; preds = %109
  %112 = load ptr, ptr %19, align 8
  %113 = icmp eq ptr %18, %112
  br i1 %113, label %118, label %114

114:                                              ; preds = %114, %111
  %115 = phi ptr [ %112, %111 ], [ %116, %114 ]
  %116 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %115, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %116) #12
  %117 = icmp eq ptr %116, %18
  br i1 %117, label %118, label %114

118:                                              ; preds = %114, %111
  br label %119

119:                                              ; preds = %118, %109
  call void @llvm.lifetime.end.p0(i64 160, ptr %18) #12
  br label %430

120:                                              ; preds = %63
  %121 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %21, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %22, align 4
  br label %429

124:                                              ; preds = %64
  %125 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %21, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %22, align 4
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #12
  br label %429

128:                                              ; preds = %67
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #12
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %129, i32 0, i32 1
  %131 = load ptr, ptr %130, align 8, !tbaa !19
  %132 = load i32, ptr %31, align 4, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %131, i64 %133
  %135 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %134, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %136, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %137 unwind label %171

137:                                              ; preds = %128
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #12
  %138 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.43) #12
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %179

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

169:                                              ; preds = %140
  %170 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %10, i32 0, i32 0
  store i32 %168, ptr %170, align 8, !tbaa !30
  br label %179

171:                                              ; preds = %128
  %172 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %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 @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #12
  br label %396

175:                                              ; preds = %389, %356, %328, %284, %250, %216, %182, %140
  %176 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %21, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #12
  br label %396

179:                                              ; preds = %169, %137
  %180 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.44) #12
  %181 = icmp eq i32 %180, 0
  br i1 %181, label %182, label %213

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

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

213:                                              ; preds = %211, %179
  %214 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.45) #12
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %247

216:                                              ; preds = %213
  %217 = load ptr, ptr %7, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %217, i32 0, i32 1
  %219 = load ptr, ptr %218, align 8, !tbaa !19
  %220 = load i32, ptr %31, align 4, !tbaa !11
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %219, i64 %221
  %223 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %222, i32 0, i32 1
  %224 = load ptr, ptr %223, align 8, !tbaa !23
  %225 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %12, i32 0, i32 1
  store ptr %224, ptr %225, align 8, !tbaa !24
  %226 = load ptr, ptr %7, 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 !11
  %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 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %12, i32 0, i32 2
  store i64 %234, ptr %235, align 8, !tbaa !28
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %236, i32 0, i32 1
  %238 = load ptr, ptr %237, align 8, !tbaa !19
  %239 = load i32, ptr %31, align 4, !tbaa !11
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %238, i64 %240
  %242 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %241, i32 0, i32 2
  %243 = load i32, ptr %242, align 8, !tbaa !29
  %244 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %243)
          to label %245 unwind label %175

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

247:                                              ; preds = %245, %213
  %248 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.46) #12
  %249 = icmp eq i32 %248, 0
  br i1 %249, label %250, label %281

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

279:                                              ; preds = %250
  %280 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %14, i32 0, i32 0
  store i32 %278, ptr %280, align 8, !tbaa !30
  br label %281

281:                                              ; preds = %279, %247
  %282 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.47) #12
  %283 = icmp eq i32 %282, 0
  br i1 %283, label %284, label %315

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

313:                                              ; preds = %284
  %314 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %13, i32 0, i32 0
  store i32 %312, ptr %314, align 8, !tbaa !30
  br label %315

315:                                              ; preds = %313, %281
  %316 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.48) #12
  %317 = icmp eq i32 %316, 0
  br i1 %317, label %318, label %343

318:                                              ; preds = %315
  %319 = load ptr, ptr %7, align 8, !tbaa !5
  %320 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %319, i32 0, i32 1
  %321 = load ptr, ptr %320, align 8, !tbaa !19
  %322 = load i32, ptr %31, align 4, !tbaa !11
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %321, i64 %323
  %325 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %324, i32 0, i32 2
  %326 = load i32, ptr %325, align 8, !tbaa !29
  %327 = icmp eq i32 %326, 5
  br i1 %327, label %330, label %328

328:                                              ; preds = %318
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 604, i32 noundef 0, ptr noundef @.str.58) #13
          to label %329 unwind label %175

329:                                              ; preds = %328
  unreachable

330:                                              ; preds = %318
  %331 = load ptr, ptr %7, align 8, !tbaa !5
  %332 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %331, i32 0, i32 1
  %333 = load ptr, ptr %332, align 8, !tbaa !19
  %334 = load i32, ptr %31, align 4, !tbaa !11
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %333, i64 %335
  %337 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %336, i32 0, i32 1
  %338 = load ptr, ptr %337, align 8, !tbaa !23
  %339 = getelementptr inbounds i32, ptr %338, i64 0
  %340 = load i32, ptr %339, align 4, !tbaa !11
  %341 = icmp ne i32 %340, 0
  %342 = zext i1 %341 to i8
  store i8 %342, ptr %8, align 1, !tbaa !9
  br label %343

343:                                              ; preds = %330, %315
  %344 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.49) #12
  %345 = icmp eq i32 %344, 0
  br i1 %345, label %346, label %371

346:                                              ; preds = %343
  %347 = load ptr, ptr %7, align 8, !tbaa !5
  %348 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %347, i32 0, i32 1
  %349 = load ptr, ptr %348, align 8, !tbaa !19
  %350 = load i32, ptr %31, align 4, !tbaa !11
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %349, i64 %351
  %353 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %352, i32 0, i32 2
  %354 = load i32, ptr %353, align 8, !tbaa !29
  %355 = icmp eq i32 %354, 5
  br i1 %355, label %358, label %356

356:                                              ; preds = %346
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 610, i32 noundef 0, ptr noundef @.str.58) #13
          to label %357 unwind label %175

357:                                              ; preds = %356
  unreachable

358:                                              ; preds = %346
  %359 = load ptr, ptr %7, align 8, !tbaa !5
  %360 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %359, i32 0, i32 1
  %361 = load ptr, ptr %360, align 8, !tbaa !19
  %362 = load i32, ptr %31, align 4, !tbaa !11
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %361, i64 %363
  %365 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %364, i32 0, i32 1
  %366 = load ptr, ptr %365, align 8, !tbaa !23
  %367 = getelementptr inbounds i32, ptr %366, i64 0
  %368 = load i32, ptr %367, align 4, !tbaa !11
  %369 = icmp ne i32 %368, 0
  %370 = zext i1 %369 to i8
  store i8 %370, ptr %9, align 1, !tbaa !9
  br label %371

371:                                              ; preds = %358, %343
  %372 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.50) #12
  %373 = icmp eq i32 %372, 0
  br i1 %373, label %374, label %392

374:                                              ; preds = %371
  %375 = load ptr, ptr %7, align 8, !tbaa !5
  %376 = getelementptr inbounds %"struct.nvinfer1::PluginFieldCollection", ptr %375, i32 0, i32 1
  %377 = load ptr, ptr %376, align 8, !tbaa !19
  %378 = load i32, ptr %31, align 4, !tbaa !11
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %377, i64 %379
  %381 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %380, i32 0, i32 1
  %382 = load ptr, ptr %381, align 8, !tbaa !23
  %383 = load i32, ptr %382, align 4, !tbaa !11
  store i32 %383, ptr %15, align 4, !tbaa !11
  %384 = load i32, ptr %15, align 4, !tbaa !11
  %385 = icmp sge i32 %384, 0
  br i1 %385, label %386, label %389

386:                                              ; preds = %374
  %387 = load i32, ptr %15, align 4, !tbaa !11
  %388 = icmp sle i32 %387, 3
  br i1 %388, label %391, label %389

389:                                              ; preds = %386, %374
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef 616, i32 noundef 0, ptr noundef @.str.60) #13
          to label %390 unwind label %175

390:                                              ; preds = %389
  unreachable

391:                                              ; preds = %386
  br label %392

392:                                              ; preds = %391, %371
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #12
  br label %393

393:                                              ; preds = %392
  %394 = load i32, ptr %31, align 4, !tbaa !11
  %395 = add nsw i32 %394, 1
  store i32 %395, ptr %31, align 4, !tbaa !11
  br label %67, !llvm.loop !31

396:                                              ; preds = %175, %171
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #12
  br label %429

397:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #12
  %398 = load i32, ptr %15, align 4, !tbaa !11
  store i32 %398, ptr %34, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #12
  %399 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 288) #14
          to label %400 unwind label %412

400:                                              ; preds = %397
  store i1 true, ptr %38, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #12
  %401 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef %401, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %402 unwind label %416

402:                                              ; preds = %400
  %403 = load i8, ptr %8, align 1, !tbaa !9, !range !34, !noundef !35
  %404 = trunc i8 %403 to i1
  %405 = zext i1 %404 to i64
  %406 = select i1 %404, i32 1, i32 0
  %407 = load i32, ptr %34, align 4, !tbaa !33
  %408 = load i8, ptr %9, align 1, !tbaa !9, !range !34, !noundef !35
  %409 = trunc i8 %408 to i1
  invoke void @_ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacyC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeESB_RKNS_7WeightsESE_SE_SE_SE_b(ptr noundef nonnull align 8 dereferenceable(288) %399, ptr noundef nonnull align 8 dereferenceable(32) %36, i32 noundef %406, i32 noundef %407, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, i1 noundef zeroext %409)
          to label %410 unwind label %420

410:                                              ; preds = %402
  store i1 false, ptr %38, align 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #12
  store ptr %399, ptr %35, align 8, !tbaa !5
  %411 = load ptr, ptr %35, align 8, !tbaa !5
  store ptr %411, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #12
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #12
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #12
  br label %442

412:                                              ; preds = %397
  %413 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %21, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %22, align 4
  br label %428

416:                                              ; preds = %400
  %417 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %418 = extractvalue { ptr, i32 } %417, 0
  store ptr %418, ptr %21, align 8
  %419 = extractvalue { ptr, i32 } %417, 1
  store i32 %419, ptr %22, align 4
  br label %424

420:                                              ; preds = %402
  %421 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %21, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #12
  br label %424

424:                                              ; preds = %420, %416
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #12
  %425 = load i1, ptr %38, align 1
  br i1 %425, label %426, label %427

426:                                              ; preds = %424
  call void @_ZdlPvm(ptr noundef %399, i64 noundef 288) #15
  br label %427

427:                                              ; preds = %426, %424
  br label %428

428:                                              ; preds = %427, %412
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #12
  br label %429

429:                                              ; preds = %428, %396, %124, %120
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #12
  br label %430

430:                                              ; preds = %429, %119
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #12
  br label %431

431:                                              ; preds = %430
  %432 = load i32, ptr %22, align 4
  %433 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #12
  %434 = icmp eq i32 %432, %433
  br i1 %434, label %435, label %447

435:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #12
  %436 = load ptr, ptr %21, align 8
  %437 = call ptr @__cxa_begin_catch(ptr %436) #12
  store ptr %437, ptr %39, align 8
  %438 = load ptr, ptr %39, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %438)
          to label %439 unwind label %444

439:                                              ; preds = %435
  invoke void @__cxa_end_catch()
          to label %440 unwind label %444

440:                                              ; preds = %439
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #12
  br label %441

441:                                              ; preds = %440
  store ptr null, ptr %4, align 8
  br label %442

442:                                              ; preds = %441, %410
  %443 = load ptr, ptr %4, align 8
  ret ptr %443

444:                                              ; preds = %439, %435
  %445 = landingpad { ptr, i32 }
          catch ptr null
  %446 = extractvalue { ptr, i32 } %445, 0
  call void @__clang_call_terminate(ptr %446) #16
  unreachable

447:                                              ; preds = %431
  %448 = load ptr, ptr %21, align 8
  call void @__clang_call_terminate(ptr %448) #16
  unreachable
}

; 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 #9 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 #9 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) #10

; 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 #9 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) #11

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

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

declare void @_ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacyC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeESB_RKNS_7WeightsESE_SE_SE_SE_b(ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, i1)

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

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

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


; 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::Weights" = type { i32, ptr, i64 }
%"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 [104 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.43 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [12 x i8], align 1
@__func__._ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [33 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(40) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.nvinfer1::Weights", align 8
  %5 = alloca %"class.nvinfer1::Weights", align 8
  %6 = alloca %"class.nvinfer1::Weights", align 8
  %7 = alloca %"class.nvinfer1::Weights", align 8
  %8 = alloca %"class.nvinfer1::Weights", align 8
  %9 = alloca %"class.std::set", align 8
  %10 = alloca [5 x %"class.std::__cxx11::basic_string"], align 8
  %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 %"class.std::allocator.0", align 1
  %16 = alloca %"struct.std::less", align 1
  %17 = alloca %"class.std::allocator.17", align 1
  %18 = alloca %"class.std::set", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.0", align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %6, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %8, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #12
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %10) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.43, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %23 unwind label %.thread

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

25:                                               ; preds = %23
  %26 = getelementptr inbounds i8, ptr %10, i64 64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull @.str.45, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %27 unwind label %58

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %10, i64 96
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.46, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %29 unwind label %60

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %10, i64 128
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.47, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %31 unwind label %62

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #12
  call void @_ZNSaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  invoke void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2ESt16initializer_listIS5_ERKS7_RKS8_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr nonnull %10, i64 5, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %32 unwind label %.loopexit112.loopexit

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

37:                                               ; preds = %32
  invoke void @_ZN8nvinfer16plugin31validateRequiredAttributesExistESt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS7_ESaIS7_EEPKNS_21PluginFieldCollectionE(ptr noundef nonnull %18, ptr noundef %2)
          to label %38 unwind label %78

38:                                               ; preds = %37
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #12
  %39 = load i32, ptr %2, align 8, !tbaa !5
  %40 = icmp sgt i32 %39, 0
  br i1 %40, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %38
  %41 = getelementptr inbounds i8, ptr %2, i64 8
  %42 = getelementptr inbounds i8, ptr %4, i64 8
  %43 = getelementptr inbounds i8, ptr %4, i64 16
  %44 = getelementptr inbounds i8, ptr %5, i64 8
  %45 = getelementptr inbounds i8, ptr %5, i64 16
  %46 = getelementptr inbounds i8, ptr %6, i64 8
  %47 = getelementptr inbounds i8, ptr %6, i64 16
  %48 = getelementptr inbounds i8, ptr %8, i64 8
  %49 = getelementptr inbounds i8, ptr %8, i64 16
  %50 = getelementptr inbounds i8, ptr %7, i64 8
  %51 = getelementptr inbounds i8, ptr %7, i64 16
  br label %80

._crit_edge.loopexit:                             ; preds = %196
  %52 = and i8 %.1, 1
  %53 = zext nneg i8 %52 to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %38
  %.090.lcssa = phi i32 [ 0, %38 ], [ %.191, %._crit_edge.loopexit ]
  %.066.lcssa = phi i1 [ false, %38 ], [ %.167, %._crit_edge.loopexit ]
  %.065.lcssa = phi i32 [ 0, %38 ], [ %53, %._crit_edge.loopexit ]
  %54 = invoke noalias noundef nonnull dereferenceable(288) ptr @_Znwm(i64 noundef 288) #13
          to label %201 unwind label %204

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

56:                                               ; preds = %23
  %57 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %72

58:                                               ; preds = %25
  %59 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %71

60:                                               ; preds = %27
  %61 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %70

62:                                               ; preds = %29
  %63 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %.loopexit112

.loopexit112.loopexit:                            ; preds = %31
  %64 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #12
  %65 = getelementptr inbounds i8, ptr %10, i64 128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #12
  %66 = getelementptr inbounds i8, ptr %10, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #12
  %67 = getelementptr inbounds i8, ptr %10, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #12
  %68 = getelementptr inbounds i8, ptr %10, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  br label %.loopexit112

.loopexit112:                                     ; preds = %.loopexit112.loopexit, %62
  %.pn = phi { ptr, i32 } [ %63, %62 ], [ %64, %.loopexit112.loopexit ]
  %69 = phi i1 [ false, %62 ], [ true, %.loopexit112.loopexit ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #12
  br label %70

70:                                               ; preds = %.loopexit112, %60
  %.086 = phi ptr [ %30, %.loopexit112 ], [ %28, %60 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit112 ], [ %61, %60 ]
  %.170 = phi i1 [ %69, %.loopexit112 ], [ false, %60 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #12
  br label %71

71:                                               ; preds = %70, %58
  %.187 = phi ptr [ %.086, %70 ], [ %26, %58 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %70 ], [ %59, %58 ]
  %.2 = phi i1 [ %.170, %70 ], [ false, %58 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #12
  br label %72

72:                                               ; preds = %56, %71
  %.288 = phi ptr [ %.187, %71 ], [ %24, %56 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %71 ], [ %57, %56 ]
  %.3 = phi i1 [ %.2, %71 ], [ false, %56 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #12
  br i1 %.3, label %.loopexit111, label %.preheader

.preheader:                                       ; preds = %72, %.preheader
  %73 = phi ptr [ %74, %.preheader ], [ %.288, %72 ]
  %74 = getelementptr inbounds i8, ptr %73, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #12
  %75 = icmp eq ptr %74, %10
  br i1 %75, label %.loopexit111, label %.preheader

.loopexit111:                                     ; preds = %.preheader, %.thread, %72
  %.pn.pn.pn.pn.pn110 = phi { ptr, i32 } [ %55, %.thread ], [ %.pn.pn.pn.pn, %72 ], [ %.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %10) #12
  br label %212

76:                                               ; preds = %32
  %77 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %211

78:                                               ; preds = %37
  %79 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #12
  br label %211

80:                                               ; preds = %.lr.ph, %196
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %196 ]
  %.065131 = phi i8 [ 0, %.lr.ph ], [ %.1, %196 ]
  %.066130 = phi i1 [ false, %.lr.ph ], [ %.167, %196 ]
  %.090128 = phi i32 [ 0, %.lr.ph ], [ %.191, %196 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #12
  %81 = load ptr, ptr %41, align 8, !tbaa !11
  %82 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %81, i64 %indvars.iv
  %83 = load ptr, ptr %82, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %83, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %84 unwind label %98

84:                                               ; preds = %80
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #12
  %85 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.43) #12
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %87, label %101

87:                                               ; preds = %84
  %88 = load ptr, ptr %41, align 8, !tbaa !11
  %89 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %88, i64 %indvars.iv, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !15
  store ptr %90, ptr %42, align 8, !tbaa !16
  %91 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %88, i64 %indvars.iv, i32 3
  %92 = load i32, ptr %91, align 4, !tbaa !20
  %93 = sext i32 %92 to i64
  store i64 %93, ptr %43, align 8, !tbaa !21
  %94 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %88, i64 %indvars.iv, i32 2
  %95 = load i32, ptr %94, align 8, !tbaa !22
  %96 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %95)
          to label %97 unwind label %.loopexit

97:                                               ; preds = %87
  store i32 %96, ptr %4, align 8, !tbaa !23
  br label %101

98:                                               ; preds = %80
  %99 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #12
  br label %200

.loopexit:                                        ; preds = %87, %104, %118, %132, %146
  %lpad.loopexit = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %100

.loopexit.split-lp:                               ; preds = %.invoke
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %100

100:                                              ; 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) %19) #12
  br label %200

101:                                              ; preds = %97, %84
  %102 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.44) #12
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %115

104:                                              ; preds = %101
  %105 = load ptr, ptr %41, align 8, !tbaa !11
  %106 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %105, i64 %indvars.iv, i32 1
  %107 = load ptr, ptr %106, align 8, !tbaa !15
  store ptr %107, ptr %44, align 8, !tbaa !16
  %108 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %105, i64 %indvars.iv, i32 3
  %109 = load i32, ptr %108, align 4, !tbaa !20
  %110 = sext i32 %109 to i64
  store i64 %110, ptr %45, align 8, !tbaa !21
  %111 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %105, i64 %indvars.iv, i32 2
  %112 = load i32, ptr %111, align 8, !tbaa !22
  %113 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %112)
          to label %114 unwind label %.loopexit

114:                                              ; preds = %104
  store i32 %113, ptr %5, align 8, !tbaa !23
  br label %115

115:                                              ; preds = %114, %101
  %116 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.45) #12
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %118, label %129

118:                                              ; preds = %115
  %119 = load ptr, ptr %41, align 8, !tbaa !11
  %120 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %119, i64 %indvars.iv, i32 1
  %121 = load ptr, ptr %120, align 8, !tbaa !15
  store ptr %121, ptr %46, align 8, !tbaa !16
  %122 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %119, i64 %indvars.iv, i32 3
  %123 = load i32, ptr %122, align 4, !tbaa !20
  %124 = sext i32 %123 to i64
  store i64 %124, ptr %47, align 8, !tbaa !21
  %125 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %119, i64 %indvars.iv, i32 2
  %126 = load i32, ptr %125, align 8, !tbaa !22
  %127 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %126)
          to label %128 unwind label %.loopexit

128:                                              ; preds = %118
  store i32 %127, ptr %6, align 8, !tbaa !23
  br label %129

129:                                              ; preds = %128, %115
  %130 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.46) #12
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %143

132:                                              ; preds = %129
  %133 = load ptr, ptr %41, align 8, !tbaa !11
  %134 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %133, i64 %indvars.iv, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !15
  store ptr %135, ptr %48, align 8, !tbaa !16
  %136 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %133, i64 %indvars.iv, i32 3
  %137 = load i32, ptr %136, align 4, !tbaa !20
  %138 = sext i32 %137 to i64
  store i64 %138, ptr %49, align 8, !tbaa !21
  %139 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %133, i64 %indvars.iv, i32 2
  %140 = load i32, ptr %139, align 8, !tbaa !22
  %141 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %140)
          to label %142 unwind label %.loopexit

142:                                              ; preds = %132
  store i32 %141, ptr %8, align 8, !tbaa !23
  br label %143

143:                                              ; preds = %142, %129
  %144 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.47) #12
  %145 = icmp eq i32 %144, 0
  br i1 %145, label %146, label %157

146:                                              ; preds = %143
  %147 = load ptr, ptr %41, align 8, !tbaa !11
  %148 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %147, i64 %indvars.iv, i32 1
  %149 = load ptr, ptr %148, align 8, !tbaa !15
  store ptr %149, ptr %50, align 8, !tbaa !16
  %150 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %147, i64 %indvars.iv, i32 3
  %151 = load i32, ptr %150, align 4, !tbaa !20
  %152 = sext i32 %151 to i64
  store i64 %152, ptr %51, align 8, !tbaa !21
  %153 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %147, i64 %indvars.iv, i32 2
  %154 = load i32, ptr %153, align 8, !tbaa !22
  %155 = invoke noundef i32 @_ZN8nvinfer16plugin4bert19fieldTypeToDataTypeENS_15PluginFieldTypeE(i32 noundef %154)
          to label %156 unwind label %.loopexit

156:                                              ; preds = %146
  store i32 %155, ptr %7, align 8, !tbaa !23
  br label %157

157:                                              ; preds = %156, %143
  %158 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.48) #12
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %174

160:                                              ; preds = %157
  %161 = load ptr, ptr %41, align 8, !tbaa !11
  %162 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %161, i64 %indvars.iv
  %163 = getelementptr inbounds i8, ptr %162, i64 16
  %164 = load i32, ptr %163, align 8, !tbaa !22
  %165 = icmp eq i32 %164, 5
  br i1 %165, label %168, label %.invoke

.invoke:                                          ; preds = %191, %177, %160
  %166 = phi i32 [ 604, %160 ], [ 610, %177 ], [ 616, %191 ]
  %167 = phi ptr [ @.str.58, %160 ], [ @.str.58, %177 ], [ @.str.60, %191 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert38EmbLayerNormPluginDynamicLegacyCreator12createPluginEPKcPKNS_21PluginFieldCollectionE, i32 noundef %166, i32 noundef 0, ptr noundef nonnull %167) #14
          to label %.cont unwind label %.loopexit.split-lp

.cont:                                            ; preds = %.invoke
  unreachable

168:                                              ; preds = %160
  %169 = getelementptr inbounds i8, ptr %162, i64 8
  %170 = load ptr, ptr %169, align 8, !tbaa !15
  %171 = load i32, ptr %170, align 4, !tbaa !24
  %172 = icmp ne i32 %171, 0
  %173 = zext i1 %172 to i8
  br label %174

174:                                              ; preds = %168, %157
  %.1 = phi i8 [ %173, %168 ], [ %.065131, %157 ]
  %175 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.49) #12
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %188

177:                                              ; preds = %174
  %178 = load ptr, ptr %41, align 8, !tbaa !11
  %179 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %178, i64 %indvars.iv
  %180 = getelementptr inbounds i8, ptr %179, i64 16
  %181 = load i32, ptr %180, align 8, !tbaa !22
  %182 = icmp eq i32 %181, 5
  br i1 %182, label %183, label %.invoke

183:                                              ; preds = %177
  %184 = getelementptr inbounds i8, ptr %179, i64 8
  %185 = load ptr, ptr %184, align 8, !tbaa !15
  %186 = load i32, ptr %185, align 4, !tbaa !24
  %187 = icmp ne i32 %186, 0
  br label %188

188:                                              ; preds = %183, %174
  %.167 = phi i1 [ %187, %183 ], [ %.066130, %174 ]
  %189 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.50) #12
  %190 = icmp eq i32 %189, 0
  br i1 %190, label %191, label %196

191:                                              ; preds = %188
  %192 = load ptr, ptr %41, align 8, !tbaa !11
  %193 = getelementptr inbounds %"class.nvinfer1::PluginField", ptr %192, i64 %indvars.iv, i32 1
  %194 = load ptr, ptr %193, align 8, !tbaa !15
  %195 = load i32, ptr %194, align 4, !tbaa !24
  %or.cond = icmp ult i32 %195, 4
  br i1 %or.cond, label %196, label %.invoke

196:                                              ; preds = %191, %188
  %.191 = phi i32 [ %195, %191 ], [ %.090128, %188 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %197 = load i32, ptr %2, align 8, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = icmp slt i64 %indvars.iv.next, %198
  br i1 %199, label %80, label %._crit_edge.loopexit, !llvm.loop !25

200:                                              ; preds = %100, %98
  %.pn102 = phi { ptr, i32 } [ %lpad.phi, %100 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #12
  br label %211

201:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef %1, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %202 unwind label %206

202:                                              ; preds = %201
  invoke void @_ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacyC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeESB_RKNS_7WeightsESE_SE_SE_SE_b(ptr noundef nonnull align 8 dereferenceable(288) %54, ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef %.065.lcssa, i32 noundef %.090.lcssa, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, i1 noundef zeroext %.066.lcssa)
          to label %203 unwind label %208

203:                                              ; preds = %202
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #12
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #12
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #12
  br label %218

204:                                              ; preds = %._crit_edge
  %205 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %211

206:                                              ; preds = %201
  %207 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %210

208:                                              ; preds = %202
  %209 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #12
  br label %210

210:                                              ; preds = %208, %206
  %.pn99 = phi { ptr, i32 } [ %209, %208 ], [ %207, %206 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #12
  call void @_ZdlPvm(ptr noundef nonnull %54, i64 noundef 288) #15
  br label %211

211:                                              ; preds = %204, %210, %200, %78, %76
  %.pn102.pn = phi { ptr, i32 } [ %.pn102, %200 ], [ %79, %78 ], [ %77, %76 ], [ %.pn99, %210 ], [ %205, %204 ]
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #12
  br label %212

212:                                              ; preds = %211, %.loopexit111
  %.pn102.pn.pn = phi { ptr, i32 } [ %.pn102.pn, %211 ], [ %.pn.pn.pn.pn.pn110, %.loopexit111 ]
  %.9 = extractvalue { ptr, i32 } %.pn102.pn.pn, 1
  %.985 = extractvalue { ptr, i32 } %.pn102.pn.pn, 0
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #12
  %213 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #12
  %214 = icmp eq i32 %.9, %213
  br i1 %214, label %215, label %222

215:                                              ; preds = %212
  %216 = call ptr @__cxa_begin_catch(ptr %.985) #12
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %216)
          to label %217 unwind label %219

217:                                              ; preds = %215
  invoke void @__cxa_end_catch()
          to label %218 unwind label %219

218:                                              ; preds = %217, %203
  %.0 = phi ptr [ %54, %203 ], [ null, %217 ]
  ret ptr %.0

219:                                              ; preds = %217, %215
  %220 = landingpad { ptr, i32 }
          catch ptr null
  %221 = extractvalue { ptr, i32 } %220, 0
  call void @__clang_call_terminate(ptr %221) #16
  unreachable

222:                                              ; preds = %212
  call void @__clang_call_terminate(ptr %.985) #16
  unreachable
}

; 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 #9 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 #9 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 #10

; 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 #9 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 #11

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

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

declare void @_ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacyC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeESB_RKNS_7WeightsESE_SE_SE_SE_b(ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, i1) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass