; LLVM IR from NVIDIA/TensorRT :: plugin/skipLayerNormPlugin (skipLayerNormPluginLegacy)

; 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::SkipLayerNormPluginDynamic" = type { %"class.nvinfer1::IPluginV2DynamicExt", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::unique_ptr", %"class.std::unique_ptr", i64, %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", i32, i32, i8, %"class.std::unique_ptr", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", i64 }
%"class.nvinfer1::IPluginV2DynamicExt" = type { %"class.nvinfer1::IPluginV2Ext" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = 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::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 }
%"struct.nvinfer1::plugin::bert::WeightsWithOwnership" = type { %"class.nvinfer1::Weights" }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }

@_ZTVN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE = external dso_local unnamed_addr constant { [32 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [106 x i8], align 1
@__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_ = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer119IPluginV2DynamicExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 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 #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8nvinfer16plugin4bert14getElementSizeENS_8DataTypeE(i32 noundef) #0

; 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) #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKvm(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  %12 = load ptr, ptr %5, align 8
  call void @_ZN8nvinfer119IPluginV2DynamicExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  store ptr getelementptr inbounds inrange(-16, 240) ({ [32 x ptr] }, ptr @_ZTVN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE, i32 0, i32 0, i32 2), ptr %12, align 8, !tbaa !11
  %13 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 1
  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 %45

14:                                               ; preds = %4
  %15 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  %16 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 3
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr null) #6
  %17 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 4
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr null) #6
  %18 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 5
  store i64 0, ptr %18, align 8, !tbaa !13
  %19 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 6
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %20 unwind label %49

20:                                               ; preds = %14
  %21 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 7
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %22 unwind label %53

22:                                               ; preds = %20
  %23 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 10
  store i8 0, ptr %23, align 8, !tbaa !30
  %24 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 11
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr null) #6
  %25 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 12
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %26 unwind label %57

26:                                               ; preds = %22
  %27 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 13
  store i64 0, ptr %27, align 8, !tbaa !31
  %28 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 8
  invoke void @_Z17deserialize_valueIN8nvinfer18DataTypeEEvPPKvPmPT_(ptr noundef %7, ptr noundef %8, ptr noundef %28)
          to label %29 unwind label %61

29:                                               ; preds = %26
  %30 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  invoke void @_Z17deserialize_valueIN8nvinfer18DataTypeEEvPPKvPmPT_(ptr noundef %7, ptr noundef %8, ptr noundef %30)
          to label %31 unwind label %61

31:                                               ; preds = %29
  %32 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 5
  invoke void @_Z17deserialize_valueImEvPPKvPmPT_(ptr noundef %7, ptr noundef %8, ptr noundef %32)
          to label %33 unwind label %61

33:                                               ; preds = %31
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 10
  invoke void @_Z17deserialize_valueIbEvPPKvPmPT_(ptr noundef %7, ptr noundef %8, ptr noundef %34)
          to label %35 unwind label %61

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %37 = load i32, ptr %36, align 4, !tbaa !32
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %65, label %39

39:                                               ; preds = %35
  %40 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %41 = load i32, ptr %40, align 4, !tbaa !32
  %42 = icmp eq i32 %41, 1
  br i1 %42, label %65, label %43

43:                                               ; preds = %39
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_, i32 noundef 97, i32 noundef 0, ptr noundef @.str.7) #7
          to label %44 unwind label %61

44:                                               ; preds = %43
  unreachable

45:                                               ; preds = %4
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %9, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %10, align 4
  br label %129

49:                                               ; preds = %14
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %9, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %10, align 4
  br label %128

53:                                               ; preds = %20
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %9, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %10, align 4
  br label %127

57:                                               ; preds = %22
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  br label %126

61:                                               ; preds = %43, %33, %31, %29, %26
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %9, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %10, align 4
  br label %125

65:                                               ; preds = %39, %35
  %66 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %67 = load i32, ptr %66, align 4, !tbaa !32
  %68 = call noundef i32 @_ZN8nvinfer16plugin4bert14getElementSizeENS_8DataTypeE(i32 noundef %67) #6
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 13
  store i64 %69, ptr %70, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %71, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 7
  %73 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 5
  %74 = load i64, ptr %73, align 8, !tbaa !13
  %75 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %76 = load i32, ptr %75, align 4, !tbaa !32
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERPKcmNS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %74, i32 noundef %76) #6
  %77 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 6
  %78 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 5
  %79 = load i64, ptr %78, align 8, !tbaa !13
  %80 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %81 = load i32, ptr %80, align 4, !tbaa !32
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERPKcmNS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %79, i32 noundef %81) #6
  %82 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 10
  %83 = load i8, ptr %82, align 8, !tbaa !30, !range !33, !noundef !34
  %84 = trunc i8 %83 to i1
  br i1 %84, label %85, label %91

85:                                               ; preds = %65
  %86 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 12
  %87 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 5
  %88 = load i64, ptr %87, align 8, !tbaa !13
  %89 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %90 = load i32, ptr %89, align 4, !tbaa !32
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERPKcmNS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %88, i32 noundef %90) #6
  br label %91

91:                                               ; preds = %85, %65
  %92 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 6
  %93 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 6
  %94 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %95 = load i32, ptr %94, align 4, !tbaa !32
  %96 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %93, i32 noundef %95)
          to label %97 unwind label %120

97:                                               ; preds = %91
  %98 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 3
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %96, ptr noundef nonnull align 8 dereferenceable(8) %98)
          to label %99 unwind label %120

99:                                               ; preds = %97
  %100 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 7
  %101 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 7
  %102 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %103 = load i32, ptr %102, align 4, !tbaa !32
  %104 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %101, i32 noundef %103)
          to label %105 unwind label %120

105:                                              ; preds = %99
  %106 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 4
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %104, ptr noundef nonnull align 8 dereferenceable(8) %106)
          to label %107 unwind label %120

107:                                              ; preds = %105
  %108 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 10
  %109 = load i8, ptr %108, align 8, !tbaa !30, !range !33, !noundef !34
  %110 = trunc i8 %109 to i1
  br i1 %110, label %111, label %124

111:                                              ; preds = %107
  %112 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 12
  %113 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 12
  %114 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 9
  %115 = load i32, ptr %114, align 4, !tbaa !32
  %116 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %113, i32 noundef %115)
          to label %117 unwind label %120

117:                                              ; preds = %111
  %118 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %12, i32 0, i32 11
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %116, ptr noundef nonnull align 8 dereferenceable(8) %118)
          to label %119 unwind label %120

119:                                              ; preds = %117
  br label %124

120:                                              ; preds = %117, %111, %105, %99, %97, %91
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %9, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %125

124:                                              ; preds = %119, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  ret void

125:                                              ; preds = %120, %61
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  br label %126

126:                                              ; preds = %125, %57
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %127

127:                                              ; preds = %126, %53
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %128

128:                                              ; preds = %127, %49
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %129

129:                                              ; preds = %128, %45
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %130

130:                                              ; preds = %129
  %131 = load ptr, ptr %9, align 8
  %132 = load i32, ptr %10, align 4
  %133 = insertvalue { ptr, i32 } poison, ptr %131, 0
  %134 = insertvalue { ptr, i32 } %133, i32 %132, 1
  resume { ptr, i32 } %134
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_valueIN8nvinfer18DataTypeEEvPPKvPmPT_(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_valueImEvPPKvPmPT_(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_valueIbEvPPKvPmPT_(ptr noundef, ptr noundef, ptr noundef) #4

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

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

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

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

attributes #0 = { 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 #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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 88}
!14 = !{!"_ZTSN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE", !15, i64 0, !18, i64 8, !18, i64 40, !20, i64 72, !20, i64 80, !10, i64 88, !26, i64 96, !26, i64 120, !28, i64 144, !28, i64 148, !29, i64 152, !20, i64 160, !26, i64 168, !10, i64 192}
!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_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !6, i64 0}
!26 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !27, i64 0}
!27 = !{!"_ZTSN8nvinfer17WeightsE", !28, i64 0, !6, i64 8, !10, i64 16}
!28 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{!14, !29, i64 152}
!31 = !{!14, !10, i64 192}
!32 = !{!14, !28, i64 148}
!33 = !{i8 0, i8 2}
!34 = !{}


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

@_ZTVN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE = external dso_local unnamed_addr constant { [32 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [106 x i8], align 1
@__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_ = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer119IPluginV2DynamicExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 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 #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8nvinfer16plugin4bert14getElementSizeENS_8DataTypeE(i32 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKvm(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  store ptr %2, ptr %5, align 8, !tbaa !5
  store i64 %3, ptr %6, align 8, !tbaa !9
  tail call void @_ZN8nvinfer119IPluginV2DynamicExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  store ptr getelementptr inbounds inrange(-16, 240) (i8, ptr @_ZTVN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE, i64 16), ptr %0, align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %9 unwind label %29

9:                                                ; preds = %4
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %11 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr null) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr null) #6
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  store i64 0, ptr %13, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %15 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 152
  store i8 0, ptr %16, align 8, !tbaa !30
  %17 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr null) #6
  %18 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %19 = getelementptr inbounds i8, ptr %0, i64 192
  store i64 0, ptr %19, align 8, !tbaa !31
  %20 = getelementptr inbounds i8, ptr %0, i64 144
  invoke void @_Z17deserialize_valueIN8nvinfer18DataTypeEEvPPKvPmPT_(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %20)
          to label %21 unwind label %31

21:                                               ; preds = %9
  %22 = getelementptr inbounds i8, ptr %0, i64 148
  invoke void @_Z17deserialize_valueIN8nvinfer18DataTypeEEvPPKvPmPT_(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %22)
          to label %23 unwind label %31

23:                                               ; preds = %21
  invoke void @_Z17deserialize_valueImEvPPKvPmPT_(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %13)
          to label %24 unwind label %31

24:                                               ; preds = %23
  invoke void @_Z17deserialize_valueIbEvPPKvPmPT_(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %16)
          to label %25 unwind label %31

25:                                               ; preds = %24
  %26 = load i32, ptr %22, align 4, !tbaa !32
  %switch = icmp ult i32 %26, 2
  br i1 %switch, label %33, label %27

27:                                               ; preds = %25
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_, i32 noundef 97, i32 noundef 0, ptr noundef nonnull @.str.7) #7
          to label %28 unwind label %31

28:                                               ; preds = %27
  unreachable

29:                                               ; preds = %4
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %62

31:                                               ; preds = %27, %24, %23, %21, %9
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %61

33:                                               ; preds = %25
  %34 = call noundef i32 @_ZN8nvinfer16plugin4bert14getElementSizeENS_8DataTypeE(i32 noundef %26) #6
  %35 = zext i32 %34 to i64
  store i64 %35, ptr %19, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %36, ptr %7, align 8, !tbaa !5
  %37 = load i64, ptr %13, align 8, !tbaa !13
  %38 = load i32, ptr %22, align 4, !tbaa !32
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERPKcmNS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %37, i32 noundef %38) #6
  %39 = load i64, ptr %13, align 8, !tbaa !13
  %40 = load i32, ptr %22, align 4, !tbaa !32
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERPKcmNS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %39, i32 noundef %40) #6
  %41 = load i8, ptr %16, align 8, !tbaa !30, !range !33, !noundef !34
  %42 = trunc nuw i8 %41 to i1
  br i1 %42, label %43, label %46

43:                                               ; preds = %33
  %44 = load i64, ptr %13, align 8, !tbaa !13
  %45 = load i32, ptr %22, align 4, !tbaa !32
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERPKcmNS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %44, i32 noundef %45) #6
  br label %46

46:                                               ; preds = %43, %33
  %47 = load i32, ptr %22, align 4, !tbaa !32
  %48 = call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef %47)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %48, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %49 unwind label %58

49:                                               ; preds = %46
  %50 = load i32, ptr %22, align 4, !tbaa !32
  %51 = call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef %50)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %51, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %52 unwind label %58

52:                                               ; preds = %49
  %53 = load i8, ptr %16, align 8, !tbaa !30, !range !33, !noundef !34
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %55, label %60

55:                                               ; preds = %52
  %56 = load i32, ptr %22, align 4, !tbaa !32
  %57 = call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %18, i32 noundef %56)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %57, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %60 unwind label %58

58:                                               ; preds = %55, %49, %46
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %61

60:                                               ; preds = %55, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  ret void

61:                                               ; preds = %58, %31
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %32, %31 ]
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %62

62:                                               ; preds = %61, %29
  %.pn.pn = phi { ptr, i32 } [ %.pn, %61 ], [ %30, %29 ]
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_valueIN8nvinfer18DataTypeEEvPPKvPmPT_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_valueImEvPPKvPmPT_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_valueIbEvPPKvPmPT_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

attributes #0 = { 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 #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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 88}
!14 = !{!"_ZTSN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE", !15, i64 0, !18, i64 8, !18, i64 40, !20, i64 72, !20, i64 80, !10, i64 88, !26, i64 96, !26, i64 120, !28, i64 144, !28, i64 148, !29, i64 152, !20, i64 160, !26, i64 168, !10, i64 192}
!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_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !6, i64 0}
!26 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !27, i64 0}
!27 = !{!"_ZTSN8nvinfer17WeightsE", !28, i64 0, !6, i64 8, !10, i64 16}
!28 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{!14, !29, i64 152}
!31 = !{!14, !10, i64 192}
!32 = !{!14, !28, i64 148}
!33 = !{i8 0, i8 2}
!34 = !{}


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