; 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::plugin::LogStream" = type { %"class.std::basic_ostream.base", %"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kERROR>::Buf", %"class.std::mutex", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.nvinfer1::plugin::LogStream<nvinfer1::ILogger::Severity::kERROR>::Buf" = type { %"class.std::__cxx11::basic_stringbuf" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.nvinfer1::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy" = type { %"class.nvinfer1::IPluginV2DynamicExt", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.std::unique_ptr.5", %"class.std::unique_ptr.5", %"class.std::unique_ptr.5", i64, 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, i8, i32, i32 }
%"class.nvinfer1::IPluginV2DynamicExt" = type { %"class.nvinfer1::IPluginV2Ext" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"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.4" }
%"struct.std::_Head_base.4" = type { ptr }
%"class.std::unique_ptr.5" = type { %"struct.std::__uniq_ptr_data.6" }
%"struct.std::__uniq_ptr_data.6" = type { %"class.std::__uniq_ptr_impl.7" }
%"class.std::__uniq_ptr_impl.7" = type { %"class.std::tuple.8" }
%"class.std::tuple.8" = type { %"struct.std::_Tuple_impl.9" }
%"struct.std::_Tuple_impl.9" = type { %"struct.std::_Head_base.12" }
%"struct.std::_Head_base.12" = type { ptr }
%"struct.nvinfer1::plugin::bert::WeightsWithOwnership" = type { %"class.nvinfer1::Weights" }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }

@.str = external hidden unnamed_addr constant [104 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacy7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [64 x i8], align 1
@_ZN8nvinfer16plugin9gLogErrorE = external global %"class.nvinfer1::plugin::LogStream", align 8
@.str.38 = external hidden unnamed_addr constant [63 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

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

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

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

declare ptr @__cxa_begin_catch(ptr)

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

declare void @__cxa_end_catch()

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN8nvinfer16plugin4bert20getMHAMaskPackedSizeEiNS_8DataTypeEi(i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacy7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  %41 = load ptr, ptr %9, align 8
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %50

44:                                               ; preds = %7
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %50

47:                                               ; preds = %44
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = icmp ne ptr %48, null
  br i1 %49, label %56, label %50

50:                                               ; preds = %47, %44, %7
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacy7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 316, i32 noundef 0, ptr noundef @.str.37) #8
          to label %51 unwind label %52

51:                                               ; preds = %50
  unreachable

52:                                               ; preds = %50
  %53 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %16, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %17, align 4
  br label %260

56:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %58, i32 0, i32 1
  %60 = getelementptr inbounds [8 x i64], ptr %59, i64 0, i64 1
  %61 = load i64, ptr %60, align 8, !tbaa !9
  %62 = trunc i64 %61 to i32
  store i32 %62, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %64, i32 0, i32 1
  %66 = getelementptr inbounds [8 x i64], ptr %65, i64 0, i64 0
  %67 = load i64, ptr %66, align 8, !tbaa !9
  %68 = trunc i64 %67 to i32
  store i32 %68, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 1, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = getelementptr inbounds ptr, ptr %69, i64 0
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  store ptr %71, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds ptr, ptr %72, i64 1
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  store ptr %74, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = getelementptr inbounds ptr, ptr %75, i64 2
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  store ptr %77, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %78 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 4
  %79 = call noundef ptr @_ZNKSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #9
  store ptr %79, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %80 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 3
  %81 = call noundef ptr @_ZNKSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %80) #9
  store ptr %81, ptr %25, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 18
  %83 = load i32, ptr %82, align 8, !tbaa !13
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %129

85:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds ptr, ptr %86, i64 0
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  store ptr %88, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %89 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 5
  %90 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %89) #9
  store ptr %90, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %91 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 6
  %92 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %91) #9
  store ptr %92, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %93 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 7
  %94 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #9
  store ptr %94, ptr %29, align 8, !tbaa !5
  %95 = load ptr, ptr %15, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 8
  %97 = load i64, ptr %96, align 8, !tbaa !36
  %98 = trunc i64 %97 to i32
  %99 = load i32, ptr %18, align 4, !tbaa !11
  %100 = load i32, ptr %19, align 4, !tbaa !11
  %101 = load ptr, ptr %21, align 8, !tbaa !5
  %102 = load ptr, ptr %22, align 8, !tbaa !5
  %103 = load ptr, ptr %24, align 8, !tbaa !5
  %104 = load ptr, ptr %25, align 8, !tbaa !5
  %105 = load ptr, ptr %27, align 8, !tbaa !5
  %106 = load ptr, ptr %29, align 8, !tbaa !5
  %107 = load ptr, ptr %28, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 10
  %109 = load i64, ptr %108, align 8, !tbaa !37
  %110 = trunc i64 %109 to i32
  %111 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 12
  %112 = load i64, ptr %111, align 8, !tbaa !38
  %113 = trunc i64 %112 to i32
  %114 = load ptr, ptr %26, align 8, !tbaa !5
  %115 = invoke noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormIfEEiP11CUstream_stiiiPKiS6_PKfS8_PKT_SB_SB_iiPS9_(ptr noundef %95, i32 noundef %98, i32 noundef %99, i32 noundef %100, ptr noundef %101, ptr noundef %102, ptr noundef %103, ptr noundef %104, ptr noundef %105, ptr noundef %106, ptr noundef %107, i32 noundef %110, i32 noundef %113, ptr noundef %114)
          to label %116 unwind label %121

116:                                              ; preds = %85
  store i32 %115, ptr %20, align 4, !tbaa !11
  %117 = load i32, ptr %20, align 4, !tbaa !11
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %125

119:                                              ; preds = %116
  %120 = load i32, ptr %20, align 4, !tbaa !11
  store i32 %120, ptr %8, align 4
  store i32 1, ptr %30, align 4
  br label %126

121:                                              ; preds = %85
  %122 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %16, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %259

125:                                              ; preds = %116
  store i32 0, ptr %30, align 4
  br label %126

126:                                              ; preds = %125, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  %127 = load i32, ptr %30, align 4
  switch i32 %127, label %258 [
    i32 0, label %128
  ]

128:                                              ; preds = %126
  br label %191

129:                                              ; preds = %56
  %130 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 18
  %131 = load i32, ptr %130, align 8, !tbaa !13
  %132 = icmp eq i32 %131, 1
  br i1 %132, label %133, label %177

133:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  %135 = getelementptr inbounds ptr, ptr %134, i64 0
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  store ptr %136, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %137 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 5
  %138 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %137) #9
  store ptr %138, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %139 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 6
  %140 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %139) #9
  store ptr %140, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %141 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 7
  %142 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %141) #9
  store ptr %142, ptr %34, align 8, !tbaa !5
  %143 = load ptr, ptr %15, align 8, !tbaa !5
  %144 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 8
  %145 = load i64, ptr %144, align 8, !tbaa !36
  %146 = trunc i64 %145 to i32
  %147 = load i32, ptr %18, align 4, !tbaa !11
  %148 = load i32, ptr %19, align 4, !tbaa !11
  %149 = load ptr, ptr %21, align 8, !tbaa !5
  %150 = load ptr, ptr %22, align 8, !tbaa !5
  %151 = load ptr, ptr %24, align 8, !tbaa !5
  %152 = load ptr, ptr %25, align 8, !tbaa !5
  %153 = load ptr, ptr %32, align 8, !tbaa !5
  %154 = load ptr, ptr %34, align 8, !tbaa !5
  %155 = load ptr, ptr %33, align 8, !tbaa !5
  %156 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 10
  %157 = load i64, ptr %156, align 8, !tbaa !37
  %158 = trunc i64 %157 to i32
  %159 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 12
  %160 = load i64, ptr %159, align 8, !tbaa !38
  %161 = trunc i64 %160 to i32
  %162 = load ptr, ptr %31, align 8, !tbaa !5
  %163 = invoke noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormI6__halfEEiP11CUstream_stiiiPKiS7_PKfS9_PKT_SC_SC_iiPSA_(ptr noundef %143, i32 noundef %146, i32 noundef %147, i32 noundef %148, ptr noundef %149, ptr noundef %150, ptr noundef %151, ptr noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155, i32 noundef %158, i32 noundef %161, ptr noundef %162)
          to label %164 unwind label %169

164:                                              ; preds = %133
  store i32 %163, ptr %20, align 4, !tbaa !11
  %165 = load i32, ptr %20, align 4, !tbaa !11
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %173

167:                                              ; preds = %164
  %168 = load i32, ptr %20, align 4, !tbaa !11
  store i32 %168, ptr %8, align 4
  store i32 1, ptr %30, align 4
  br label %174

169:                                              ; preds = %133
  %170 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %16, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %259

173:                                              ; preds = %164
  store i32 0, ptr %30, align 4
  br label %174

174:                                              ; preds = %173, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  %175 = load i32, ptr %30, align 4
  switch i32 %175, label %258 [
    i32 0, label %176
  ]

176:                                              ; preds = %174
  br label %190

177:                                              ; preds = %129
  %178 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE1EA63_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152) @_ZN8nvinfer16plugin9gLogErrorE, ptr noundef nonnull align 1 dereferenceable(63) @.str.38)
          to label %179 unwind label %186

179:                                              ; preds = %177
  %180 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 18
  %181 = load i32, ptr %180, align 8, !tbaa !13
  %182 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE1EEERNS0_9LogStreamIXT_EEES6_i(ptr noundef nonnull align 8 dereferenceable(152) %178, i32 noundef %181)
          to label %183 unwind label %186

183:                                              ; preds = %179
  %184 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE1EEERNS0_9LogStreamIXT_EEES6_PFRSoS7_E(ptr noundef nonnull align 8 dereferenceable(152) %182, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %185 unwind label %186

185:                                              ; preds = %183
  store i32 3, ptr %8, align 4
  store i32 1, ptr %30, align 4
  br label %258

186:                                              ; preds = %195, %183, %179, %177
  %187 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %16, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %17, align 4
  br label %259

190:                                              ; preds = %176
  br label %191

191:                                              ; preds = %190, %128
  %192 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 19
  %193 = load i8, ptr %192, align 4, !tbaa !39, !range !40, !noundef !41
  %194 = trunc i8 %193 to i1
  br i1 %194, label %205, label %195

195:                                              ; preds = %191
  %196 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 21
  %197 = load i32, ptr %196, align 4, !tbaa !42
  %198 = getelementptr inbounds %"class.nvinfer1::plugin::bert::EmbLayerNormPluginDynamicLegacy", ptr %41, i32 0, i32 20
  %199 = load i32, ptr %198, align 8, !tbaa !43
  %200 = load i32, ptr %19, align 4, !tbaa !11
  %201 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20getMHAMaskPackedSizeEiNS_8DataTypeEi(i32 noundef %197, i32 noundef %199, i32 noundef %200)
          to label %202 unwind label %186

202:                                              ; preds = %195
  %203 = sext i32 %201 to i64
  %204 = icmp ne i64 1, %203
  br i1 %204, label %205, label %241

205:                                              ; preds = %202, %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  store i64 0, ptr %35, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  store i64 0, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  store i64 1, ptr %37, align 8, !tbaa !9
  %206 = load i32, ptr %19, align 4, !tbaa !11
  %207 = icmp eq i32 %206, 64
  br i1 %207, label %214, label %208

208:                                              ; preds = %205
  %209 = load i32, ptr %19, align 4, !tbaa !11
  %210 = icmp eq i32 %209, 96
  br i1 %210, label %214, label %211

211:                                              ; preds = %208
  %212 = load i32, ptr %19, align 4, !tbaa !11
  %213 = icmp eq i32 %212, 128
  br i1 %213, label %214, label %215

214:                                              ; preds = %211, %208, %205
  store i64 2, ptr %35, align 8, !tbaa !9
  store i64 2, ptr %36, align 8, !tbaa !9
  br label %220

215:                                              ; preds = %211
  %216 = load i32, ptr %19, align 4, !tbaa !11
  %217 = icmp eq i32 %216, 384
  br i1 %217, label %218, label %219

218:                                              ; preds = %215
  store i64 1, ptr %35, align 8, !tbaa !9
  store i64 8, ptr %36, align 8, !tbaa !9
  br label %219

219:                                              ; preds = %218, %215
  br label %220

220:                                              ; preds = %219, %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %221 = load ptr, ptr %13, align 8, !tbaa !5
  %222 = getelementptr inbounds ptr, ptr %221, i64 1
  %223 = load ptr, ptr %222, align 8, !tbaa !5
  store ptr %223, ptr %38, align 8, !tbaa !5
  %224 = load i32, ptr %19, align 4, !tbaa !11
  %225 = load i32, ptr %18, align 4, !tbaa !11
  %226 = load i64, ptr %35, align 8, !tbaa !9
  %227 = trunc i64 %226 to i32
  %228 = load i64, ptr %36, align 8, !tbaa !9
  %229 = trunc i64 %228 to i32
  %230 = load i64, ptr %37, align 8, !tbaa !9
  %231 = trunc i64 %230 to i32
  %232 = load ptr, ptr %23, align 8, !tbaa !5
  %233 = load ptr, ptr %38, align 8, !tbaa !5
  %234 = load ptr, ptr %15, align 8, !tbaa !5
  %235 = invoke noundef i32 @_ZN8nvinfer16plugin4bert11convertMaskEjjjjjPKiPjP11CUstream_st(i32 noundef %224, i32 noundef %225, i32 noundef %227, i32 noundef %229, i32 noundef %231, ptr noundef %232, ptr noundef %233, ptr noundef %234)
          to label %236 unwind label %237

236:                                              ; preds = %220
  store i32 %235, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %256

237:                                              ; preds = %220
  %238 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %16, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %259

241:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %242 = load ptr, ptr %13, align 8, !tbaa !5
  %243 = getelementptr inbounds ptr, ptr %242, i64 1
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  store ptr %244, ptr %39, align 8, !tbaa !5
  %245 = load ptr, ptr %15, align 8, !tbaa !5
  %246 = load i32, ptr %19, align 4, !tbaa !11
  %247 = load i32, ptr %18, align 4, !tbaa !11
  %248 = load ptr, ptr %23, align 8, !tbaa !5
  %249 = load ptr, ptr %39, align 8, !tbaa !5
  %250 = invoke noundef i32 @_ZN8nvinfer16plugin4bert14computeMaskIdxEP11CUstream_stiiPKiPi(ptr noundef %245, i32 noundef %246, i32 noundef %247, ptr noundef %248, ptr noundef %249)
          to label %251 unwind label %252

251:                                              ; preds = %241
  store i32 %250, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br label %256

252:                                              ; preds = %241
  %253 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %16, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br label %259

256:                                              ; preds = %251, %236
  %257 = load i32, ptr %20, align 4, !tbaa !11
  store i32 %257, ptr %8, align 4
  store i32 1, ptr %30, align 4
  br label %258

258:                                              ; preds = %256, %185, %174, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %271

259:                                              ; preds = %252, %237, %186, %169, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %260

260:                                              ; preds = %259, %52
  %261 = load i32, ptr %17, align 4
  %262 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %263 = icmp eq i32 %261, %262
  br i1 %263, label %264, label %276

264:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %265 = load ptr, ptr %16, align 8
  %266 = call ptr @__cxa_begin_catch(ptr %265) #9
  store ptr %266, ptr %40, align 8
  %267 = load ptr, ptr %40, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %267)
          to label %268 unwind label %273

268:                                              ; preds = %264
  invoke void @__cxa_end_catch()
          to label %269 unwind label %273

269:                                              ; preds = %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  br label %270

270:                                              ; preds = %269
  store i32 1, ptr %8, align 4
  br label %271

271:                                              ; preds = %270, %258
  %272 = load i32, ptr %8, align 4
  ret i32 %272

273:                                              ; preds = %268, %264
  %274 = landingpad { ptr, i32 }
          catch ptr null
  %275 = extractvalue { ptr, i32 } %274, 0
  call void @__clang_call_terminate(ptr %275) #10
  unreachable

276:                                              ; preds = %260
  %277 = load ptr, ptr %16, align 8
  call void @__clang_call_terminate(ptr %277) #10
  unreachable
}

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

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

declare noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormIfEEiP11CUstream_stiiiPKiS6_PKfS8_PKT_SB_SB_iiPS9_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #6

declare noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormI6__halfEEiP11CUstream_stiiiPKiS7_PKfS9_PKT_SC_SC_iiPSA_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #6

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

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

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

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

declare noundef i32 @_ZN8nvinfer16plugin4bert11convertMaskEjjjjjPKiPjP11CUstream_st(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #6

declare noundef i32 @_ZN8nvinfer16plugin4bert14computeMaskIdxEP11CUstream_stiiPKiPi(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #6

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind memory(none) }
attributes #3 = { 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 #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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 = { 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 = { noreturn }
attributes #9 = { nounwind }
attributes #10 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !34, i64 272}
!14 = !{!"_ZTSN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacyE", !15, i64 0, !18, i64 8, !18, i64 40, !20, i64 72, !20, i64 80, !26, i64 88, !26, i64 96, !26, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !32, i64 152, !32, i64 176, !32, i64 200, !32, i64 224, !32, i64 248, !34, i64 272, !35, i64 276, !34, i64 280, !12, i64 284}
!15 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !17, i64 0}
!17 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !10, i64 8, !7, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!20 = !{!"_ZTSSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIfN8nvinfer114pluginInternal11CudaDeleterIfEELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPfLb0EE", !6, i64 0}
!26 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !27, i64 0}
!27 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !29, i64 0}
!29 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !30, i64 0}
!30 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !31, i64 0}
!31 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !6, i64 0}
!32 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !33, i64 0}
!33 = !{!"_ZTSN8nvinfer17WeightsE", !34, i64 0, !6, i64 8, !10, i64 16}
!34 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!35 = !{!"bool", !7, i64 0}
!36 = !{!14, !10, i64 112}
!37 = !{!14, !10, i64 128}
!38 = !{!14, !10, i64 144}
!39 = !{!14, !35, i64 276}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!14, !12, i64 284}
!43 = !{!14, !34, i64 280}


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

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

@.str = external hidden unnamed_addr constant [104 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacy7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [64 x i8], align 1
@_ZN8nvinfer16plugin9gLogErrorE = external global %"class.nvinfer1::plugin::LogStream", align 8
@.str.38 = external hidden unnamed_addr constant [63 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: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #1

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

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN8nvinfer16plugin4bert20getMHAMaskPackedSizeEiNS_8DataTypeEi(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacy7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef readonly %1, ptr nocapture noundef readnone %2, ptr noundef readonly %3, ptr noundef readonly %4, ptr nocapture noundef readnone %5, ptr noundef %6) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %8 = icmp ne ptr %1, null
  %9 = icmp ne ptr %3, null
  %or.cond = and i1 %8, %9
  %10 = icmp ne ptr %4, null
  %or.cond4 = and i1 %or.cond, %10
  br i1 %or.cond4, label %15, label %11

11:                                               ; preds = %7
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacy7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 316, i32 noundef 0, ptr noundef nonnull @.str.37) #7
          to label %12 unwind label %13

12:                                               ; preds = %11
  unreachable

13:                                               ; preds = %11
  %14 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %109

15:                                               ; preds = %7
  %16 = getelementptr inbounds i8, ptr %1, i64 8
  %17 = getelementptr inbounds i8, ptr %1, i64 16
  %18 = load i64, ptr %17, align 8, !tbaa !5
  %19 = trunc i64 %18 to i32
  %20 = load i64, ptr %16, align 8, !tbaa !5
  %21 = trunc i64 %20 to i32
  %22 = load ptr, ptr %3, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %3, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %3, i64 16
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %0, i64 80
  %28 = tail call noundef ptr @_ZNKSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %29 = getelementptr inbounds i8, ptr %0, i64 72
  %30 = tail call noundef ptr @_ZNKSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %31 = getelementptr inbounds i8, ptr %0, i64 272
  %32 = load i32, ptr %31, align 8, !tbaa !11
  switch i32 %32, label %75 [
    i32 0, label %33
    i32 1, label %54
  ]

33:                                               ; preds = %15
  %34 = load ptr, ptr %4, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %0, i64 88
  %36 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  %37 = getelementptr inbounds i8, ptr %0, i64 96
  %38 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  %39 = getelementptr inbounds i8, ptr %0, i64 104
  %40 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  %41 = getelementptr inbounds i8, ptr %0, i64 112
  %42 = load i64, ptr %41, align 8, !tbaa !35
  %43 = trunc i64 %42 to i32
  %44 = getelementptr inbounds i8, ptr %0, i64 128
  %45 = load i64, ptr %44, align 8, !tbaa !36
  %46 = trunc i64 %45 to i32
  %47 = getelementptr inbounds i8, ptr %0, i64 144
  %48 = load i64, ptr %47, align 8, !tbaa !37
  %49 = trunc i64 %48 to i32
  %50 = invoke noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormIfEEiP11CUstream_stiiiPKiS6_PKfS8_PKT_SB_SB_iiPS9_(ptr noundef %6, i32 noundef %43, i32 noundef %19, i32 noundef %21, ptr noundef %22, ptr noundef %24, ptr noundef %28, ptr noundef %30, ptr noundef %36, ptr noundef %40, ptr noundef %38, i32 noundef %46, i32 noundef %49, ptr noundef %34)
          to label %51 unwind label %52

51:                                               ; preds = %33
  %.not85 = icmp eq i32 %50, 0
  br i1 %.not85, label %84, label %115

52:                                               ; preds = %33
  %53 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %109

54:                                               ; preds = %15
  %55 = load ptr, ptr %4, align 8, !tbaa !9
  %56 = getelementptr inbounds i8, ptr %0, i64 88
  %57 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #8
  %58 = getelementptr inbounds i8, ptr %0, i64 96
  %59 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %58) #8
  %60 = getelementptr inbounds i8, ptr %0, i64 104
  %61 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  %62 = getelementptr inbounds i8, ptr %0, i64 112
  %63 = load i64, ptr %62, align 8, !tbaa !35
  %64 = trunc i64 %63 to i32
  %65 = getelementptr inbounds i8, ptr %0, i64 128
  %66 = load i64, ptr %65, align 8, !tbaa !36
  %67 = trunc i64 %66 to i32
  %68 = getelementptr inbounds i8, ptr %0, i64 144
  %69 = load i64, ptr %68, align 8, !tbaa !37
  %70 = trunc i64 %69 to i32
  %71 = invoke noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormI6__halfEEiP11CUstream_stiiiPKiS7_PKfS9_PKT_SC_SC_iiPSA_(ptr noundef %6, i32 noundef %64, i32 noundef %19, i32 noundef %21, ptr noundef %22, ptr noundef %24, ptr noundef %28, ptr noundef %30, ptr noundef %57, ptr noundef %61, ptr noundef %59, i32 noundef %67, i32 noundef %70, ptr noundef %55)
          to label %72 unwind label %73

72:                                               ; preds = %54
  %.not = icmp eq i32 %71, 0
  br i1 %.not, label %84, label %115

73:                                               ; preds = %54
  %74 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %109

75:                                               ; preds = %15
  %76 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE1EA63_cEERNS0_9LogStreamIXT_EEES7_RKT0_(ptr noundef nonnull align 8 dereferenceable(152) @_ZN8nvinfer16plugin9gLogErrorE, ptr noundef nonnull align 1 dereferenceable(63) @.str.38)
          to label %77 unwind label %82

77:                                               ; preds = %75
  %78 = load i32, ptr %31, align 8, !tbaa !11
  %79 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE1EEERNS0_9LogStreamIXT_EEES6_i(ptr noundef nonnull align 8 dereferenceable(152) %76, i32 noundef %78)
          to label %80 unwind label %82

80:                                               ; preds = %77
  %81 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN8nvinfer16pluginlsILNS_7ILogger8SeverityE1EEERNS0_9LogStreamIXT_EEES6_PFRSoS7_E(ptr noundef nonnull align 8 dereferenceable(152) %79, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %115 unwind label %82

82:                                               ; preds = %88, %80, %77, %75
  %83 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %109

84:                                               ; preds = %72, %51
  %85 = getelementptr inbounds i8, ptr %0, i64 276
  %86 = load i8, ptr %85, align 4, !tbaa !38, !range !39, !noundef !40
  %87 = trunc nuw i8 %86 to i1
  br i1 %87, label %95, label %88

88:                                               ; preds = %84
  %89 = getelementptr inbounds i8, ptr %0, i64 284
  %90 = load i32, ptr %89, align 4, !tbaa !41
  %91 = getelementptr inbounds i8, ptr %0, i64 280
  %92 = load i32, ptr %91, align 8, !tbaa !42
  %93 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20getMHAMaskPackedSizeEiNS_8DataTypeEi(i32 noundef %90, i32 noundef %92, i32 noundef %21)
          to label %94 unwind label %82

94:                                               ; preds = %88
  %.not86 = icmp eq i32 %93, 1
  br i1 %.not86, label %103, label %95

95:                                               ; preds = %94, %84
  switch i32 %21, label %.fold.split [
    i32 128, label %97
    i32 96, label %97
    i32 64, label %97
    i32 384, label %96
  ]

96:                                               ; preds = %95
  br label %97

.fold.split:                                      ; preds = %95
  br label %97

97:                                               ; preds = %95, %95, %95, %.fold.split, %96
  %.078 = phi i32 [ 1, %96 ], [ 2, %95 ], [ 2, %95 ], [ 2, %95 ], [ 0, %.fold.split ]
  %.077 = phi i32 [ 8, %96 ], [ 2, %95 ], [ 2, %95 ], [ 2, %95 ], [ 0, %.fold.split ]
  %98 = getelementptr inbounds i8, ptr %4, i64 8
  %99 = load ptr, ptr %98, align 8, !tbaa !9
  %100 = invoke noundef i32 @_ZN8nvinfer16plugin4bert11convertMaskEjjjjjPKiPjP11CUstream_st(i32 noundef %21, i32 noundef %19, i32 noundef %.078, i32 noundef %.077, i32 noundef 1, ptr noundef %26, ptr noundef %99, ptr noundef %6)
          to label %115 unwind label %101

101:                                              ; preds = %97
  %102 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %109

103:                                              ; preds = %94
  %104 = getelementptr inbounds i8, ptr %4, i64 8
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = invoke noundef i32 @_ZN8nvinfer16plugin4bert14computeMaskIdxEP11CUstream_stiiPKiPi(ptr noundef %6, i32 noundef %21, i32 noundef %19, ptr noundef %26, ptr noundef %105)
          to label %115 unwind label %107

107:                                              ; preds = %103
  %108 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %109

109:                                              ; preds = %52, %73, %82, %101, %107, %13
  %.pn.pn = phi { ptr, i32 } [ %14, %13 ], [ %102, %101 ], [ %108, %107 ], [ %83, %82 ], [ %53, %52 ], [ %74, %73 ]
  %.173 = extractvalue { ptr, i32 } %.pn.pn, 0
  %.175 = extractvalue { ptr, i32 } %.pn.pn, 1
  %110 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %111 = icmp eq i32 %.175, %110
  br i1 %111, label %112, label %119

112:                                              ; preds = %109
  %113 = tail call ptr @__cxa_begin_catch(ptr %.173) #8
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %113)
          to label %114 unwind label %116

114:                                              ; preds = %112
  invoke void @__cxa_end_catch()
          to label %115 unwind label %116

115:                                              ; preds = %114, %72, %51, %80, %103, %97
  %.3 = phi i32 [ %50, %51 ], [ %71, %72 ], [ 3, %80 ], [ %100, %97 ], [ %106, %103 ], [ 1, %114 ]
  ret i32 %.3

116:                                              ; preds = %114, %112
  %117 = landingpad { ptr, i32 }
          catch ptr null
  %118 = extractvalue { ptr, i32 } %117, 0
  tail call void @__clang_call_terminate(ptr %118) #9
  unreachable

119:                                              ; preds = %109
  tail call void @__clang_call_terminate(ptr %.173) #9
  unreachable
}

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

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

declare noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormIfEEiP11CUstream_stiiiPKiS6_PKfS8_PKT_SB_SB_iiPS9_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

declare noundef i32 @_ZN8nvinfer16plugin4bert16embSkipLayerNormI6__halfEEiP11CUstream_stiiiPKiS7_PKfS9_PKT_SC_SC_iiPSA_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

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

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

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

declare noundef i32 @_ZN8nvinfer16plugin4bert11convertMaskEjjjjjPKiPjP11CUstream_st(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare noundef i32 @_ZN8nvinfer16plugin4bert14computeMaskIdxEP11CUstream_stiiPKiPi(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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 = { nofree nosync nounwind memory(none) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn }
attributes #8 = { nounwind }
attributes #9 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !32, i64 272}
!12 = !{!"_ZTSN8nvinfer16plugin4bert31EmbLayerNormPluginDynamicLegacyE", !13, i64 0, !16, i64 8, !16, i64 40, !18, i64 72, !18, i64 80, !24, i64 88, !24, i64 96, !24, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !30, i64 152, !30, i64 176, !30, i64 200, !30, i64 224, !30, i64 248, !32, i64 272, !33, i64 276, !32, i64 280, !34, i64 284}
!13 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !15, i64 0}
!15 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !6, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!18 = !{!"_ZTSSt10unique_ptrIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_dataIfN8nvinfer114pluginInternal11CudaDeleterIfEELb1ELb1EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_implIfN8nvinfer114pluginInternal11CudaDeleterIfEEE", !21, i64 0}
!21 = !{!"_ZTSSt5tupleIJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Tuple_implILm0EJPfN8nvinfer114pluginInternal11CudaDeleterIfEEEE", !23, i64 0}
!23 = !{!"_ZTSSt10_Head_baseILm0EPfLb0EE", !10, i64 0}
!24 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !10, i64 0}
!30 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !31, i64 0}
!31 = !{!"_ZTSN8nvinfer17WeightsE", !32, i64 0, !10, i64 8, !6, i64 16}
!32 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{!"int", !7, i64 0}
!35 = !{!12, !6, i64 112}
!36 = !{!12, !6, i64 128}
!37 = !{!12, !6, i64 144}
!38 = !{!12, !33, i64 276}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!12, !34, i64 284}
!42 = !{!12, !32, i64 280}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass