; 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.5 = external hidden unnamed_addr constant [112 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !11
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  %17 = load ptr, ptr %8, align 8
  call void @_ZN8nvinfer119IPluginV2DynamicExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  store ptr getelementptr inbounds inrange(-16, 240) ({ [32 x ptr] }, ptr @_ZTVN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE, i32 0, i32 0, i32 2), ptr %17, align 8, !tbaa !13
  %18 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %19 unwind label %50

19:                                               ; preds = %7
  %20 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  %21 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 3
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr null) #5
  %22 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 4
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr null) #5
  %23 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 5
  %24 = load i32, ptr %11, align 4, !tbaa !11
  %25 = sext i32 %24 to i64
  store i64 %25, ptr %23, align 8, !tbaa !15
  %26 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 6
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %27 unwind label %54

27:                                               ; preds = %19
  %28 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 7
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %29 unwind label %58

29:                                               ; preds = %27
  %30 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 8
  %31 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %31, ptr %30, align 8, !tbaa !32
  %32 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 10
  store i8 0, ptr %32, align 8, !tbaa !33
  %33 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 11
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr null) #5
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 12
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %35 unwind label %62

35:                                               ; preds = %29
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 13
  store i64 0, ptr %36, align 8, !tbaa !34
  %37 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 8
  %38 = load i32, ptr %37, align 8, !tbaa !32
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %70, label %40

40:                                               ; preds = %35
  %41 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 8
  %42 = load i32, ptr %41, align 8, !tbaa !32
  %43 = icmp eq i32 %42, 1
  br i1 %43, label %70, label %44

44:                                               ; preds = %40
  %45 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 8
  %46 = load i32, ptr %45, align 8, !tbaa !32
  %47 = icmp eq i32 %46, 2
  br i1 %47, label %70, label %48

48:                                               ; preds = %44
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_, i32 noundef 60, i32 noundef 0, ptr noundef @.str.5) #6
          to label %49 unwind label %66

49:                                               ; preds = %48
  unreachable

50:                                               ; preds = %7
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %15, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %16, align 4
  br label %144

54:                                               ; preds = %19
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %15, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %16, align 4
  br label %143

58:                                               ; preds = %27
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %15, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %16, align 4
  br label %142

62:                                               ; preds = %29
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %15, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %16, align 4
  br label %141

66:                                               ; preds = %137, %131, %125, %119, %117, %111, %105, %90, %78, %48
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %15, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %16, align 4
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  br label %141

70:                                               ; preds = %44, %40, %35
  %71 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 8
  %72 = load i32, ptr %71, align 8, !tbaa !32
  %73 = icmp eq i32 %72, 2
  br i1 %73, label %74, label %75

74:                                               ; preds = %70
  br label %78

75:                                               ; preds = %70
  %76 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 8
  %77 = load i32, ptr %76, align 8, !tbaa !32
  br label %78

78:                                               ; preds = %75, %74
  %79 = phi i32 [ 1, %74 ], [ %77, %75 ]
  %80 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 9
  store i32 %79, ptr %80, align 4, !tbaa !35
  %81 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 9
  %82 = load i32, ptr %81, align 4, !tbaa !35
  %83 = call noundef i32 @_ZN8nvinfer16plugin4bert14getElementSizeENS_8DataTypeE(i32 noundef %82) #5
  %84 = zext i32 %83 to i64
  %85 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 13
  store i64 %84, ptr %85, align 8, !tbaa !34
  %86 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 7
  %87 = load ptr, ptr %12, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 9
  %89 = load i32, ptr %88, align 4, !tbaa !35
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 8 dereferenceable(24) %87, i32 noundef %89)
          to label %90 unwind label %66

90:                                               ; preds = %78
  %91 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 6
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 9
  %94 = load i32, ptr %93, align 4, !tbaa !35
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef nonnull align 8 dereferenceable(24) %92, i32 noundef %94)
          to label %95 unwind label %66

95:                                               ; preds = %90
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %96, i32 0, i32 1
  %98 = load ptr, ptr %97, align 8, !tbaa !36
  %99 = icmp ne ptr %98, null
  %100 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 10
  %101 = zext i1 %99 to i8
  store i8 %101, ptr %100, align 8, !tbaa !33
  %102 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 10
  %103 = load i8, ptr %102, align 8, !tbaa !33, !range !37, !noundef !38
  %104 = trunc i8 %103 to i1
  br i1 %104, label %105, label %111

105:                                              ; preds = %95
  %106 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 12
  %107 = load ptr, ptr %14, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 9
  %109 = load i32, ptr %108, align 4, !tbaa !35
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %107, i32 noundef %109)
          to label %110 unwind label %66

110:                                              ; preds = %105
  br label %111

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

117:                                              ; preds = %111
  %118 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 3
  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 %66

119:                                              ; preds = %117
  %120 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 7
  %121 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 7
  %122 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 9
  %123 = load i32, ptr %122, align 4, !tbaa !35
  %124 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %121, i32 noundef %123)
          to label %125 unwind label %66

125:                                              ; preds = %119
  %126 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 4
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %124, ptr noundef nonnull align 8 dereferenceable(8) %126)
          to label %127 unwind label %66

127:                                              ; preds = %125
  %128 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 10
  %129 = load i8, ptr %128, align 8, !tbaa !33, !range !37, !noundef !38
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %140

131:                                              ; preds = %127
  %132 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 12
  %133 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 12
  %134 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 9
  %135 = load i32, ptr %134, align 4, !tbaa !35
  %136 = invoke noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %133, i32 noundef %135)
          to label %137 unwind label %66

137:                                              ; preds = %131
  %138 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormPluginDynamic", ptr %17, i32 0, i32 11
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %136, ptr noundef nonnull align 8 dereferenceable(8) %138)
          to label %139 unwind label %66

139:                                              ; preds = %137
  br label %140

140:                                              ; preds = %139, %127
  ret void

141:                                              ; preds = %66, %62
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  br label %142

142:                                              ; preds = %141, %58
  call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  br label %143

143:                                              ; preds = %142, %54
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  br label %144

144:                                              ; preds = %143, %50
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br label %145

145:                                              ; preds = %144
  %146 = load ptr, ptr %15, align 8
  %147 = load i32, ptr %16, align 4
  %148 = insertvalue { ptr, i32 } poison, ptr %146, 0
  %149 = insertvalue { ptr, i32 } %148, i32 %147, 1
  resume { ptr, i32 } %149
}

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

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

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

; 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 nounwind uwtable
declare dso_local void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { 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 #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 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !22, i64 88}
!16 = !{!"_ZTSN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE", !17, i64 0, !20, i64 8, !20, i64 40, !23, i64 72, !23, i64 80, !22, i64 88, !29, i64 96, !29, i64 120, !10, i64 144, !10, i64 148, !31, i64 152, !23, i64 160, !29, i64 168, !22, i64 192}
!17 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !18, i64 0}
!18 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !19, i64 0}
!19 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !26, i64 0}
!26 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !27, i64 0}
!27 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !28, i64 0}
!28 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !6, i64 0}
!29 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !30, i64 0}
!30 = !{!"_ZTSN8nvinfer17WeightsE", !10, i64 0, !6, i64 8, !22, i64 16}
!31 = !{!"bool", !7, i64 0}
!32 = !{!16, !10, i64 144}
!33 = !{!16, !31, i64 152}
!34 = !{!16, !22, i64 192}
!35 = !{!16, !10, i64 148}
!36 = !{!30, !6, i64 8}
!37 = !{i8 0, i8 2}
!38 = !{}


; 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.5 = external hidden unnamed_addr constant [112 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN8nvinfer119IPluginV2DynamicExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  store ptr getelementptr inbounds inrange(-16, 240) (i8, ptr @_ZTVN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE, i64 16), ptr %0, align 8, !tbaa !5
  %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 %25

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr null) #5
  %12 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr null) #5
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  %14 = sext i32 %3 to i64
  store i64 %14, ptr %13, align 8, !tbaa !8
  %15 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16)
  %17 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 %2, ptr %17, align 8, !tbaa !28
  %18 = getelementptr inbounds i8, ptr %0, i64 152
  store i8 0, ptr %18, align 8, !tbaa !29
  %19 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr null) #5
  %20 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20)
  %21 = getelementptr inbounds i8, ptr %0, i64 192
  store i64 0, ptr %21, align 8, !tbaa !30
  %22 = load i32, ptr %17, align 8, !tbaa !28
  %switch = icmp ult i32 %22, 3
  br i1 %switch, label %29, label %23

23:                                               ; preds = %9
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DataTypeEiRKNS_7WeightsESC_SC_, i32 noundef 60, i32 noundef 0, ptr noundef nonnull @.str.5) #6
          to label %24 unwind label %27

