; 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.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] }
%"struct.nvinfer1::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin" = 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::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 }

@.str = external hidden unnamed_addr constant [106 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [128 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr)

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

declare void @__cxa_end_catch()

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8nvinfer16plugin4bert6volumeERKNS_6Dims64E(ptr noundef nonnull align 8 dereferenceable(72)) #5

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

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

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

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

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

declare noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb1EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef) #6

declare noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb0EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #7

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN8nvinfer16plugin4bert28SkipLayerNormVarSeqlenPlugin7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %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 i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %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 ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  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
  %44 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 -1, ptr %15, align 4, !tbaa !9
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %56

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

50:                                               ; preds = %47
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %56

53:                                               ; preds = %50
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = icmp ne ptr %54, null
  br i1 %55, label %62, label %56

56:                                               ; preds = %53, %50, %47, %7
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 780, i32 noundef 0, ptr noundef @.str.30) #9
          to label %57 unwind label %58

57:                                               ; preds = %56
  unreachable

58:                                               ; preds = %56
  %59 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %16, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %17, align 4
  br label %303

62:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %63, i64 0
  %65 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %64, i32 0, i32 0
  %66 = invoke noundef i64 @_ZN8nvinfer16plugin4bert6volumeERKNS_6Dims64E(ptr noundef nonnull align 8 dereferenceable(72) %65)
          to label %67 unwind label %77

67:                                               ; preds = %62
  %68 = trunc i64 %66 to i32
  store i32 %68, ptr %18, align 4, !tbaa !9
  %69 = load i32, ptr %18, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 5
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = urem i64 %70, %72
  %74 = icmp eq i64 %73, 0
  br i1 %74, label %81, label %75

75:                                               ; preds = %67
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 783, i32 noundef 0, ptr noundef @.str.60) #9
          to label %76 unwind label %77

76:                                               ; preds = %75
  unreachable

77:                                               ; preds = %75, %62
  %78 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %16, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %17, align 4
  br label %302

81:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 8, !tbaa !29
  store i32 %84, ptr %19, align 4, !tbaa !34
  %85 = load i32, ptr %19, align 4, !tbaa !34
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %87, label %139

87:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = getelementptr inbounds ptr, ptr %88, i64 0
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  store ptr %90, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = getelementptr inbounds ptr, ptr %91, i64 1
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  store ptr %93, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds ptr, ptr %94, i64 0
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  store ptr %96, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %97 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 11
  %98 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %97) #8
  store ptr %98, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %99 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 4
  %100 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %99) #8
  store ptr %100, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %101 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 3
  %102 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %101) #8
  store ptr %102, ptr %25, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 10
  %104 = load i8, ptr %103, align 8, !tbaa !35, !range !36, !noundef !37
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %124

106:                                              ; preds = %87
  %107 = load ptr, ptr %14, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 5
  %109 = load i64, ptr %108, align 8, !tbaa !11
  %110 = trunc i64 %109 to i32
  %111 = load i32, ptr %18, align 4, !tbaa !9
  %112 = load ptr, ptr %20, align 8, !tbaa !5
  %113 = load ptr, ptr %21, align 8, !tbaa !5
  %114 = load ptr, ptr %24, align 8, !tbaa !5
  %115 = load ptr, ptr %25, align 8, !tbaa !5
  %116 = load ptr, ptr %22, align 8, !tbaa !5
  %117 = load ptr, ptr %23, align 8, !tbaa !5
  %118 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb1EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef %107, i32 noundef %110, i32 noundef %111, ptr noundef %112, ptr noundef %113, ptr noundef %114, ptr noundef %115, ptr noundef %116, ptr noundef %117)
          to label %119 unwind label %120

119:                                              ; preds = %106
  store i32 %118, ptr %15, align 4, !tbaa !9
  br label %138

120:                                              ; preds = %124, %106
  %121 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %16, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %301

124:                                              ; preds = %87
  %125 = load ptr, ptr %14, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 5
  %127 = load i64, ptr %126, align 8, !tbaa !11
  %128 = trunc i64 %127 to i32
  %129 = load i32, ptr %18, align 4, !tbaa !9
  %130 = load ptr, ptr %20, align 8, !tbaa !5
  %131 = load ptr, ptr %21, align 8, !tbaa !5
  %132 = load ptr, ptr %24, align 8, !tbaa !5
  %133 = load ptr, ptr %25, align 8, !tbaa !5
  %134 = load ptr, ptr %22, align 8, !tbaa !5
  %135 = load ptr, ptr %23, align 8, !tbaa !5
  %136 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb0EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef %125, i32 noundef %128, i32 noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef %135)
          to label %137 unwind label %120

137:                                              ; preds = %124
  store i32 %136, ptr %15, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %137, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %300

139:                                              ; preds = %81
  %140 = load i32, ptr %19, align 4, !tbaa !34
  %141 = icmp eq i32 %140, 1
  br i1 %141, label %142, label %194

142:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds ptr, ptr %143, i64 0
  %145 = load ptr, ptr %144, align 8, !tbaa !5
  store ptr %145, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %146 = load ptr, ptr %11, align 8, !tbaa !5
  %147 = getelementptr inbounds ptr, ptr %146, i64 1
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  store ptr %148, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = getelementptr inbounds ptr, ptr %149, i64 0
  %151 = load ptr, ptr %150, align 8, !tbaa !5
  store ptr %151, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %152 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 11
  %153 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %152) #8
  store ptr %153, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %154 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 4
  %155 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %154) #8
  store ptr %155, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %156 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 3
  %157 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %156) #8
  store ptr %157, ptr %31, align 8, !tbaa !5
  %158 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 10
  %159 = load i8, ptr %158, align 8, !tbaa !35, !range !36, !noundef !37
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %179

161:                                              ; preds = %142
  %162 = load ptr, ptr %14, align 8, !tbaa !5
  %163 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 5
  %164 = load i64, ptr %163, align 8, !tbaa !11
  %165 = trunc i64 %164 to i32
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = load ptr, ptr %26, align 8, !tbaa !5
  %168 = load ptr, ptr %27, align 8, !tbaa !5
  %169 = load ptr, ptr %30, align 8, !tbaa !5
  %170 = load ptr, ptr %31, align 8, !tbaa !5
  %171 = load ptr, ptr %28, align 8, !tbaa !5
  %172 = load ptr, ptr %29, align 8, !tbaa !5
  %173 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb1EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef %162, i32 noundef %165, i32 noundef %166, ptr noundef %167, ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171, ptr noundef %172)
          to label %174 unwind label %175

174:                                              ; preds = %161
  store i32 %173, ptr %15, align 4, !tbaa !9
  br label %193

175:                                              ; preds = %179, %161
  %176 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %16, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %301

179:                                              ; preds = %142
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 5
  %182 = load i64, ptr %181, align 8, !tbaa !11
  %183 = trunc i64 %182 to i32
  %184 = load i32, ptr %18, align 4, !tbaa !9
  %185 = load ptr, ptr %26, align 8, !tbaa !5
  %186 = load ptr, ptr %27, align 8, !tbaa !5
  %187 = load ptr, ptr %30, align 8, !tbaa !5
  %188 = load ptr, ptr %31, align 8, !tbaa !5
  %189 = load ptr, ptr %28, align 8, !tbaa !5
  %190 = load ptr, ptr %29, align 8, !tbaa !5
  %191 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb0EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef %180, i32 noundef %183, i32 noundef %184, ptr noundef %185, ptr noundef %186, ptr noundef %187, ptr noundef %188, ptr noundef %189, ptr noundef %190)
          to label %192 unwind label %175

192:                                              ; preds = %179
  store i32 %191, ptr %15, align 4, !tbaa !9
  br label %193

193:                                              ; preds = %192, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %299

194:                                              ; preds = %139
  %195 = load i32, ptr %19, align 4, !tbaa !34
  %196 = icmp eq i32 %195, 2
  br i1 %196, label %197, label %281

197:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %198, i64 0
  %200 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %199, i32 0, i32 3
  %201 = load float, ptr %200, align 8, !tbaa !38
  store float %201, ptr %32, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %202 = load ptr, ptr %9, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %202, i64 1
  %204 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %203, i32 0, i32 3
  %205 = load float, ptr %204, align 8, !tbaa !38
  store float %205, ptr %33, align 4, !tbaa !39
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %206, i64 0
  %208 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %207, i32 0, i32 3
  %209 = load float, ptr %208, align 8, !tbaa !38
  %210 = fcmp une float %209, 0.000000e+00
  br i1 %210, label %217, label %211

211:                                              ; preds = %197
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 830, i32 noundef 0, ptr noundef @.str.31) #9
          to label %212 unwind label %213

212:                                              ; preds = %211
  unreachable

213:                                              ; preds = %211
  %214 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %16, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %17, align 4
  br label %280

217:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %218 = load ptr, ptr %10, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %218, i64 0
  %220 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %219, i32 0, i32 3
  %221 = load float, ptr %220, align 8, !tbaa !38
  %222 = fdiv float 1.000000e+00, %221
  store float %222, ptr %34, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = getelementptr inbounds ptr, ptr %223, i64 0
  %225 = load ptr, ptr %224, align 8, !tbaa !5
  store ptr %225, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = getelementptr inbounds ptr, ptr %226, i64 1
  %228 = load ptr, ptr %227, align 8, !tbaa !5
  store ptr %228, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %229 = load ptr, ptr %12, align 8, !tbaa !5
  %230 = getelementptr inbounds ptr, ptr %229, i64 0
  %231 = load ptr, ptr %230, align 8, !tbaa !5
  store ptr %231, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %232 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 11
  %233 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %232) #8
  store ptr %233, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %234 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 4
  %235 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %234) #8
  store ptr %235, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %236 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 3
  %237 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %236) #8
  store ptr %237, ptr %40, align 8, !tbaa !5
  %238 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 10
  %239 = load i8, ptr %238, align 8, !tbaa !35, !range !36, !noundef !37
  %240 = trunc i8 %239 to i1
  br i1 %240, label %241, label %262

241:                                              ; preds = %217
  %242 = load ptr, ptr %14, align 8, !tbaa !5
  %243 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 5
  %244 = load i64, ptr %243, align 8, !tbaa !11
  %245 = trunc i64 %244 to i32
  %246 = load i32, ptr %18, align 4, !tbaa !9
  %247 = load ptr, ptr %35, align 8, !tbaa !5
  %248 = load ptr, ptr %36, align 8, !tbaa !5
  %249 = load ptr, ptr %39, align 8, !tbaa !5
  %250 = load ptr, ptr %40, align 8, !tbaa !5
  %251 = load ptr, ptr %37, align 8, !tbaa !5
  %252 = load ptr, ptr %38, align 8, !tbaa !5
  %253 = load float, ptr %32, align 4, !tbaa !39
  %254 = load float, ptr %33, align 4, !tbaa !39
  %255 = load float, ptr %34, align 4, !tbaa !39
  %256 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb1EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %242, i32 noundef %245, i32 noundef %246, ptr noundef %247, ptr noundef %248, ptr noundef %249, ptr noundef %250, ptr noundef %251, ptr noundef %252, float noundef %253, float noundef %254, float noundef %255)
          to label %257 unwind label %258

257:                                              ; preds = %241
  store i32 %256, ptr %15, align 4, !tbaa !9
  br label %279

258:                                              ; preds = %262, %241
  %259 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %16, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %280

262:                                              ; preds = %217
  %263 = load ptr, ptr %14, align 8, !tbaa !5
  %264 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPlugin", ptr %44, i32 0, i32 5
  %265 = load i64, ptr %264, align 8, !tbaa !11
  %266 = trunc i64 %265 to i32
  %267 = load i32, ptr %18, align 4, !tbaa !9
  %268 = load ptr, ptr %35, align 8, !tbaa !5
  %269 = load ptr, ptr %36, align 8, !tbaa !5
  %270 = load ptr, ptr %39, align 8, !tbaa !5
  %271 = load ptr, ptr %40, align 8, !tbaa !5
  %272 = load ptr, ptr %37, align 8, !tbaa !5
  %273 = load ptr, ptr %38, align 8, !tbaa !5
  %274 = load float, ptr %32, align 4, !tbaa !39
  %275 = load float, ptr %33, align 4, !tbaa !39
  %276 = load float, ptr %34, align 4, !tbaa !39
  %277 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb0EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %263, i32 noundef %266, i32 noundef %267, ptr noundef %268, ptr noundef %269, ptr noundef %270, ptr noundef %271, ptr noundef %272, ptr noundef %273, float noundef %274, float noundef %275, float noundef %276)
          to label %278 unwind label %258

278:                                              ; preds = %262
  store i32 %277, ptr %15, align 4, !tbaa !9
  br label %279

279:                                              ; preds = %278, %257
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %298

280:                                              ; preds = %258, %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %301

281:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #8
  %282 = load i32, ptr %19, align 4, !tbaa !34
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %42, i32 noundef %282) #8
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef @.str.32, ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %283 unwind label %289

283:                                              ; preds = %281
  %284 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  %285 = icmp ne ptr %284, null
  %286 = xor i1 %285, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  br i1 %286, label %287, label %297

287:                                              ; preds = %283
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 853, i32 noundef 0, ptr noundef @.str.61) #9
          to label %288 unwind label %293

288:                                              ; preds = %287
  unreachable

289:                                              ; preds = %281
  %290 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %16, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  br label %301

293:                                              ; preds = %287
  %294 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %16, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %17, align 4
  br label %301

297:                                              ; preds = %283
  br label %298

298:                                              ; preds = %297, %279
  br label %299

299:                                              ; preds = %298, %193
  br label %300

300:                                              ; preds = %299, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %313

301:                                              ; preds = %293, %289, %280, %175, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %302

302:                                              ; preds = %301, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %303

303:                                              ; preds = %302, %58
  %304 = load i32, ptr %17, align 4
  %305 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %306 = icmp eq i32 %304, %305
  br i1 %306, label %307, label %318

307:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %308 = load ptr, ptr %16, align 8
  %309 = call ptr @__cxa_begin_catch(ptr %308) #8
  store ptr %309, ptr %43, align 8
  %310 = load ptr, ptr %43, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %310)
          to label %311 unwind label %315

311:                                              ; preds = %307
  invoke void @__cxa_end_catch()
          to label %312 unwind label %315

312:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %313

313:                                              ; preds = %312, %300
  %314 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  ret i32 %314

315:                                              ; preds = %311, %307
  %316 = landingpad { ptr, i32 }
          catch ptr null
  %317 = extractvalue { ptr, i32 } %316, 0
  call void @__clang_call_terminate(ptr %317) #10
  unreachable

318:                                              ; preds = %303
  %319 = load ptr, ptr %16, align 8
  call void @__clang_call_terminate(ptr %319) #10
  unreachable
}

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind memory(none) }
attributes #4 = { 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 #5 = { 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 #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 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }
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 = !{!"int", !7, i64 0}
!11 = !{!12, !18, i64 88}
!12 = !{!"_ZTSN8nvinfer16plugin4bert28SkipLayerNormVarSeqlenPluginE", !13, i64 0, !16, i64 8, !16, i64 40, !19, i64 72, !19, i64 80, !18, i64 88, !25, i64 96, !25, i64 120, !27, i64 144, !27, i64 148, !28, i64 152, !19, i64 160, !25, i64 168, !18, i64 192}
!13 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !15, i64 0}
!15 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !6, i64 0}
!25 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !26, i64 0}
!26 = !{!"_ZTSN8nvinfer17WeightsE", !27, i64 0, !6, i64 8, !18, i64 16}
!27 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!28 = !{!"bool", !7, i64 0}
!29 = !{!30, !27, i64 72}
!30 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !31, i64 0, !27, i64 72, !32, i64 76, !33, i64 80}
!31 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!32 = !{!"_ZTSN8nvinfer112TensorFormatE", !7, i64 0}
!33 = !{!"float", !7, i64 0}
!34 = !{!27, !27, i64 0}
!35 = !{!12, !28, i64 152}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!30, !33, i64 80}
!39 = !{!33, !33, i64 0}


; 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.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] }

@.str = external hidden unnamed_addr constant [106 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [128 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8nvinfer16plugin4bert6volumeERKNS_6Dims64E(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #5

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

declare noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb1EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb0EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb1EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb0EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb1EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef) local_unnamed_addr #6

declare noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb0EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN8nvinfer16plugin4bert28SkipLayerNormVarSeqlenPlugin7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1, ptr noundef readonly %2, ptr noundef readonly %3, ptr noundef readonly %4, ptr nocapture noundef readnone %5, ptr noundef %6) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = insertelement <4 x ptr> poison, ptr %1, i64 0
  %11 = insertelement <4 x ptr> %10, ptr %2, i64 1
  %12 = insertelement <4 x ptr> %11, ptr %3, i64 2
  %13 = insertelement <4 x ptr> %12, ptr %4, i64 3
  %14 = icmp eq <4 x ptr> %13, zeroinitializer
  %15 = bitcast <4 x i1> %14 to i4
  %16 = icmp eq i4 %15, 0
  br i1 %16, label %21, label %17

17:                                               ; preds = %7
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 780, i32 noundef 0, ptr noundef nonnull @.str.30) #8
          to label %18 unwind label %19

18:                                               ; preds = %17
  unreachable

19:                                               ; preds = %17
  %20 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %125

21:                                               ; preds = %7
  %22 = invoke noundef i64 @_ZN8nvinfer16plugin4bert6volumeERKNS_6Dims64E(ptr noundef nonnull align 8 dereferenceable(72) %1)
          to label %23 unwind label %32

23:                                               ; preds = %21
  %24 = trunc i64 %22 to i32
  %sext = shl i64 %22, 32
  %25 = ashr exact i64 %sext, 32
  %26 = getelementptr inbounds i8, ptr %0, i64 88
  %27 = load i64, ptr %26, align 8, !tbaa !5
  %28 = urem i64 %25, %27
  %29 = icmp eq i64 %28, 0
  br i1 %29, label %34, label %30

30:                                               ; preds = %23
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 783, i32 noundef 0, ptr noundef nonnull @.str.60) #8
          to label %31 unwind label %32

31:                                               ; preds = %30
  unreachable

32:                                               ; preds = %30, %21
  %33 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %125

34:                                               ; preds = %23
  %35 = getelementptr inbounds i8, ptr %1, i64 72
  %36 = load i32, ptr %35, align 8, !tbaa !26
  switch i32 %36, label %116 [
    i32 0, label %37
    i32 1, label %59
    i32 2, label %81
  ]

37:                                               ; preds = %34
  %38 = load ptr, ptr %3, align 8, !tbaa !32
  %39 = getelementptr inbounds i8, ptr %3, i64 8
  %40 = load ptr, ptr %39, align 8, !tbaa !32
  %41 = load ptr, ptr %4, align 8, !tbaa !32
  %42 = getelementptr inbounds i8, ptr %0, i64 160
  %43 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #9
  %44 = getelementptr inbounds i8, ptr %0, i64 80
  %45 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  %46 = getelementptr inbounds i8, ptr %0, i64 72
  %47 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #9
  %48 = getelementptr inbounds i8, ptr %0, i64 152
  %49 = load i8, ptr %48, align 8, !tbaa !33, !range !34, !noundef !35
  %50 = trunc nuw i8 %49 to i1
  %51 = load i64, ptr %26, align 8, !tbaa !5
  %52 = trunc i64 %51 to i32
  br i1 %50, label %53, label %57

53:                                               ; preds = %37
  %54 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb1EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef %6, i32 noundef %52, i32 noundef %24, ptr noundef %38, ptr noundef %40, ptr noundef %45, ptr noundef %47, ptr noundef %41, ptr noundef %43)
          to label %131 unwind label %55

55:                                               ; preds = %57, %53
  %56 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %125

57:                                               ; preds = %37
  %58 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb0EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef %6, i32 noundef %52, i32 noundef %24, ptr noundef %38, ptr noundef %40, ptr noundef %45, ptr noundef %47, ptr noundef %41, ptr noundef %43)
          to label %131 unwind label %55

59:                                               ; preds = %34
  %60 = load ptr, ptr %3, align 8, !tbaa !32
  %61 = getelementptr inbounds i8, ptr %3, i64 8
  %62 = load ptr, ptr %61, align 8, !tbaa !32
  %63 = load ptr, ptr %4, align 8, !tbaa !32
  %64 = getelementptr inbounds i8, ptr %0, i64 160
  %65 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #9
  %66 = getelementptr inbounds i8, ptr %0, i64 80
  %67 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #9
  %68 = getelementptr inbounds i8, ptr %0, i64 72
  %69 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %68) #9
  %70 = getelementptr inbounds i8, ptr %0, i64 152
  %71 = load i8, ptr %70, align 8, !tbaa !33, !range !34, !noundef !35
  %72 = trunc nuw i8 %71 to i1
  %73 = load i64, ptr %26, align 8, !tbaa !5
  %74 = trunc i64 %73 to i32
  br i1 %72, label %75, label %79

75:                                               ; preds = %59
  %76 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb1EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef %6, i32 noundef %74, i32 noundef %24, ptr noundef %60, ptr noundef %62, ptr noundef %67, ptr noundef %69, ptr noundef %63, ptr noundef %65)
          to label %131 unwind label %77

77:                                               ; preds = %79, %75
  %78 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %125

79:                                               ; preds = %59
  %80 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb0EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef %6, i32 noundef %74, i32 noundef %24, ptr noundef %60, ptr noundef %62, ptr noundef %67, ptr noundef %69, ptr noundef %63, ptr noundef %65)
          to label %131 unwind label %77

81:                                               ; preds = %34
  %82 = getelementptr inbounds i8, ptr %1, i64 80
  %83 = load float, ptr %82, align 8, !tbaa !36
  %84 = getelementptr inbounds i8, ptr %1, i64 168
  %85 = load float, ptr %84, align 8, !tbaa !36
  %86 = getelementptr inbounds i8, ptr %2, i64 80
  %87 = load float, ptr %86, align 8, !tbaa !36
  %88 = fcmp une float %87, 0.000000e+00
  br i1 %88, label %93, label %89

89:                                               ; preds = %81
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 830, i32 noundef 0, ptr noundef nonnull @.str.31) #8
          to label %90 unwind label %91

90:                                               ; preds = %89
  unreachable

91:                                               ; preds = %89
  %92 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %125

93:                                               ; preds = %81
  %94 = fdiv float 1.000000e+00, %87
  %95 = load ptr, ptr %3, align 8, !tbaa !32
  %96 = getelementptr inbounds i8, ptr %3, i64 8
  %97 = load ptr, ptr %96, align 8, !tbaa !32
  %98 = load ptr, ptr %4, align 8, !tbaa !32
  %99 = getelementptr inbounds i8, ptr %0, i64 160
  %100 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %99) #9
  %101 = getelementptr inbounds i8, ptr %0, i64 80
  %102 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %101) #9
  %103 = getelementptr inbounds i8, ptr %0, i64 72
  %104 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %103) #9
  %105 = getelementptr inbounds i8, ptr %0, i64 152
  %106 = load i8, ptr %105, align 8, !tbaa !33, !range !34, !noundef !35
  %107 = trunc nuw i8 %106 to i1
  %108 = load i64, ptr %26, align 8, !tbaa !5
  %109 = trunc i64 %108 to i32
  br i1 %107, label %110, label %114

110:                                              ; preds = %93
  %111 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb1EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %6, i32 noundef %109, i32 noundef %24, ptr noundef %95, ptr noundef %97, ptr noundef %102, ptr noundef %104, ptr noundef %98, ptr noundef %100, float noundef %83, float noundef %85, float noundef %94)
          to label %131 unwind label %112

112:                                              ; preds = %114, %110
  %113 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %125

114:                                              ; preds = %93
  %115 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb0EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %6, i32 noundef %109, i32 noundef %24, ptr noundef %95, ptr noundef %97, ptr noundef %102, ptr noundef %104, ptr noundef %98, ptr noundef %100, float noundef %83, float noundef %85, float noundef %94)
          to label %131 unwind label %112

116:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, i32 noundef %36) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull @.str.32, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %117 unwind label %121

117:                                              ; preds = %116
  %118 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  %.not = icmp eq ptr %118, null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br i1 %.not, label %119, label %131

119:                                              ; preds = %117
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert26SkipLayerNormPluginDynamic7enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 853, i32 noundef 0, ptr noundef nonnull @.str.61) #8
          to label %120 unwind label %123

120:                                              ; preds = %119
  unreachable

121:                                              ; preds = %116
  %122 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %125

123:                                              ; preds = %119
  %124 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %125

125:                                              ; preds = %32, %91, %112, %123, %121, %77, %55, %19
  %.pn103.pn.pn = phi { ptr, i32 } [ %20, %19 ], [ %33, %32 ], [ %56, %55 ], [ %78, %77 ], [ %124, %123 ], [ %122, %121 ], [ %113, %112 ], [ %92, %91 ]
  %.391 = extractvalue { ptr, i32 } %.pn103.pn.pn, 0
  %.395 = extractvalue { ptr, i32 } %.pn103.pn.pn, 1
  %126 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %127 = icmp eq i32 %.395, %126
  br i1 %127, label %128, label %135

128:                                              ; preds = %125
  %129 = call ptr @__cxa_begin_catch(ptr %.391) #9
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %129)
          to label %130 unwind label %132

130:                                              ; preds = %128
  invoke void @__cxa_end_catch()
          to label %131 unwind label %132

131:                                              ; preds = %130, %117, %57, %53, %79, %75, %114, %110
  %.4 = phi i32 [ -1, %117 ], [ %54, %53 ], [ %58, %57 ], [ %76, %75 ], [ %80, %79 ], [ %111, %110 ], [ %115, %114 ], [ -1, %130 ]
  ret i32 %.4

132:                                              ; preds = %130, %128
  %133 = landingpad { ptr, i32 }
          catch ptr null
  %134 = extractvalue { ptr, i32 } %133, 0
  call void @__clang_call_terminate(ptr %134) #10
  unreachable

135:                                              ; preds = %125
  call void @__clang_call_terminate(ptr %.391) #10
  unreachable
}

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree nosync nounwind memory(none) }
attributes #4 = { 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 #5 = { 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 #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 = { 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 #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, !15, i64 88}
!6 = !{!"_ZTSN8nvinfer16plugin4bert28SkipLayerNormVarSeqlenPluginE", !7, i64 0, !10, i64 8, !10, i64 40, !16, i64 72, !16, i64 80, !15, i64 88, !22, i64 96, !22, i64 120, !24, i64 144, !24, i64 148, !25, i64 152, !16, i64 160, !22, i64 168, !15, i64 192}
!7 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !8, i64 0}
!8 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !9, i64 0}
!9 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !15, i64 8, !13, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"long", !13, i64 0}
!16 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !19, i64 0}
!19 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !20, i64 0}
!20 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !21, i64 0}
!21 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !12, i64 0}
!22 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !23, i64 0}
!23 = !{!"_ZTSN8nvinfer17WeightsE", !24, i64 0, !12, i64 8, !15, i64 16}
!24 = !{!"_ZTSN8nvinfer18DataTypeE", !13, i64 0}
!25 = !{!"bool", !13, i64 0}
!26 = !{!27, !24, i64 72}
!27 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !28, i64 0, !24, i64 72, !30, i64 76, !31, i64 80}
!28 = !{!"_ZTSN8nvinfer16Dims64E", !29, i64 0, !13, i64 8}
!29 = !{!"int", !13, i64 0}
!30 = !{!"_ZTSN8nvinfer112TensorFormatE", !13, i64 0}
!31 = !{!"float", !13, i64 0}
!32 = !{!12, !12, i64 0}
!33 = !{!6, !25, i64 152}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!27, !31, i64 80}


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