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

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

%"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase" = type { %"class.nvinfer1::v_1_0::IPluginV3", %"class.nvinfer1::v_1_0::IPluginV3OneCore", %"class.nvinfer1::v_1_0::IPluginV3OneBuild", %"class.nvinfer1::v_1_0::IPluginV3OneRuntime", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.std::unique_ptr.6", %"class.std::unique_ptr.6", %"class.std::unique_ptr.6", i64, i64, i64, i64, %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", i32, i32, %"class.std::vector", %"struct.nvinfer1::PluginFieldCollection" }
%"class.nvinfer1::v_1_0::IPluginV3" = type { %"class.nvinfer1::IVersionedInterface" }
%"class.nvinfer1::IVersionedInterface" = type { ptr }
%"class.nvinfer1::v_1_0::IPluginV3OneCore" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"class.nvinfer1::v_1_0::IPluginCapability" = type { %"class.nvinfer1::IVersionedInterface" }
%"class.nvinfer1::v_1_0::IPluginV3OneBuild" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"class.nvinfer1::v_1_0::IPluginV3OneRuntime" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"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::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.5" }
%"struct.std::_Head_base.5" = type { ptr }
%"class.std::unique_ptr.6" = type { %"struct.std::__uniq_ptr_data.7" }
%"struct.std::__uniq_ptr_data.7" = type { %"class.std::__uniq_ptr_impl.8" }
%"class.std::__uniq_ptr_impl.8" = type { %"class.std::tuple.9" }
%"class.std::tuple.9" = type { %"struct.std::_Tuple_impl.10" }
%"struct.std::_Tuple_impl.10" = type { %"struct.std::_Head_base.13" }
%"struct.std::_Head_base.13" = type { ptr }
%"struct.nvinfer1::plugin::bert::WeightsWithOwnership" = type { %"class.nvinfer1::Weights" }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }

@_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE = external dso_local unnamed_addr constant { [17 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [107 x i8], align 1
@__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_ = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_(ptr noundef nonnull align 8 dereferenceable(336) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %8) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store i32 %8, ptr %18, align 4, !tbaa !9
  %21 = load ptr, ptr %10, align 8
  call void @_ZN8nvinfer15v_1_09IPluginV3C2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  call void @_ZN8nvinfer15v_1_016IPluginV3OneCoreC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  %23 = getelementptr inbounds i8, ptr %21, i64 16
  call void @_ZN8nvinfer15v_1_017IPluginV3OneBuildC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %24 = getelementptr inbounds i8, ptr %21, i64 24
  call void @_ZN8nvinfer15v_1_019IPluginV3OneRuntimeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  store ptr getelementptr inbounds inrange(-16, 120) ({ [17 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i32 0, i32 0, i32 2), ptr %21, align 8, !tbaa !11
  %25 = getelementptr inbounds i8, ptr %21, i64 8
  store ptr getelementptr inbounds inrange(-16, 56) ({ [17 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i32 0, i32 1, i32 2), ptr %25, align 8, !tbaa !11
  %26 = getelementptr inbounds i8, ptr %21, i64 16
  store ptr getelementptr inbounds inrange(-16, 120) ({ [17 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i32 0, i32 2, i32 2), ptr %26, align 8, !tbaa !11
  %27 = getelementptr inbounds i8, ptr %21, i64 24
  store ptr getelementptr inbounds inrange(-16, 72) ({ [17 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i32 0, i32 3, i32 2), ptr %27, align 8, !tbaa !11
  %28 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 4
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %30 unwind label %66

30:                                               ; preds = %9
  %31 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  %32 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 6
  call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  %33 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 7
  call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 8
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  %35 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 9
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 10
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #5
  %37 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %38, i32 0, i32 2
  %40 = load i64, ptr %39, align 8, !tbaa !13
  store i64 %40, ptr %37, align 8, !tbaa !16
  %41 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 15
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %42 unwind label %70

42:                                               ; preds = %30
  %43 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 16
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %44 unwind label %74

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 17
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %46 unwind label %78

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 18
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47)
          to label %48 unwind label %82

48:                                               ; preds = %46
  %49 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 19
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %50 unwind label %86

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 20
  %52 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %52, ptr %51, align 8, !tbaa !45
  %53 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 21
  %54 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %54, ptr %53, align 4, !tbaa !46
  %55 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 22
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  %56 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 23
  call void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #5
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %57, i32 0, i32 2
  %59 = load i64, ptr %58, align 8, !tbaa !13
  %60 = load ptr, ptr %14, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %60, i32 0, i32 2
  %62 = load i64, ptr %61, align 8, !tbaa !13
  %63 = icmp eq i64 %59, %62
  br i1 %63, label %94, label %64

64:                                               ; preds = %50
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_, i32 noundef 144, i32 noundef 0, ptr noundef @.str.4) #6
          to label %65 unwind label %90

65:                                               ; preds = %64
  unreachable

66:                                               ; preds = %9
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %19, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %20, align 4
  br label %216

70:                                               ; preds = %30
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %19, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %20, align 4
  br label %215

74:                                               ; preds = %42
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %19, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %20, align 4
  br label %214

78:                                               ; preds = %44
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %19, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %20, align 4
  br label %213

82:                                               ; preds = %46
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %19, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %20, align 4
  br label %212

86:                                               ; preds = %48
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %19, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %20, align 4
  br label %211

90:                                               ; preds = %208, %202, %200, %194, %192, %186, %179, %172, %167, %162, %157, %154, %130, %128, %118, %108, %98, %64
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %19, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %20, align 4
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #5
  br label %211

94:                                               ; preds = %50
  %95 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %96 = load i64, ptr %95, align 8, !tbaa !16
  %97 = icmp ugt i64 %96, 0
  br i1 %97, label %100, label %98

98:                                               ; preds = %94
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_, i32 noundef 145, i32 noundef 0, ptr noundef @.str.5) #6
          to label %99 unwind label %90

99:                                               ; preds = %98
  unreachable

100:                                              ; preds = %94
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %101, i32 0, i32 2
  %103 = load i64, ptr %102, align 8, !tbaa !13
  %104 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %105 = load i64, ptr %104, align 8, !tbaa !16
  %106 = urem i64 %103, %105
  %107 = icmp eq i64 %106, 0
  br i1 %107, label %110, label %108

108:                                              ; preds = %100
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_, i32 noundef 146, i32 noundef 0, ptr noundef @.str.6) #6
          to label %109 unwind label %90

109:                                              ; preds = %108
  unreachable

110:                                              ; preds = %100
  %111 = load ptr, ptr %16, align 8, !tbaa !5
  %112 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %111, i32 0, i32 2
  %113 = load i64, ptr %112, align 8, !tbaa !13
  %114 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %115 = load i64, ptr %114, align 8, !tbaa !16
  %116 = urem i64 %113, %115
  %117 = icmp eq i64 %116, 0
  br i1 %117, label %120, label %118

118:                                              ; preds = %110
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_, i32 noundef 147, i32 noundef 0, ptr noundef @.str.7) #6
          to label %119 unwind label %90

119:                                              ; preds = %118
  unreachable

120:                                              ; preds = %110
  %121 = load ptr, ptr %17, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %121, i32 0, i32 2
  %123 = load i64, ptr %122, align 8, !tbaa !13
  %124 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %125 = load i64, ptr %124, align 8, !tbaa !16
  %126 = urem i64 %123, %125
  %127 = icmp eq i64 %126, 0
  br i1 %127, label %130, label %128

128:                                              ; preds = %120
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_, i32 noundef 148, i32 noundef 0, ptr noundef @.str.8) #6
          to label %129 unwind label %90

129:                                              ; preds = %128
  unreachable

130:                                              ; preds = %120
  %131 = load ptr, ptr %15, align 8, !tbaa !5
  %132 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %131, i32 0, i32 2
  %133 = load i64, ptr %132, align 8, !tbaa !13
  %134 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %135 = load i64, ptr %134, align 8, !tbaa !16
  %136 = udiv i64 %133, %135
  %137 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 12
  store i64 %136, ptr %137, align 8, !tbaa !47
  %138 = load ptr, ptr %16, align 8, !tbaa !5
  %139 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %138, i32 0, i32 2
  %140 = load i64, ptr %139, align 8, !tbaa !13
  %141 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %142 = load i64, ptr %141, align 8, !tbaa !16
  %143 = udiv i64 %140, %142
  %144 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 13
  store i64 %143, ptr %144, align 8, !tbaa !48
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %145, i32 0, i32 2
  %147 = load i64, ptr %146, align 8, !tbaa !13
  %148 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 11
  %149 = load i64, ptr %148, align 8, !tbaa !16
  %150 = udiv i64 %147, %149
  %151 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 14
  store i64 %150, ptr %151, align 8, !tbaa !49
  %152 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 15
  %153 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef nonnull align 8 dereferenceable(24) %153, i32 noundef 0)
          to label %154 unwind label %90

154:                                              ; preds = %130
  %155 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 16
  %156 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef nonnull align 8 dereferenceable(24) %156, i32 noundef 0)
          to label %157 unwind label %90

157:                                              ; preds = %154
  %158 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 17
  %159 = load ptr, ptr %15, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 20
  %161 = load i32, ptr %160, align 8, !tbaa !45
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %158, ptr noundef nonnull align 8 dereferenceable(24) %159, i32 noundef %161)
          to label %162 unwind label %90

162:                                              ; preds = %157
  %163 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 18
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  %165 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 20
  %166 = load i32, ptr %165, align 8, !tbaa !45
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %163, ptr noundef nonnull align 8 dereferenceable(24) %164, i32 noundef %166)
          to label %167 unwind label %90