24:                                               ; preds = %23
  unreachable

25:                                               ; preds = %7
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %57

27:                                               ; preds = %53, %47, %44, %42, %35, %29, %23
  %28 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  tail call void @_ZN8nvinfer16plugin4bert20WeightsWithOwnershipD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  tail call void @_ZNSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %57

29:                                               ; preds = %9
  %30 = icmp eq i32 %22, 2
  %spec.select = select i1 %30, i32 1, i32 %22
  %31 = getelementptr inbounds i8, ptr %0, i64 148
  store i32 %spec.select, ptr %31, align 4, !tbaa !31
  %32 = tail call noundef i32 @_ZN8nvinfer16plugin4bert14getElementSizeENS_8DataTypeE(i32 noundef %spec.select) #5
  %33 = zext i32 %32 to i64
  store i64 %33, ptr %21, align 8, !tbaa !30
  %34 = load i32, ptr %31, align 4, !tbaa !31
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef %34)
          to label %35 unwind label %27

35:                                               ; preds = %29
  %36 = load i32, ptr %31, align 4, !tbaa !31
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %36)
          to label %37 unwind label %27

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %6, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !32
  %40 = icmp ne ptr %39, null
  %41 = zext i1 %40 to i8
  store i8 %41, ptr %18, align 8, !tbaa !29
  br i1 %40, label %42, label %44

42:                                               ; preds = %37
  %43 = load i32, ptr %31, align 4, !tbaa !31
  invoke void @_ZN8nvinfer16plugin4bert20WeightsWithOwnership14convertAndCopyERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %43)
          to label %44 unwind label %27

44:                                               ; preds = %42, %37
  %45 = load i32, ptr %31, align 4, !tbaa !31
  %46 = tail call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef %45)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %46, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %47 unwind label %27

47:                                               ; preds = %44
  %48 = load i32, ptr %31, align 4, !tbaa !31
  %49 = tail call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef %48)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %49, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %50 unwind label %27

50:                                               ; preds = %47
  %51 = load i8, ptr %18, align 8, !tbaa !29, !range !33, !noundef !34
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %56

53:                                               ; preds = %50
  %54 = load i32, ptr %31, align 4, !tbaa !31
  %55 = tail call noundef i64 @_ZN8nvinfer16plugin4bert14getWeightsSizeERKNS_7WeightsENS_8DataTypeE(ptr noundef nonnull align 8 dereferenceable(24) %20, i32 noundef %54)
  invoke void @_ZN8nvinfer16plugin4bert12copyToDeviceIvEEvRNS1_20WeightsWithOwnershipEmRSt10unique_ptrIT_NS_14pluginInternal11CudaDeleterIS6_EEE(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %55, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %56 unwind label %27

56:                                               ; preds = %53, %50
  ret void

57:                                               ; preds = %27, %25
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %26, %25 ]
  tail call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  resume { ptr, i32 } %.pn
}

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

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

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

; 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 nounwind uwtable
declare dso_local void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { 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 #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 = { nounwind }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !17, i64 88}
!9 = !{!"_ZTSN8nvinfer16plugin4bert26SkipLayerNormPluginDynamicE", !10, i64 0, !13, i64 8, !13, i64 40, !18, i64 72, !18, i64 80, !17, i64 88, !24, i64 96, !24, i64 120, !26, i64 144, !26, i64 148, !27, i64 152, !18, i64 160, !24, i64 168, !17, i64 192}
!10 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !11, i64 0}
!11 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !12, i64 0}
!12 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !17, i64 8, !16, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!15 = !{!"any pointer", !16, i64 0}
!16 = !{!"omnipotent char", !7, i64 0}
!17 = !{!"long", !16, i64 0}
!18 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !21, i64 0}
!21 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !23, i64 0}
!23 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !15, i64 0}
!24 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !25, i64 0}
!25 = !{!"_ZTSN8nvinfer17WeightsE", !26, i64 0, !15, i64 8, !17, i64 16}
!26 = !{!"_ZTSN8nvinfer18DataTypeE", !16, i64 0}
!27 = !{!"bool", !16, i64 0}
!28 = !{!9, !26, i64 144}
!29 = !{!9, !27, i64 152}
!30 = !{!9, !17, i64 192}
!31 = !{!9, !26, i64 148}
!32 = !{!25, !15, i64 8}
!33 = !{i8 0, i8 2}
!34 = !{}


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