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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%class.anon = type { ptr }
%"struct.nvinfer1::DynamicPluginTensorDesc" = type { %"struct.nvinfer1::PluginTensorDesc", %"class.nvinfer1::Dims64", %"class.nvinfer1::Dims64", %"class.nvinfer1::Dims64" }
%"struct.nvinfer1::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::plugin::GroupNormalizationPlugin" = type { %"class.nvinfer1::IPluginV2DynamicExt", %"class.std::__cxx11::basic_string", float, i32, i32, ptr, %"class.std::shared_ptr", ptr, ptr, %"class.std::shared_ptr.3", %"class.std::shared_ptr.3", i64 }
%"class.nvinfer1::IPluginV2DynamicExt" = type { %"class.nvinfer1::IPluginV2Ext" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }

@.str = external hidden unnamed_addr constant [110 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [28 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #5

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

declare void @__cxa_end_catch()

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

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

declare noundef nonnull align 8 dereferenceable(104) ptr @_ZN8nvinfer114pluginInternal15getCudnnWrapperEPKc(ptr noundef) #7

declare noundef ptr @_ZN8nvinfer114pluginInternal12CudnnWrapper19cudnnGetErrorStringENS0_11CudnnStatusE(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef) #7

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.nvinfer1::Dims64", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %class.anon, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %26 = load ptr, ptr %6, align 8
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = icmp ne ptr %27, null
  br i1 %28, label %35, label %29

29:                                               ; preds = %5
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 249, i32 noundef 0, ptr noundef @.str.21) #8
          to label %30 unwind label %31

30:                                               ; preds = %29
  unreachable

31:                                               ; preds = %49, %43, %38, %29
  %32 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %11, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %12, align 4
  br label %185

35:                                               ; preds = %5
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %40, label %38

38:                                               ; preds = %35
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 250, i32 noundef 0, ptr noundef @.str.22) #8
          to label %39 unwind label %31

39:                                               ; preds = %38
  unreachable

40:                                               ; preds = %35
  %41 = load i32, ptr %8, align 4, !tbaa !9
  %42 = icmp eq i32 %41, 3
  br i1 %42, label %45, label %43

43:                                               ; preds = %40
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 251, i32 noundef 0, ptr noundef @.str.6) #8
          to label %44 unwind label %31

44:                                               ; preds = %43
  unreachable

45:                                               ; preds = %40
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = call noundef i32 @_ZNK8nvinfer16plugin24GroupNormalizationPlugin12getNbOutputsEv(ptr noundef nonnull align 8 dereferenceable(136) %26) #9
  %48 = icmp eq i32 %46, %47
  br i1 %48, label %51, label %49

49:                                               ; preds = %45
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 252, i32 noundef 0, ptr noundef @.str.23) #8
          to label %50 unwind label %31

50:                                               ; preds = %49
  unreachable

51:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 72, ptr %13) #9
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %52, i64 0
  %54 = getelementptr inbounds %"struct.nvinfer1::DynamicPluginTensorDesc", ptr %53, i32 0, i32 0
  %55 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %54, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %55, i64 72, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  %56 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %13, i32 0, i32 1
  %57 = getelementptr inbounds [8 x i64], ptr %56, i64 0, i64 0
  %58 = load i64, ptr %57, align 8, !tbaa !13
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %60 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %13, i32 0, i32 1
  %61 = getelementptr inbounds [8 x i64], ptr %60, i64 0, i64 1
  %62 = load i64, ptr %61, align 8, !tbaa !13
  %63 = trunc i64 %62 to i32
  store i32 %63, ptr %15, align 4, !tbaa !9
  %64 = load i32, ptr %14, align 4, !tbaa !9
  %65 = icmp sle i32 %64, 0
  br i1 %65, label %69, label %66

66:                                               ; preds = %51
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = icmp sle i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %66, %51
  store i32 1, ptr %16, align 4
  br label %179

70:                                               ; preds = %66
  %71 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 7
  %72 = load ptr, ptr %71, align 8, !tbaa !15
  %73 = icmp eq ptr %72, null
  br i1 %73, label %74, label %75

74:                                               ; preds = %70
  store i32 1, ptr %16, align 4
  br label %179

75:                                               ; preds = %70
  %76 = load i32, ptr %14, align 4, !tbaa !9
  %77 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 3
  %78 = load i32, ptr %77, align 4, !tbaa !28
  %79 = mul nsw i32 %76, %78
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 11
  store i64 %80, ptr %81, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %82 = getelementptr inbounds %class.anon, ptr %17, i32 0, i32 0
  store ptr %26, ptr %82, align 8, !tbaa !30
  %83 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 9
  invoke void @"_ZZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iENK3$_0clERSt10shared_ptrINS0_8CudaBindIfEEEf"(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(16) %83, float noundef 1.000000e+00)
          to label %84 unwind label %122

84:                                               ; preds = %75
  %85 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 10
  invoke void @"_ZZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iENK3$_0clERSt10shared_ptrINS0_8CudaBindIfEEEf"(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(16) %85, float noundef 0.000000e+00)
          to label %86 unwind label %122

86:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %87 = load i32, ptr %15, align 4, !tbaa !9
  %88 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 3
  %89 = load i32, ptr %88, align 4, !tbaa !28
  %90 = sdiv i32 %87, %89
  store i32 %90, ptr %18, align 4, !tbaa !9
  %91 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %13, i32 0, i32 0
  %92 = load i32, ptr %91, align 8, !tbaa !32
  %93 = invoke noundef i64 @_ZN8nvinfer114pluginInternal6volumeERKNS_6Dims64Eii(ptr noundef nonnull align 8 dereferenceable(72) %13, i32 noundef 2, i32 noundef %92)
          to label %94 unwind label %126

94:                                               ; preds = %86
  %95 = trunc i64 %93 to i32
  %96 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 4
  store i32 %95, ptr %96, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %97 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 6
  %98 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8nvinfer114pluginInternal12CudnnWrapperELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %97) #9
  %99 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 7
  %100 = load ptr, ptr %99, align 8, !tbaa !15
  %101 = load i32, ptr %14, align 4, !tbaa !9
  %102 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 3
  %103 = load i32, ptr %102, align 4, !tbaa !28
  %104 = mul nsw i32 %101, %103
  %105 = load i32, ptr %18, align 4, !tbaa !9
  %106 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 4
  %107 = load i32, ptr %106, align 8, !tbaa !34
  %108 = invoke noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper26cudnnSetTensor4dDescriptorEP17cudnnTensorStructNS0_17cudnnTensorFormatENS0_13cudnnDataTypeEiiii(ptr noundef nonnull align 8 dereferenceable(104) %98, ptr noundef %100, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef %104, i32 noundef %105, i32 noundef %107)
          to label %109 unwind label %130

109:                                              ; preds = %94
  store i32 %108, ptr %19, align 4, !tbaa !35
  %110 = load i32, ptr %19, align 4, !tbaa !35
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %143

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %113 = invoke noundef nonnull align 8 dereferenceable(104) ptr @_ZN8nvinfer114pluginInternal15getCudnnWrapperEPKc(ptr noundef null)
          to label %114 unwind label %134

114:                                              ; preds = %112
  store ptr %113, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %115 = load ptr, ptr %20, align 8, !tbaa !5
  %116 = load i32, ptr %19, align 4, !tbaa !35
  %117 = invoke noundef ptr @_ZN8nvinfer114pluginInternal12CudnnWrapper19cudnnGetErrorStringENS0_11CudnnStatusE(ptr noundef nonnull align 8 dereferenceable(104) %115, i32 noundef %116)
          to label %118 unwind label %138

118:                                              ; preds = %114
  store ptr %117, ptr %21, align 8, !tbaa !5
  %119 = load i32, ptr %19, align 4, !tbaa !35
  %120 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin15throwCudnnErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 300, i32 noundef %119, ptr noundef %120) #8
          to label %121 unwind label %138

121:                                              ; preds = %118
  unreachable

122:                                              ; preds = %84, %75
  %123 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %11, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %12, align 4
  br label %184

126:                                              ; preds = %86
  %127 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %11, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %12, align 4
  br label %183

130:                                              ; preds = %94
  %131 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %11, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %12, align 4
  br label %164

134:                                              ; preds = %112
  %135 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %11, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %12, align 4
  br label %142

138:                                              ; preds = %118, %114
  %139 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %11, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %142

142:                                              ; preds = %138, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %164

143:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %144 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 6
  %145 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8nvinfer114pluginInternal12CudnnWrapperELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %144) #9
  %146 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 8
  %147 = load ptr, ptr %146, align 8, !tbaa !37
  %148 = getelementptr inbounds %"class.nvinfer1::plugin::GroupNormalizationPlugin", ptr %26, i32 0, i32 7
  %149 = load ptr, ptr %148, align 8, !tbaa !15
  %150 = invoke noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper29cudnnDeriveBNTensorDescriptorEP17cudnnTensorStructPKS2_NS0_18cudnnBatchNormModeE(ptr noundef nonnull align 8 dereferenceable(104) %145, ptr noundef %147, ptr noundef %149, i32 noundef 1)
          to label %151 unwind label %165

151:                                              ; preds = %143
  store i32 %150, ptr %22, align 4, !tbaa !35
  %152 = load i32, ptr %22, align 4, !tbaa !35
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %178

154:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %155 = invoke noundef nonnull align 8 dereferenceable(104) ptr @_ZN8nvinfer114pluginInternal15getCudnnWrapperEPKc(ptr noundef null)
          to label %156 unwind label %169

156:                                              ; preds = %154
  store ptr %155, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %157 = load ptr, ptr %23, align 8, !tbaa !5
  %158 = load i32, ptr %22, align 4, !tbaa !35
  %159 = invoke noundef ptr @_ZN8nvinfer114pluginInternal12CudnnWrapper19cudnnGetErrorStringENS0_11CudnnStatusE(ptr noundef nonnull align 8 dereferenceable(104) %157, i32 noundef %158)
          to label %160 unwind label %173

160:                                              ; preds = %156
  store ptr %159, ptr %24, align 8, !tbaa !5
  %161 = load i32, ptr %22, align 4, !tbaa !35
  %162 = load ptr, ptr %24, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin15throwCudnnErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 302, i32 noundef %161, ptr noundef %162) #8
          to label %163 unwind label %173

163:                                              ; preds = %160
  unreachable

164:                                              ; preds = %142, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %183

165:                                              ; preds = %143
  %166 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %11, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %12, align 4
  br label %182

169:                                              ; preds = %154
  %170 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %11, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %12, align 4
  br label %177

173:                                              ; preds = %160, %156
  %174 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %11, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %177

177:                                              ; preds = %173, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %182

178:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  store i32 0, ptr %16, align 4
  br label %179

179:                                              ; preds = %178, %74, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #9
  %180 = load i32, ptr %16, align 4
  switch i32 %180, label %201 [
    i32 0, label %181
    i32 1, label %195
  ]

181:                                              ; preds = %179
  br label %195

182:                                              ; preds = %177, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %183

183:                                              ; preds = %182, %164, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %184

184:                                              ; preds = %183, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #9
  br label %185

185:                                              ; preds = %184, %31
  %186 = load i32, ptr %12, align 4
  %187 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %188 = icmp eq i32 %186, %187
  br i1 %188, label %189, label %199

189:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %190 = load ptr, ptr %11, align 8
  %191 = call ptr @__cxa_begin_catch(ptr %190) #9
  store ptr %191, ptr %25, align 8
  %192 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %192)
          to label %193 unwind label %196

193:                                              ; preds = %189
  invoke void @__cxa_end_catch()
          to label %194 unwind label %196

194:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %195

195:                                              ; preds = %194, %181, %179
  ret void

196:                                              ; preds = %193, %189
  %197 = landingpad { ptr, i32 }
          catch ptr null
  %198 = extractvalue { ptr, i32 } %197, 0
  call void @__clang_call_terminate(ptr %198) #10
  unreachable

199:                                              ; preds = %185
  %200 = load ptr, ptr %11, align 8
  call void @__clang_call_terminate(ptr %200) #10
  unreachable

201:                                              ; preds = %179
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iENK3$_0clERSt10shared_ptrINS0_8CudaBindIfEEEf"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), float noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8nvinfer114pluginInternal6volumeERKNS_6Dims64Eii(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, i32 noundef) #6

declare noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper26cudnnSetTensor4dDescriptorEP17cudnnTensorStructNS0_17cudnnTensorFormatENS0_13cudnnDataTypeEiiii(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #7

declare noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper29cudnnDeriveBNTensorDescriptorEP17cudnnTensorStructPKS2_NS0_18cudnnBatchNormModeE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef, ptr noundef, i32 noundef) #7

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 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { noreturn }
attributes #9 = { nounwind }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 4, !9, i64 8, i64 64, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !6, i64 80}
!16 = !{!"_ZTSN8nvinfer16plugin24GroupNormalizationPluginE", !17, i64 0, !20, i64 8, !22, i64 40, !10, i64 44, !10, i64 48, !6, i64 56, !23, i64 64, !6, i64 80, !6, i64 88, !26, i64 96, !26, i64 112, !14, i64 128}
!17 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !18, i64 0}
!18 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !19, i64 0}
!19 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !14, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSSt10shared_ptrIN8nvinfer114pluginInternal12CudnnWrapperEE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIN8nvinfer114pluginInternal12CudnnWrapperELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !25, i64 8}
!25 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!26 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIfEEE", !27, i64 0}
!27 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIfEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !25, i64 8}
!28 = !{!16, !10, i64 44}
!29 = !{!16, !14, i64 128}
!30 = !{!31, !6, i64 0}
!31 = !{!"_ZTSZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iE3$_0", !6, i64 0}
!32 = !{!33, !10, i64 0}
!33 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!34 = !{!16, !10, i64 48}
!35 = !{!36, !36, i64 0}
!36 = !{!"_ZTSN8nvinfer114pluginInternal11CudnnStatusE", !7, i64 0}
!37 = !{!16, !6, i64 88}


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

%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%class.anon = type { ptr }

@.str = external hidden unnamed_addr constant [110 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [28 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #5

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

declare void @__cxa_end_catch() local_unnamed_addr

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

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

declare noundef nonnull align 8 dereferenceable(104) ptr @_ZN8nvinfer114pluginInternal15getCudnnWrapperEPKc(ptr noundef) local_unnamed_addr #7

declare noundef ptr @_ZN8nvinfer114pluginInternal12CudnnWrapper19cudnnGetErrorStringENS0_11CudnnStatusE(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef readnone %3, i32 noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.nvinfer1::Dims64", align 8
  %7 = alloca %class.anon, align 8
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %.invoke, label %10

8:                                                ; preds = %.invoke
  %9 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %94

10:                                               ; preds = %5
  %.not38 = icmp eq ptr %3, null
  br i1 %.not38, label %.invoke, label %11

11:                                               ; preds = %10
  %12 = icmp eq i32 %2, 3
  br i1 %12, label %13, label %.invoke

13:                                               ; preds = %11
  %14 = tail call noundef i32 @_ZNK8nvinfer16plugin24GroupNormalizationPlugin12getNbOutputsEv(ptr noundef nonnull align 8 dereferenceable(136) %0) #8
  %15 = icmp eq i32 %14, %4
  br i1 %15, label %18, label %.invoke

.invoke:                                          ; preds = %5, %13, %11, %10
  %16 = phi i32 [ 250, %10 ], [ 251, %11 ], [ 252, %13 ], [ 249, %5 ]
  %17 = phi ptr [ @.str.22, %10 ], [ @.str.6, %11 ], [ @.str.23, %13 ], [ @.str.21, %5 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef %16, i32 noundef 0, ptr noundef nonnull %17) #9
          to label %.cont unwind label %8

.cont:                                            ; preds = %.invoke
  unreachable

18:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef nonnull align 8 dereferenceable(72) %1, i64 72, i1 false), !tbaa.struct !5
  %19 = getelementptr inbounds i8, ptr %6, i64 8
  %20 = load i64, ptr %19, align 8, !tbaa !11
  %21 = trunc i64 %20 to i32
  %22 = getelementptr inbounds i8, ptr %6, i64 16
  %23 = load i64, ptr %22, align 8, !tbaa !11
  %24 = trunc i64 %23 to i32
  %25 = icmp slt i32 %21, 1
  %26 = icmp slt i32 %24, 1
  %or.cond = select i1 %25, i1 true, i1 %26
  br i1 %or.cond, label %92, label %27

27:                                               ; preds = %18
  %28 = getelementptr inbounds i8, ptr %0, i64 80
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = icmp eq ptr %29, null
  br i1 %30, label %92, label %31

31:                                               ; preds = %27
  %32 = getelementptr inbounds i8, ptr %0, i64 44
  %33 = load i32, ptr %32, align 4, !tbaa !27
  %34 = mul nsw i32 %33, %21
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds i8, ptr %0, i64 128
  store i64 %35, ptr %36, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  store ptr %0, ptr %7, align 8, !tbaa !29
  %37 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @"_ZZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iENK3$_0clERSt10shared_ptrINS0_8CudaBindIfEEEf"(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(16) %37, float noundef 1.000000e+00)
          to label %38 unwind label %62

38:                                               ; preds = %31
  %39 = getelementptr inbounds i8, ptr %0, i64 112
  invoke void @"_ZZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iENK3$_0clERSt10shared_ptrINS0_8CudaBindIfEEEf"(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(16) %39, float noundef 0.000000e+00)
          to label %40 unwind label %62

40:                                               ; preds = %38
  %41 = load i32, ptr %32, align 4, !tbaa !27
  %42 = load i32, ptr %6, align 8, !tbaa !31
  %43 = invoke noundef i64 @_ZN8nvinfer114pluginInternal6volumeERKNS_6Dims64Eii(ptr noundef nonnull align 8 dereferenceable(72) %6, i32 noundef 2, i32 noundef %42)
          to label %44 unwind label %64

44:                                               ; preds = %40
  %45 = sdiv i32 %24, %41
  %46 = trunc i64 %43 to i32
  %47 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %46, ptr %47, align 8, !tbaa !33
  %48 = getelementptr inbounds i8, ptr %0, i64 64
  %49 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8nvinfer114pluginInternal12CudnnWrapperELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  %50 = load ptr, ptr %28, align 8, !tbaa !13
  %51 = load i32, ptr %32, align 4, !tbaa !27
  %52 = mul nsw i32 %51, %21
  %53 = load i32, ptr %47, align 8, !tbaa !33
  %54 = invoke noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper26cudnnSetTensor4dDescriptorEP17cudnnTensorStructNS0_17cudnnTensorFormatENS0_13cudnnDataTypeEiiii(ptr noundef nonnull align 8 dereferenceable(104) %49, ptr noundef %50, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef %52, i32 noundef %45, i32 noundef %53)
          to label %55 unwind label %66

55:                                               ; preds = %44
  %.not39 = icmp eq i32 %54, 0
  br i1 %.not39, label %72, label %56

56:                                               ; preds = %55
  %57 = invoke noundef nonnull align 8 dereferenceable(104) ptr @_ZN8nvinfer114pluginInternal15getCudnnWrapperEPKc(ptr noundef null)
          to label %58 unwind label %68

58:                                               ; preds = %56
  %59 = invoke noundef ptr @_ZN8nvinfer114pluginInternal12CudnnWrapper19cudnnGetErrorStringENS0_11CudnnStatusE(ptr noundef nonnull align 8 dereferenceable(104) %57, i32 noundef %54)
          to label %60 unwind label %70

60:                                               ; preds = %58
  invoke void @_ZN8nvinfer16plugin15throwCudnnErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 300, i32 noundef %54, ptr noundef %59) #9
          to label %61 unwind label %70

61:                                               ; preds = %60
  unreachable

62:                                               ; preds = %38, %31
  %63 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

64:                                               ; preds = %40
  %65 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

66:                                               ; preds = %44
  %67 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

68:                                               ; preds = %56
  %69 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

70:                                               ; preds = %60, %58
  %71 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

72:                                               ; preds = %55
  %73 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8nvinfer114pluginInternal12CudnnWrapperELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  %74 = getelementptr inbounds i8, ptr %0, i64 88
  %75 = load ptr, ptr %74, align 8, !tbaa !34
  %76 = load ptr, ptr %28, align 8, !tbaa !13
  %77 = invoke noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper29cudnnDeriveBNTensorDescriptorEP17cudnnTensorStructPKS2_NS0_18cudnnBatchNormModeE(ptr noundef nonnull align 8 dereferenceable(104) %73, ptr noundef %75, ptr noundef %76, i32 noundef 1)
          to label %78 unwind label %85

78:                                               ; preds = %72
  %.not40 = icmp eq i32 %77, 0
  br i1 %.not40, label %91, label %79

79:                                               ; preds = %78
  %80 = invoke noundef nonnull align 8 dereferenceable(104) ptr @_ZN8nvinfer114pluginInternal15getCudnnWrapperEPKc(ptr noundef null)
          to label %81 unwind label %87

81:                                               ; preds = %79
  %82 = invoke noundef ptr @_ZN8nvinfer114pluginInternal12CudnnWrapper19cudnnGetErrorStringENS0_11CudnnStatusE(ptr noundef nonnull align 8 dereferenceable(104) %80, i32 noundef %77)
          to label %83 unwind label %89

83:                                               ; preds = %81
  invoke void @_ZN8nvinfer16plugin15throwCudnnErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_i, i32 noundef 302, i32 noundef %77, ptr noundef %82) #9
          to label %84 unwind label %89

84:                                               ; preds = %83
  unreachable

85:                                               ; preds = %72
  %86 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

87:                                               ; preds = %79
  %88 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

89:                                               ; preds = %83, %81
  %90 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %93

91:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %92

92:                                               ; preds = %27, %18, %91
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #8
  br label %100

93:                                               ; preds = %64, %68, %70, %66, %87, %89, %85, %62
  %.pn43.pn.pn.pn = phi { ptr, i32 } [ %63, %62 ], [ %65, %64 ], [ %67, %66 ], [ %71, %70 ], [ %69, %68 ], [ %86, %85 ], [ %90, %89 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #8
  br label %94

94:                                               ; preds = %93, %8
  %.pn43.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn43.pn.pn.pn, %93 ], [ %9, %8 ]
  %.6 = extractvalue { ptr, i32 } %.pn43.pn.pn.pn.pn, 0
  %.632 = extractvalue { ptr, i32 } %.pn43.pn.pn.pn.pn, 1
  %95 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %96 = icmp eq i32 %.632, %95
  br i1 %96, label %97, label %104

97:                                               ; preds = %94
  %98 = call ptr @__cxa_begin_catch(ptr %.6) #8
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %98)
          to label %99 unwind label %101

99:                                               ; preds = %97
  invoke void @__cxa_end_catch()
          to label %100 unwind label %101

100:                                              ; preds = %99, %92
  ret void

101:                                              ; preds = %99, %97
  %102 = landingpad { ptr, i32 }
          catch ptr null
  %103 = extractvalue { ptr, i32 } %102, 0
  call void @__clang_call_terminate(ptr %103) #10
  unreachable

104:                                              ; preds = %94
  call void @__clang_call_terminate(ptr %.6) #10
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iENK3$_0clERSt10shared_ptrINS0_8CudaBindIfEEEf"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), float noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN8nvinfer114pluginInternal6volumeERKNS_6Dims64Eii(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, i32 noundef) local_unnamed_addr #6

declare noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper26cudnnSetTensor4dDescriptorEP17cudnnTensorStructNS0_17cudnnTensorFormatENS0_13cudnnDataTypeEiiii(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

declare noundef i32 @_ZN8nvinfer114pluginInternal12CudnnWrapper29cudnnDeriveBNTensorDescriptorEP17cudnnTensorStructPKS2_NS0_18cudnnBatchNormModeE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

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 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { "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 = !{i64 0, i64 4, !6, i64 8, i64 64, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !20, i64 80}
!14 = !{!"_ZTSN8nvinfer16plugin24GroupNormalizationPluginE", !15, i64 0, !18, i64 8, !21, i64 40, !7, i64 44, !7, i64 48, !20, i64 56, !22, i64 64, !20, i64 80, !20, i64 88, !25, i64 96, !25, i64 112, !12, i64 128}
!15 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !17, i64 0}
!17 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !12, i64 8, !8, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !20, i64 0}
!20 = !{!"any pointer", !8, i64 0}
!21 = !{!"float", !8, i64 0}
!22 = !{!"_ZTSSt10shared_ptrIN8nvinfer114pluginInternal12CudnnWrapperEE", !23, i64 0}
!23 = !{!"_ZTSSt12__shared_ptrIN8nvinfer114pluginInternal12CudnnWrapperELN9__gnu_cxx12_Lock_policyE2EE", !20, i64 0, !24, i64 8}
!24 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !20, i64 0}
!25 = !{!"_ZTSSt10shared_ptrIN8nvinfer16plugin8CudaBindIfEEE", !26, i64 0}
!26 = !{!"_ZTSSt12__shared_ptrIN8nvinfer16plugin8CudaBindIfEELN9__gnu_cxx12_Lock_policyE2EE", !20, i64 0, !24, i64 8}
!27 = !{!14, !7, i64 44}
!28 = !{!14, !12, i64 128}
!29 = !{!30, !20, i64 0}
!30 = !{!"_ZTSZN8nvinfer16plugin24GroupNormalizationPlugin15configurePluginEPKNS_23DynamicPluginTensorDescEiS4_iE3$_0", !20, i64 0}
!31 = !{!32, !7, i64 0}
!32 = !{!"_ZTSN8nvinfer16Dims64E", !7, i64 0, !8, i64 8}
!33 = !{!14, !7, i64 48}
!34 = !{!14, !20, i64 88}


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