167:                                              ; preds = %162
  %168 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 19
  %169 = load ptr, ptr %16, align 8, !tbaa !5
  %170 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 20
  %171 = load i32, ptr %170, align 8, !tbaa !45
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %168, ptr noundef nonnull align 8 dereferenceable(24) %169, i32 noundef %171)
          to label %172 unwind label %90

172:                                              ; preds = %167
  %173 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 16
  %174 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 16
  %175 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %174, i32 0, i32 2
  %176 = load i64, ptr %175, align 8, !tbaa !13
  %177 = mul i64 4, %176
  %178 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 6
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIfEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %177, ptr noundef nonnull align 8 dereferenceable(8) %178)
          to label %179 unwind label %90

179:                                              ; preds = %172
  %180 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 15
  %181 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 15
  %182 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %181, i32 0, i32 2
  %183 = load i64, ptr %182, align 8, !tbaa !13
  %184 = mul i64 4, %183
  %185 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 7
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIfEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %180, i64 noundef %184, ptr noundef nonnull align 8 dereferenceable(8) %185)
          to label %186 unwind label %90

186:                                              ; preds = %179
  %187 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 17
  %188 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 17
  %189 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 20
  %190 = load i32, ptr %189, align 8, !tbaa !45
  %191 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %188, i32 noundef %190)
          to label %192 unwind label %90

192:                                              ; preds = %186
  %193 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 8
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %191, ptr noundef nonnull align 8 dereferenceable(8) %193)
          to label %194 unwind label %90

194:                                              ; preds = %192
  %195 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 19
  %196 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 19
  %197 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 20
  %198 = load i32, ptr %197, align 8, !tbaa !45
  %199 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %196, i32 noundef %198)
          to label %200 unwind label %90

200:                                              ; preds = %194
  %201 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 10
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %195, i64 noundef %199, ptr noundef nonnull align 8 dereferenceable(8) %201)
          to label %202 unwind label %90

202:                                              ; preds = %200
  %203 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 18
  %204 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 18
  %205 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 20
  %206 = load i32, ptr %205, align 8, !tbaa !45
  %207 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %204, i32 noundef %206)
          to label %208 unwind label %90

208:                                              ; preds = %202
  %209 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormVarSeqlenPluginBase", ptr %21, i32 0, i32 9
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %207, ptr noundef nonnull align 8 dereferenceable(8) %209)
          to label %210 unwind label %90

210:                                              ; preds = %208
  ret void

211:                                              ; preds = %90, %86
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  br label %212

212:                                              ; preds = %211, %82
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  br label %213

213:                                              ; preds = %212, %78
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  br label %214

214:                                              ; preds = %213, %74
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #5
  br label %215

215:                                              ; preds = %214, %70
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #5
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  br label %216

216:                                              ; preds = %215, %66
  %217 = getelementptr inbounds i8, ptr %21, i64 24
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %217) #5
  %218 = getelementptr inbounds i8, ptr %21, i64 16
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %218) #5
  %219 = getelementptr inbounds i8, ptr %21, i64 8
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %219) #5
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  br label %220

220:                                              ; preds = %216
  %221 = load ptr, ptr %19, align 8
  %222 = load i32, ptr %20, align 4
  %223 = insertvalue { ptr, i32 } poison, ptr %221, 0
  %224 = insertvalue { ptr, i32 } %223, i32 %222, 1
  resume { ptr, i32 } %224
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint 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 #3 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !15, i64 16}
!14 = !{!"_ZTSN8nvinfer17WeightsE", !10, i64 0, !6, i64 8, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !15, i64 136}
!17 = !{!"_ZTSN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE", !18, i64 0, !20, i64 8, !22, i64 16, !23, i64 24, !24, i64 32, !24, i64 64, !26, i64 96, !26, i64 104, !32, i64 112, !32, i64 120, !32, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !38, i64 168, !38, i64 192, !38, i64 216, !38, i64 240, !38, i64 264, !10, i64 288, !10, i64 292, !39, i64 296, !43, i64 320}
!18 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !19, i64 0}
!19 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!20 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !21, i64 0}
!21 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !19, i64 0}
!22 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !21, i64 0}
!23 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !21, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !15, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"_ZTSSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !27, i64 0}
!27 = !{!"_ZTSSt15__uniq_ptr_dataIfN8nvinfer114pluginInternal11CudaDeleterIfEELb1ELb1EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_implIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !29, i64 0}
!29 = !{!"_ZTSSt5tupleIJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !30, i64 0}
!30 = !{!"_ZTSSt11_Tuple_implILm0EJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !31, i64 0}
!31 = !{!"_ZTSSt10_Head_baseILm0EPfLb0EE", !6, i64 0}
!32 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !33, i64 0}
!33 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !34, i64 0}
!34 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !35, i64 0}
!35 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !36, i64 0}
!36 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !37, i64 0}
!37 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !6, i64 0}
!38 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !14, i64 0}
!39 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !44, i64 0, !6, i64 8}
!44 = !{!"int", !7, i64 0}
!45 = !{!17, !10, i64 288}
!46 = !{!17, !10, i64 292}
!47 = !{!17, !15, i64 144}
!48 = !{!17, !15, i64 152}
!49 = !{!17, !15, i64 160}


; 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"

@_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE = external dso_local unnamed_addr constant { [17 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [107 x i8], align 1
@__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_ = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_(ptr noundef nonnull align 8 dereferenceable(336) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %8) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN8nvinfer15v_1_09IPluginV3C2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN8nvinfer15v_1_016IPluginV3OneCoreC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN8nvinfer15v_1_017IPluginV3OneBuildC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN8nvinfer15v_1_019IPluginV3OneRuntimeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  store ptr getelementptr inbounds inrange(-16, 120) (i8, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i64 16), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 56) (i8, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i64 152), ptr %10, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 120) (i8, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i64 224), ptr %11, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 72) (i8, ptr @_ZTVN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE, i64 360), ptr %12, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %14 unwind label %37

14:                                               ; preds = %9
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  %16 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  %17 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  %18 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %19 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %20 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %21 = getelementptr inbounds i8, ptr %0, i64 136
  %22 = getelementptr inbounds i8, ptr %3, i64 16
  %23 = load i64, ptr %22, align 8, !tbaa !8
  store i64 %23, ptr %21, align 8, !tbaa !14
  %24 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24)
  %25 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25)
  %26 = getelementptr inbounds i8, ptr %0, i64 216
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 240
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 264
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28)
  %29 = getelementptr inbounds i8, ptr %0, i64 288
  store i32 %2, ptr %29, align 8, !tbaa !43
  %30 = getelementptr inbounds i8, ptr %0, i64 292
  store i32 %8, ptr %30, align 4, !tbaa !44
  %31 = getelementptr inbounds i8, ptr %0, i64 296
  tail call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %32 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #5
  %33 = load i64, ptr %22, align 8, !tbaa !8
  %34 = getelementptr inbounds i8, ptr %4, i64 16
  %35 = load i64, ptr %34, align 8, !tbaa !8
  %36 = icmp eq i64 %33, %35
  br i1 %36, label %41, label %.invoke

37:                                               ; preds = %9
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %92

39:                                               ; preds = %.invoke, %88, %85, %82, %78, %74, %72, %70, %68, %67, %63
  %40 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  tail call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  tail call void @_ZNSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %92

41:                                               ; preds = %14
  %42 = load i64, ptr %21, align 8, !tbaa !14
  %.not = icmp eq i64 %42, 0
  br i1 %.not, label %.invoke, label %43

43:                                               ; preds = %41
  %44 = getelementptr inbounds i8, ptr %5, i64 16
  %45 = load i64, ptr %44, align 8, !tbaa !8
  %46 = urem i64 %45, %42
  %47 = udiv i64 %45, %42
  %48 = icmp eq i64 %46, 0
  br i1 %48, label %49, label %.invoke

49:                                               ; preds = %43
  %50 = getelementptr inbounds i8, ptr %6, i64 16
  %51 = load i64, ptr %50, align 8, !tbaa !8
  %52 = urem i64 %51, %42
  %53 = udiv i64 %51, %42
  %54 = icmp eq i64 %52, 0
  br i1 %54, label %55, label %.invoke

55:                                               ; preds = %49
  %56 = getelementptr inbounds i8, ptr %7, i64 16
  %57 = load i64, ptr %56, align 8, !tbaa !8
  %58 = urem i64 %57, %42
  %59 = udiv i64 %57, %42
  %60 = icmp eq i64 %58, 0
  br i1 %60, label %63, label %.invoke

.invoke:                                          ; preds = %14, %55, %49, %43, %41
  %61 = phi i32 [ 145, %41 ], [ 146, %43 ], [ 147, %49 ], [ 148, %55 ], [ 144, %14 ]
  %62 = phi ptr [ @.str.5, %41 ], [ @.str.6, %43 ], [ @.str.7, %49 ], [ @.str.8, %55 ], [ @.str.4, %14 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeERKNS_7WeightsESE_SE_SE_SE_SB_, i32 noundef %61, i32 noundef 0, ptr noundef nonnull %62) #6
          to label %.cont unwind label %39

.cont:                                            ; preds = %.invoke
  unreachable

63:                                               ; preds = %55
  %64 = getelementptr inbounds i8, ptr %0, i64 144
  store i64 %47, ptr %64, align 8, !tbaa !45
  %65 = getelementptr inbounds i8, ptr %0, i64 152
  store i64 %53, ptr %65, align 8, !tbaa !46
  %66 = getelementptr inbounds i8, ptr %0, i64 160
  store i64 %59, ptr %66, align 8, !tbaa !47
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0)
          to label %67 unwind label %39

67:                                               ; preds = %63
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 0)
          to label %68 unwind label %39

68:                                               ; preds = %67
  %69 = load i32, ptr %29, align 8, !tbaa !43
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %69)
          to label %70 unwind label %39

70:                                               ; preds = %68
  %71 = load i32, ptr %29, align 8, !tbaa !43
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %71)
          to label %72 unwind label %39

72:                                               ; preds = %70
  %73 = load i32, ptr %29, align 8, !tbaa !43
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %73)
          to label %74 unwind label %39

74:                                               ; preds = %72
  %75 = getelementptr inbounds i8, ptr %0, i64 208
  %76 = load i64, ptr %75, align 8, !tbaa !8
  %77 = shl i64 %76, 2
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIfEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %77, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %78 unwind label %39

78:                                               ; preds = %74
  %79 = getelementptr inbounds i8, ptr %0, i64 184
  %80 = load i64, ptr %79, align 8, !tbaa !8
  %81 = shl i64 %80, 2
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIfEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %81, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %82 unwind label %39

82:                                               ; preds = %78
  %83 = load i32, ptr %29, align 8, !tbaa !43
  %84 = tail call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %83)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %84, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %85 unwind label %39

85:                                               ; preds = %82
  %86 = load i32, ptr %29, align 8, !tbaa !43
  %87 = tail call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef %86)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %87, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %88 unwind label %39

88:                                               ; preds = %85
  %89 = load i32, ptr %29, align 8, !tbaa !43
  %90 = tail call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %27, i32 noundef %89)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %90, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %91 unwind label %39

91:                                               ; preds = %88
  ret void

92:                                               ; preds = %39, %37
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  tail call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  tail call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  tail call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  tail call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin4bert12copyToDeviceIfEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint 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 #3 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !13, i64 16}
!9 = !{!"_ZTSN8nvinfer17WeightsE", !10, i64 0, !12, i64 8, !13, i64 16}
!10 = !{!"_ZTSN8nvinfer18DataTypeE", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"any pointer", !11, i64 0}
!13 = !{!"long", !11, i64 0}
!14 = !{!15, !13, i64 136}
!15 = !{!"_ZTSN8nvinfer16plugin4bert31EmbLayerNormVarSeqlenPluginBaseE", !16, i64 0, !18, i64 8, !20, i64 16, !21, i64 24, !22, i64 32, !22, i64 64, !24, i64 96, !24, i64 104, !30, i64 112, !30, i64 120, !30, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !36, i64 168, !36, i64 192, !36, i64 216, !36, i64 240, !36, i64 264, !10, i64 288, !10, i64 292, !37, i64 296, !41, i64 320}
!16 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !17, i64 0}
!17 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!18 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !19, i64 0}
!19 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !17, i64 0}
!20 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !19, i64 0}
!21 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !19, i64 0}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !13, i64 8, !11, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!24 = !{!"_ZTSSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIfN8nvinfer114pluginInternal11CudaDeleterIfEELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPfLb0EE", !12, i64 0}
!30 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !33, i64 0}
!33 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !34, i64 0}
!34 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !35, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !12, i64 0}
!36 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !9, i64 0}
!37 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!41 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !42, i64 0, !12, i64 8}
!42 = !{!"int", !11, i64 0}
!43 = !{!15, !10, i64 288}
!44 = !{!15, !10, i64 292}
!45 = !{!15, !13, i64 144}
!46 = !{!15, !13, i64 152}
!47 = !{!15, !13, i64 160}


; Effective O3 passes: DivRemPairsPass,EarlyCSEPass,GlobalOptPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass