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

; 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::SkipLayerNormVarSeqlenPluginV3" = type { %"class.nvinfer1::v_1_0::IPluginV3", %"class.nvinfer1::v_1_0::IPluginV3OneCore", %"class.nvinfer1::v_1_0::IPluginV3OneBuild", %"class.nvinfer1::v_1_0::IPluginV3OneRuntime", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::unique_ptr", %"class.std::unique_ptr", i32, %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", i32, i32, i8, %"class.std::unique_ptr", %"struct.nvinfer1::plugin::bert::WeightsWithOwnership", i64, %"class.std::vector", %"struct.nvinfer1::PluginFieldCollection" }
%"class.nvinfer1::v_1_0::IPluginV3" = type { %"class.nvinfer1::IVersionedInterface" }
%"class.nvinfer1::IVersionedInterface" = type { ptr }
%"class.nvinfer1::v_1_0::IPluginV3OneCore" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"class.nvinfer1::v_1_0::IPluginCapability" = type { %"class.nvinfer1::IVersionedInterface" }
%"class.nvinfer1::v_1_0::IPluginV3OneBuild" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"class.nvinfer1::v_1_0::IPluginV3OneRuntime" = type { %"class.nvinfer1::v_1_0::IPluginCapability" }
%"class.std::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 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl" = type { %"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nvinfer1::PluginField, std::allocator<nvinfer1::PluginField>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.nvinfer1::PluginFieldCollection" = type { i32, ptr }

@.str = external hidden unnamed_addr constant [100 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.64 = 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: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 @_ZN8nvinfer16plugin4bert30SkipLayerNormVarSeqlenPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st(ptr noundef nonnull align 8 dereferenceable(264) %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__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 711, i32 noundef 0, ptr noundef @.str.18) #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 %296

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 %76

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 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 8
  %71 = load i32, ptr %70, align 8, !tbaa !11
  %72 = srem i32 %69, %71
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %80, label %74

74:                                               ; preds = %67
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 714, i32 noundef 0, ptr noundef @.str.63) #9
          to label %75 unwind label %76

75:                                               ; preds = %74
  unreachable

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

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

86:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds ptr, ptr %87, i64 0
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  store ptr %89, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds ptr, ptr %90, i64 1
  %92 = load ptr, ptr %91, align 8, !tbaa !5
  store ptr %92, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = getelementptr inbounds ptr, ptr %93, i64 0
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  store ptr %95, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %96 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 14
  %97 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %96) #8
  store ptr %97, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %98 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 7
  %99 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %98) #8
  store ptr %99, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %100 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 6
  %101 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #8
  store ptr %101, ptr %25, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 13
  %103 = load i8, ptr %102, align 8, !tbaa !43, !range !44, !noundef !45
  %104 = trunc i8 %103 to i1
  br i1 %104, label %105, label %122

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

117:                                              ; preds = %105
  store i32 %116, ptr %15, align 4, !tbaa !9
  br label %135

118:                                              ; preds = %122, %105
  %119 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %16, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, 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 %294

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

134:                                              ; preds = %122
  store i32 %133, ptr %15, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %134, %117
  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 %293

136:                                              ; preds = %80
  %137 = load i32, ptr %19, align 4, !tbaa !42
  %138 = icmp eq i32 %137, 1
  br i1 %138, label %139, label %189

139:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = getelementptr inbounds ptr, ptr %140, i64 0
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  store ptr %142, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds ptr, ptr %143, i64 1
  %145 = load ptr, ptr %144, align 8, !tbaa !5
  store ptr %145, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  %147 = getelementptr inbounds ptr, ptr %146, i64 0
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  store ptr %148, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %149 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 14
  %150 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %149) #8
  store ptr %150, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %151 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 7
  %152 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %151) #8
  store ptr %152, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %153 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 6
  %154 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %153) #8
  store ptr %154, ptr %31, align 8, !tbaa !5
  %155 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 13
  %156 = load i8, ptr %155, align 8, !tbaa !43, !range !44, !noundef !45
  %157 = trunc i8 %156 to i1
  br i1 %157, label %158, label %175

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

170:                                              ; preds = %158
  store i32 %169, ptr %15, align 4, !tbaa !9
  br label %188

171:                                              ; preds = %175, %158
  %172 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %16, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, 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 %294

175:                                              ; preds = %139
  %176 = load ptr, ptr %14, align 8, !tbaa !5
  %177 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 8
  %178 = load i32, ptr %177, align 8, !tbaa !11
  %179 = load i32, ptr %18, align 4, !tbaa !9
  %180 = load ptr, ptr %26, align 8, !tbaa !5
  %181 = load ptr, ptr %27, align 8, !tbaa !5
  %182 = load ptr, ptr %30, align 8, !tbaa !5
  %183 = load ptr, ptr %31, align 8, !tbaa !5
  %184 = load ptr, ptr %28, align 8, !tbaa !5
  %185 = load ptr, ptr %29, align 8, !tbaa !5
  %186 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb0EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef %176, i32 noundef %178, i32 noundef %179, ptr noundef %180, ptr noundef %181, ptr noundef %182, ptr noundef %183, ptr noundef %184, ptr noundef %185)
          to label %187 unwind label %171

187:                                              ; preds = %175
  store i32 %186, ptr %15, align 4, !tbaa !9
  br label %188

188:                                              ; preds = %187, %170
  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 %292

189:                                              ; preds = %136
  %190 = load i32, ptr %19, align 4, !tbaa !42
  %191 = icmp eq i32 %190, 2
  br i1 %191, label %192, label %274

192:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %193 = load ptr, ptr %9, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %193, i64 0
  %195 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %194, i32 0, i32 3
  %196 = load float, ptr %195, align 8, !tbaa !46
  store float %196, ptr %32, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %197, i64 1
  %199 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %198, i32 0, i32 3
  %200 = load float, ptr %199, align 8, !tbaa !46
  store float %200, ptr %33, align 4, !tbaa !47
  %201 = load ptr, ptr %10, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %201, i64 0
  %203 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %202, i32 0, i32 3
  %204 = load float, ptr %203, align 8, !tbaa !46
  %205 = fcmp une float %204, 0.000000e+00
  br i1 %205, label %212, label %206

206:                                              ; preds = %192
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 761, i32 noundef 0, ptr noundef @.str.19) #9
          to label %207 unwind label %208

207:                                              ; preds = %206
  unreachable

208:                                              ; preds = %206
  %209 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %16, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %17, align 4
  br label %273

212:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %213 = load ptr, ptr %10, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %213, i64 0
  %215 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %214, i32 0, i32 3
  %216 = load float, ptr %215, align 8, !tbaa !46
  %217 = fdiv float 1.000000e+00, %216
  store float %217, ptr %34, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %218 = load ptr, ptr %11, align 8, !tbaa !5
  %219 = getelementptr inbounds ptr, ptr %218, i64 0
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  store ptr %220, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  %222 = getelementptr inbounds ptr, ptr %221, i64 1
  %223 = load ptr, ptr %222, align 8, !tbaa !5
  store ptr %223, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %224 = load ptr, ptr %12, align 8, !tbaa !5
  %225 = getelementptr inbounds ptr, ptr %224, i64 0
  %226 = load ptr, ptr %225, align 8, !tbaa !5
  store ptr %226, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %227 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 14
  %228 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %227) #8
  store ptr %228, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %229 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 7
  %230 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %229) #8
  store ptr %230, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %231 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 6
  %232 = call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %231) #8
  store ptr %232, ptr %40, align 8, !tbaa !5
  %233 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 13
  %234 = load i8, ptr %233, align 8, !tbaa !43, !range !44, !noundef !45
  %235 = trunc i8 %234 to i1
  br i1 %235, label %236, label %256

236:                                              ; preds = %212
  %237 = load ptr, ptr %14, align 8, !tbaa !5
  %238 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 8
  %239 = load i32, ptr %238, align 8, !tbaa !11
  %240 = load i32, ptr %18, align 4, !tbaa !9
  %241 = load ptr, ptr %35, align 8, !tbaa !5
  %242 = load ptr, ptr %36, align 8, !tbaa !5
  %243 = load ptr, ptr %39, align 8, !tbaa !5
  %244 = load ptr, ptr %40, align 8, !tbaa !5
  %245 = load ptr, ptr %37, align 8, !tbaa !5
  %246 = load ptr, ptr %38, align 8, !tbaa !5
  %247 = load float, ptr %32, align 4, !tbaa !47
  %248 = load float, ptr %33, align 4, !tbaa !47
  %249 = load float, ptr %34, align 4, !tbaa !47
  %250 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb1EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %237, i32 noundef %239, i32 noundef %240, ptr noundef %241, ptr noundef %242, ptr noundef %243, ptr noundef %244, ptr noundef %245, ptr noundef %246, float noundef %247, float noundef %248, float noundef %249)
          to label %251 unwind label %252

251:                                              ; preds = %236
  store i32 %250, ptr %15, align 4, !tbaa !9
  br label %272

252:                                              ; preds = %256, %236
  %253 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %16, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %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 %273

256:                                              ; preds = %212
  %257 = load ptr, ptr %14, align 8, !tbaa !5
  %258 = getelementptr inbounds %"class.nvinfer1::plugin::bert::SkipLayerNormVarSeqlenPluginV3", ptr %44, i32 0, i32 8
  %259 = load i32, ptr %258, align 8, !tbaa !11
  %260 = load i32, ptr %18, align 4, !tbaa !9
  %261 = load ptr, ptr %35, align 8, !tbaa !5
  %262 = load ptr, ptr %36, align 8, !tbaa !5
  %263 = load ptr, ptr %39, align 8, !tbaa !5
  %264 = load ptr, ptr %40, align 8, !tbaa !5
  %265 = load ptr, ptr %37, align 8, !tbaa !5
  %266 = load ptr, ptr %38, align 8, !tbaa !5
  %267 = load float, ptr %32, align 4, !tbaa !47
  %268 = load float, ptr %33, align 4, !tbaa !47
  %269 = load float, ptr %34, align 4, !tbaa !47
  %270 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb0EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %257, i32 noundef %259, i32 noundef %260, ptr noundef %261, ptr noundef %262, ptr noundef %263, ptr noundef %264, ptr noundef %265, ptr noundef %266, float noundef %267, float noundef %268, float noundef %269)
          to label %271 unwind label %252

271:                                              ; preds = %256
  store i32 %270, ptr %15, align 4, !tbaa !9
  br label %272

272:                                              ; preds = %271, %251
  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 %291

273:                                              ; preds = %252, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %294

274:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #8
  %275 = load i32, ptr %19, align 4, !tbaa !42
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %42, i32 noundef %275) #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.20, ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %276 unwind label %282

276:                                              ; preds = %274
  %277 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  %278 = icmp ne ptr %277, null
  %279 = xor i1 %278, 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 %279, label %280, label %290

280:                                              ; preds = %276
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 784, i32 noundef 0, ptr noundef @.str.64) #9
          to label %281 unwind label %286

281:                                              ; preds = %280
  unreachable

282:                                              ; preds = %274
  %283 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %16, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, 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 %294

286:                                              ; preds = %280
  %287 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %16, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %17, align 4
  br label %294

290:                                              ; preds = %276
  br label %291

291:                                              ; preds = %290, %272
  br label %292

292:                                              ; preds = %291, %188
  br label %293

293:                                              ; preds = %292, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %306

294:                                              ; preds = %286, %282, %273, %171, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %295

295:                                              ; preds = %294, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %296

296:                                              ; preds = %295, %58
  %297 = load i32, ptr %17, align 4
  %298 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %299 = icmp eq i32 %297, %298
  br i1 %299, label %300, label %311

300:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %301 = load ptr, ptr %16, align 8
  %302 = call ptr @__cxa_begin_catch(ptr %301) #8
  store ptr %302, ptr %43, align 8
  %303 = load ptr, ptr %43, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %303)
          to label %304 unwind label %308

304:                                              ; preds = %300
  invoke void @__cxa_end_catch()
          to label %305 unwind label %308

305:                                              ; preds = %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %306

306:                                              ; preds = %305, %293
  %307 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  ret i32 %307

308:                                              ; preds = %304, %300
  %309 = landingpad { ptr, i32 }
          catch ptr null
  %310 = extractvalue { ptr, i32 } %309, 0
  call void @__clang_call_terminate(ptr %310) #10
  unreachable

311:                                              ; preds = %296
  %312 = load ptr, ptr %16, align 8
  call void @__clang_call_terminate(ptr %312) #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, !10, i64 112}
!12 = !{!"_ZTSN8nvinfer16plugin4bert30SkipLayerNormVarSeqlenPluginV3E", !13, i64 0, !15, i64 8, !17, i64 16, !18, i64 24, !19, i64 32, !19, i64 64, !22, i64 96, !22, i64 104, !10, i64 112, !28, i64 120, !28, i64 144, !30, i64 168, !30, i64 172, !31, i64 176, !22, i64 184, !28, i64 192, !21, i64 216, !32, i64 224, !36, i64 248}
!13 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!15 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !14, i64 0}
!17 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !16, i64 0}
!18 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !16, i64 0}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !21, i64 8, !7, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_dataIvN8nvinfer114pluginInternal11CudaDeleterIvEELb1ELb1EE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_implIvN8nvinfer114pluginInternal11CudaDeleterIvEEE", !25, i64 0}
!25 = !{!"_ZTSSt5tupleIJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !26, i64 0}
!26 = !{!"_ZTSSt11_Tuple_implILm0EJPvN8nvinfer114pluginInternal11CudaDeleterIvEEEE", !27, i64 0}
!27 = !{!"_ZTSSt10_Head_baseILm0EPvLb0EE", !6, i64 0}
!28 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !29, i64 0}
!29 = !{!"_ZTSN8nvinfer17WeightsE", !30, i64 0, !6, i64 8, !21, i64 16}
!30 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !10, i64 0, !6, i64 8}
!37 = !{!38, !30, i64 72}
!38 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !39, i64 0, !30, i64 72, !40, i64 76, !41, i64 80}
!39 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!40 = !{!"_ZTSN8nvinfer112TensorFormatE", !7, i64 0}
!41 = !{!"float", !7, i64 0}
!42 = !{!30, !30, i64 0}
!43 = !{!12, !31, i64 176}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!38, !41, i64 80}
!47 = !{!41, !41, 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 [100 x i8], align 1
@_ZTISt9exception = external constant ptr
@__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.64 = 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 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 @_ZN8nvinfer16plugin4bert30SkipLayerNormVarSeqlenPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st(ptr noundef nonnull align 8 dereferenceable(264) %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__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 711, i32 noundef 0, ptr noundef nonnull @.str.18) #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 %121

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

23:                                               ; preds = %21
  %24 = trunc i64 %22 to i32
  %25 = getelementptr inbounds i8, ptr %0, i64 112
  %26 = load i32, ptr %25, align 8, !tbaa !5
  %27 = srem i32 %24, %26
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %33, label %29

29:                                               ; preds = %23
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 714, i32 noundef 0, ptr noundef nonnull @.str.63) #8
          to label %30 unwind label %31

30:                                               ; preds = %29
  unreachable

31:                                               ; preds = %29, %21
  %32 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %121

33:                                               ; preds = %23
  %34 = getelementptr inbounds i8, ptr %1, i64 72
  %35 = load i32, ptr %34, align 8, !tbaa !35
  switch i32 %35, label %112 [
    i32 0, label %36
    i32 1, label %57
    i32 2, label %78
  ]

36:                                               ; preds = %33
  %37 = load ptr, ptr %3, align 8, !tbaa !40
  %38 = getelementptr inbounds i8, ptr %3, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !40
  %40 = load ptr, ptr %4, align 8, !tbaa !40
  %41 = getelementptr inbounds i8, ptr %0, i64 184
  %42 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #9
  %43 = getelementptr inbounds i8, ptr %0, i64 104
  %44 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  %45 = getelementptr inbounds i8, ptr %0, i64 96
  %46 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #9
  %47 = getelementptr inbounds i8, ptr %0, i64 176
  %48 = load i8, ptr %47, align 8, !tbaa !41, !range !42, !noundef !43
  %49 = trunc nuw i8 %48 to i1
  %50 = load i32, ptr %25, align 8, !tbaa !5
  br i1 %49, label %51, label %55

51:                                               ; preds = %36
  %52 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb1EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef %6, i32 noundef %50, i32 noundef %24, ptr noundef %37, ptr noundef %39, ptr noundef %44, ptr noundef %46, ptr noundef %40, ptr noundef %42)
          to label %127 unwind label %53

53:                                               ; preds = %55, %51
  %54 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %121

55:                                               ; preds = %36
  %56 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormIfLb0EEEiP11CUstream_stiiPKT_S7_S7_S7_PS5_S7_(ptr noundef %6, i32 noundef %50, i32 noundef %24, ptr noundef %37, ptr noundef %39, ptr noundef %44, ptr noundef %46, ptr noundef %40, ptr noundef %42)
          to label %127 unwind label %53

57:                                               ; preds = %33
  %58 = load ptr, ptr %3, align 8, !tbaa !40
  %59 = getelementptr inbounds i8, ptr %3, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !40
  %61 = load ptr, ptr %4, align 8, !tbaa !40
  %62 = getelementptr inbounds i8, ptr %0, i64 184
  %63 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #9
  %64 = getelementptr inbounds i8, ptr %0, i64 104
  %65 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #9
  %66 = getelementptr inbounds i8, ptr %0, i64 96
  %67 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #9
  %68 = getelementptr inbounds i8, ptr %0, i64 176
  %69 = load i8, ptr %68, align 8, !tbaa !41, !range !42, !noundef !43
  %70 = trunc nuw i8 %69 to i1
  %71 = load i32, ptr %25, align 8, !tbaa !5
  br i1 %70, label %72, label %76

72:                                               ; preds = %57
  %73 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb1EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef %6, i32 noundef %71, i32 noundef %24, ptr noundef %58, ptr noundef %60, ptr noundef %65, ptr noundef %67, ptr noundef %61, ptr noundef %63)
          to label %127 unwind label %74

74:                                               ; preds = %76, %72
  %75 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %121

76:                                               ; preds = %57
  %77 = invoke noundef i32 @_ZN8nvinfer16plugin4bert20computeSkipLayerNormI6__halfLb0EEEiP11CUstream_stiiPKT_S8_S8_S8_PS6_S8_(ptr noundef %6, i32 noundef %71, i32 noundef %24, ptr noundef %58, ptr noundef %60, ptr noundef %65, ptr noundef %67, ptr noundef %61, ptr noundef %63)
          to label %127 unwind label %74

78:                                               ; preds = %33
  %79 = getelementptr inbounds i8, ptr %1, i64 80
  %80 = load float, ptr %79, align 8, !tbaa !44
  %81 = getelementptr inbounds i8, ptr %1, i64 168
  %82 = load float, ptr %81, align 8, !tbaa !44
  %83 = getelementptr inbounds i8, ptr %2, i64 80
  %84 = load float, ptr %83, align 8, !tbaa !44
  %85 = fcmp une float %84, 0.000000e+00
  br i1 %85, label %90, label %86

86:                                               ; preds = %78
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 761, i32 noundef 0, ptr noundef nonnull @.str.19) #8
          to label %87 unwind label %88

87:                                               ; preds = %86
  unreachable

88:                                               ; preds = %86
  %89 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %121

90:                                               ; preds = %78
  %91 = fdiv float 1.000000e+00, %84
  %92 = load ptr, ptr %3, align 8, !tbaa !40
  %93 = getelementptr inbounds i8, ptr %3, i64 8
  %94 = load ptr, ptr %93, align 8, !tbaa !40
  %95 = load ptr, ptr %4, align 8, !tbaa !40
  %96 = getelementptr inbounds i8, ptr %0, i64 184
  %97 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %96) #9
  %98 = getelementptr inbounds i8, ptr %0, i64 104
  %99 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %98) #9
  %100 = getelementptr inbounds i8, ptr %0, i64 96
  %101 = tail call noundef ptr @_ZNKSt10unique_ptrIvN8nvinfer114pluginInternal11CudaDeleterIvEEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #9
  %102 = getelementptr inbounds i8, ptr %0, i64 176
  %103 = load i8, ptr %102, align 8, !tbaa !41, !range !42, !noundef !43
  %104 = trunc nuw i8 %103 to i1
  %105 = load i32, ptr %25, align 8, !tbaa !5
  br i1 %104, label %106, label %110

106:                                              ; preds = %90
  %107 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb1EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %6, i32 noundef %105, i32 noundef %24, ptr noundef %92, ptr noundef %94, ptr noundef %99, ptr noundef %101, ptr noundef %95, ptr noundef %97, float noundef %80, float noundef %82, float noundef %91)
          to label %127 unwind label %108

108:                                              ; preds = %110, %106
  %109 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %121

110:                                              ; preds = %90
  %111 = invoke noundef i32 @_ZN8nvinfer16plugin4bert23computeSkipLayerNormDQQILb0EEEiP11CUstream_stiiPKaS6_PK6__halfS9_PaS9_fff(ptr noundef %6, i32 noundef %105, i32 noundef %24, ptr noundef %92, ptr noundef %94, ptr noundef %99, ptr noundef %101, ptr noundef %95, ptr noundef %97, float noundef %80, float noundef %82, float noundef %91)
          to label %127 unwind label %108

112:                                              ; preds = %33
  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 %35) #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.20, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %113 unwind label %117

113:                                              ; preds = %112
  %114 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  %.not = icmp eq ptr %114, 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 %115, label %127

115:                                              ; preds = %113
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin4bert21SkipLayerNormPluginV37enqueueEPKNS_16PluginTensorDescES5_PKPKvPKPvSA_P11CUstream_st, i32 noundef 784, i32 noundef 0, ptr noundef nonnull @.str.64) #8
          to label %116 unwind label %119

116:                                              ; preds = %115
  unreachable

117:                                              ; preds = %112
  %118 = 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 %121

119:                                              ; preds = %115
  %120 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %121

121:                                              ; preds = %31, %88, %108, %119, %117, %74, %53, %19
  %.pn103.pn.pn = phi { ptr, i32 } [ %20, %19 ], [ %32, %31 ], [ %54, %53 ], [ %75, %74 ], [ %120, %119 ], [ %118, %117 ], [ %109, %108 ], [ %89, %88 ]
  %.391 = extractvalue { ptr, i32 } %.pn103.pn.pn, 0
  %.395 = extractvalue { ptr, i32 } %.pn103.pn.pn, 1
  %122 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %123 = icmp eq i32 %.395, %122
  br i1 %123, label %124, label %131

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

126:                                              ; preds = %124
  invoke void @__cxa_end_catch()
          to label %127 unwind label %128

127:                                              ; preds = %126, %113, %55, %51, %76, %72, %110, %106
  %.4 = phi i32 [ -1, %113 ], [ %52, %51 ], [ %56, %55 ], [ %73, %72 ], [ %77, %76 ], [ %107, %106 ], [ %111, %110 ], [ -1, %126 ]
  ret i32 %.4

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

131:                                              ; preds = %121
  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, !25, i64 112}
!6 = !{!"_ZTSN8nvinfer16plugin4bert30SkipLayerNormVarSeqlenPluginV3E", !7, i64 0, !9, i64 8, !11, i64 16, !12, i64 24, !13, i64 32, !13, i64 64, !19, i64 96, !19, i64 104, !25, i64 112, !26, i64 120, !26, i64 144, !28, i64 168, !28, i64 172, !29, i64 176, !19, i64 184, !26, i64 192, !18, i64 216, !30, i64 224, !34, i64 248}
!7 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !8, i64 0}
!8 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!9 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !10, i64 0}
!10 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !8, i64 0}
!11 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !10, i64 0}
!12 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !10, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !18, i64 8, !16, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!15 = !{!"any pointer", !16, i64 0}
!16 = !{!"omnipotent char", !17, i64 0}
!17 = !{!"Simple C++ TBAA"}
!18 = !{!"long", !16, 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", !15, i64 0}
!25 = !{!"int", !16, i64 0}
!26 = !{!"_ZTSN8nvinfer16plugin4bert20WeightsWithOwnershipE", !27, i64 0}
!27 = !{!"_ZTSN8nvinfer17WeightsE", !28, i64 0, !15, i64 8, !18, i64 16}
!28 = !{!"_ZTSN8nvinfer18DataTypeE", !16, i64 0}
!29 = !{!"bool", !16, i64 0}
!30 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!34 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !25, i64 0, !15, i64 8}
!35 = !{!36, !28, i64 72}
!36 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !37, i64 0, !28, i64 72, !38, i64 76, !39, i64 80}
!37 = !{!"_ZTSN8nvinfer16Dims64E", !25, i64 0, !16, i64 8}
!38 = !{!"_ZTSN8nvinfer112TensorFormatE", !16, i64 0}
!39 = !{!"float", !16, i64 0}
!40 = !{!15, !15, i64 0}
!41 = !{!6, !29, i64 176}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!36, !39, i64 80}


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