; LLVM IR from NVIDIA/TensorRT :: plugin/roiAlignPlugin/roiAlignPlugin.ll (ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi)

; 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"

%struct.cudaDeviceProp = type { [256 x i8], %struct.CUuuid_st, [8 x i8], i32, i64, i64, i32, i32, i64, i32, [3 x i32], [3 x i32], i32, i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], [2 x i32], [3 x i32], [2 x i32], [3 x i32], [3 x i32], i32, [2 x i32], [3 x i32], [2 x i32], i32, [2 x i32], [3 x i32], [2 x i32], [3 x i32], i32, [2 x i32], i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i64 }
%struct.CUuuid_st = type { [16 x i8] }
%"class.nvinfer1::plugin::ROIAlignV3" = 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", i32, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", %"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::__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::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.7 = external hidden unnamed_addr constant [90 x i8], align 1
@_ZTVN8nvinfer16plugin10ROIAlignV3E = external dso_local unnamed_addr constant { [21 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, align 8
@__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, i32 noundef %6) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %struct.cudaDeviceProp, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store float %5, ptr %13, align 4, !tbaa !11
  store i32 %6, ptr %14, align 4, !tbaa !9
  %23 = load ptr, ptr %8, align 8
  call void @_ZN8nvinfer15v_1_09IPluginV3C2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  call void @_ZN8nvinfer15v_1_016IPluginV3OneCoreC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %25 = getelementptr inbounds i8, ptr %23, i64 16
  call void @_ZN8nvinfer15v_1_017IPluginV3OneBuildC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %26 = getelementptr inbounds i8, ptr %23, i64 24
  call void @_ZN8nvinfer15v_1_019IPluginV3OneRuntimeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  store ptr getelementptr inbounds inrange(-16, 152) ({ [21 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i32 0, i32 0, i32 2), ptr %23, align 8, !tbaa !13
  %27 = getelementptr inbounds i8, ptr %23, i64 8
  store ptr getelementptr inbounds inrange(-16, 56) ({ [21 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i32 0, i32 1, i32 2), ptr %27, align 8, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %23, i64 16
  store ptr getelementptr inbounds inrange(-16, 120) ({ [21 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i32 0, i32 2, i32 2), ptr %28, align 8, !tbaa !13
  %29 = getelementptr inbounds i8, ptr %23, i64 24
  store ptr getelementptr inbounds inrange(-16, 72) ({ [21 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i32 0, i32 3, i32 2), ptr %29, align 8, !tbaa !13
  %30 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 4
  %31 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %31, ptr %30, align 8, !tbaa !15
  %32 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 5
  %33 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %33, ptr %32, align 4, !tbaa !31
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 6
  %35 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %35, ptr %34, align 8, !tbaa !32
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 7
  %37 = load float, ptr %13, align 4, !tbaa !11
  store float %37, ptr %36, align 4, !tbaa !33
  %38 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 8
  %39 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %39, ptr %38, align 8, !tbaa !34
  %40 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 9
  %41 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %41, ptr %40, align 4, !tbaa !35
  %42 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 10
  store i32 0, ptr %42, align 8, !tbaa !36
  %43 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 11
  store i32 0, ptr %43, align 4, !tbaa !37
  %44 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 12
  store i32 0, ptr %44, align 8, !tbaa !38
  %45 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 13
  store i32 0, ptr %45, align 4, !tbaa !39
  %46 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 14
  store i32 0, ptr %46, align 8, !tbaa !40
  %47 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 15
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  %48 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 16
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #6
  %49 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 17
  call void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #6
  %50 = load i32, ptr %9, align 4, !tbaa !9
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %58, label %52

52:                                               ; preds = %7
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 145, i32 noundef 0, ptr noundef @.str.11) #7
          to label %53 unwind label %54

53:                                               ; preds = %52
  unreachable

54:                                               ; preds = %87, %79, %74, %66, %61, %52
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %15, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %16, align 4
  br label %137

58:                                               ; preds = %7
  %59 = load i32, ptr %10, align 4, !tbaa !9
  %60 = icmp sgt i32 %59, 0
  br i1 %60, label %63, label %61

61:                                               ; preds = %58
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 146, i32 noundef 0, ptr noundef @.str.12) #7
          to label %62 unwind label %54

62:                                               ; preds = %61
  unreachable

63:                                               ; preds = %58
  %64 = load i32, ptr %11, align 4, !tbaa !9
  %65 = icmp sge i32 %64, 0
  br i1 %65, label %68, label %66

66:                                               ; preds = %63
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 147, i32 noundef 0, ptr noundef @.str.13) #7
          to label %67 unwind label %54

67:                                               ; preds = %66
  unreachable

68:                                               ; preds = %63
  %69 = load i32, ptr %12, align 4, !tbaa !9
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %76, label %71

71:                                               ; preds = %68
  %72 = load i32, ptr %12, align 4, !tbaa !9
  %73 = icmp eq i32 %72, 1
  br i1 %73, label %76, label %74

74:                                               ; preds = %71
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 148, i32 noundef 0, ptr noundef @.str.14) #7
          to label %75 unwind label %54

75:                                               ; preds = %74
  unreachable

76:                                               ; preds = %71, %68
  %77 = load float, ptr %13, align 4, !tbaa !11
  %78 = fcmp ogt float %77, 0.000000e+00
  br i1 %78, label %81, label %79

79:                                               ; preds = %76
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 149, i32 noundef 0, ptr noundef @.str.15) #7
          to label %80 unwind label %54

80:                                               ; preds = %79
  unreachable

81:                                               ; preds = %76
  %82 = load i32, ptr %14, align 4, !tbaa !9
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %89, label %84

84:                                               ; preds = %81
  %85 = load i32, ptr %14, align 4, !tbaa !9
  %86 = icmp eq i32 %85, 1
  br i1 %86, label %89, label %87

87:                                               ; preds = %84
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 150, i32 noundef 0, ptr noundef @.str.16) #7
          to label %88 unwind label %54

88:                                               ; preds = %87
  unreachable

89:                                               ; preds = %84, %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %90 = invoke i32 @cudaGetDevice(ptr noundef %17)
          to label %91 unwind label %101

91:                                               ; preds = %89
  store i32 %90, ptr %18, align 4, !tbaa !41
  %92 = load i32, ptr %18, align 4, !tbaa !41
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %109

94:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %95 = load i32, ptr %18, align 4, !tbaa !41
  %96 = invoke ptr @cudaGetErrorString(i32 noundef %95)
          to label %97 unwind label %105

97:                                               ; preds = %94
  store ptr %96, ptr %19, align 8, !tbaa !5
  %98 = load i32, ptr %18, align 4, !tbaa !41
  %99 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 153, i32 noundef %98, ptr noundef %99) #7
          to label %100 unwind label %105

100:                                              ; preds = %97
  unreachable

101:                                              ; preds = %89
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %15, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %16, align 4
  br label %122

105:                                              ; preds = %97, %94
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %15, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %122

109:                                              ; preds = %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 728, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = invoke i32 @cudaGetDeviceProperties(ptr noundef %20, i32 noundef %110)
          to label %112 unwind label %123

112:                                              ; preds = %109
  store i32 %111, ptr %21, align 4, !tbaa !41
  %113 = load i32, ptr %21, align 4, !tbaa !41
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %131

115:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %116 = load i32, ptr %21, align 4, !tbaa !41
  %117 = invoke ptr @cudaGetErrorString(i32 noundef %116)
          to label %118 unwind label %127

118:                                              ; preds = %115
  store ptr %117, ptr %22, align 8, !tbaa !5
  %119 = load i32, ptr %21, align 4, !tbaa !41
  %120 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.7, ptr noundef @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 155, i32 noundef %119, ptr noundef %120) #7
          to label %121 unwind label %127

121:                                              ; preds = %118
  unreachable

122:                                              ; preds = %105, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %136

123:                                              ; preds = %109
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %15, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %16, align 4
  br label %135

127:                                              ; preds = %118, %115
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %15, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %135

131:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  %132 = getelementptr inbounds %struct.cudaDeviceProp, ptr %20, i32 0, i32 9
  %133 = load i32, ptr %132, align 8, !tbaa !43
  %134 = getelementptr inbounds %"class.nvinfer1::plugin::ROIAlignV3", ptr %23, i32 0, i32 14
  store i32 %133, ptr %134, align 8, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 728, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  ret void

135:                                              ; preds = %127, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 728, ptr %20) #6
  br label %136

136:                                              ; preds = %135, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %137

137:                                              ; preds = %136, %54
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  %138 = getelementptr inbounds i8, ptr %23, i64 24
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %138) #6
  %139 = getelementptr inbounds i8, ptr %23, i64 16
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %139) #6
  %140 = getelementptr inbounds i8, ptr %23, i64 8
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %140) #6
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br label %141

141:                                              ; preds = %137
  %142 = load ptr, ptr %15, align 8
  %143 = load i32, ptr %16, align 4
  %144 = insertvalue { ptr, i32 } poison, ptr %142, 0
  %145 = insertvalue { ptr, i32 } %144, i32 %143, 1
  resume { ptr, i32 } %145
}

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

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

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

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

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

declare i32 @cudaGetDevice(ptr noundef) #5

declare ptr @cudaGetErrorString(i32 noundef) #5

; Function Attrs: noreturn
declare void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2

declare i32 @cudaGetDeviceProperties(ptr noundef, i32 noundef) #5

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 = { nounwind }
attributes #7 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 32}
!16 = !{!"_ZTSN8nvinfer16plugin10ROIAlignV3E", !17, i64 0, !19, i64 8, !21, i64 16, !22, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !12, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !23, i64 80, !26, i64 112, !30, i64 136}
!17 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !18, i64 0}
!18 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!19 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !20, i64 0}
!20 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !18, i64 0}
!21 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !20, i64 0}
!22 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !20, i64 0}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !25, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !10, i64 0, !6, i64 8}
!31 = !{!16, !10, i64 36}
!32 = !{!16, !10, i64 40}
!33 = !{!16, !12, i64 44}
!34 = !{!16, !10, i64 48}
!35 = !{!16, !10, i64 52}
!36 = !{!16, !10, i64 56}
!37 = !{!16, !10, i64 60}
!38 = !{!16, !10, i64 64}
!39 = !{!16, !10, i64 68}
!40 = !{!16, !10, i64 72}
!41 = !{!42, !42, i64 0}
!42 = !{!"_ZTS9cudaError", !7, i64 0}
!43 = !{!44, !10, i64 320}
!44 = !{!"_ZTS14cudaDeviceProp", !7, i64 0, !45, i64 256, !7, i64 272, !10, i64 280, !25, i64 288, !25, i64 296, !10, i64 304, !10, i64 308, !25, i64 312, !10, i64 320, !7, i64 324, !7, i64 336, !10, i64 348, !25, i64 352, !10, i64 360, !10, i64 364, !25, i64 368, !25, i64 376, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !7, i64 420, !7, i64 428, !7, i64 436, !7, i64 448, !7, i64 456, !7, i64 468, !10, i64 480, !7, i64 484, !7, i64 492, !7, i64 504, !10, i64 512, !7, i64 516, !7, i64 524, !7, i64 536, !7, i64 544, !10, i64 556, !7, i64 560, !25, i64 568, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !25, i64 640, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !25, i64 696, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !25, i64 720}
!45 = !{!"_ZTS9CUuuid_st", !7, 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"

%struct.cudaDeviceProp = type { [256 x i8], %struct.CUuuid_st, [8 x i8], i32, i64, i64, i32, i32, i64, i32, [3 x i32], [3 x i32], i32, i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], [2 x i32], [3 x i32], [2 x i32], [3 x i32], [3 x i32], i32, [2 x i32], [3 x i32], [2 x i32], i32, [2 x i32], [3 x i32], [2 x i32], [3 x i32], i32, [2 x i32], i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i64 }
%struct.CUuuid_st = type { [16 x i8] }

@.str.7 = external hidden unnamed_addr constant [90 x i8], align 1
@_ZTVN8nvinfer16plugin10ROIAlignV3E = external dso_local unnamed_addr constant { [21 x ptr], [9 x ptr], [17 x ptr], [11 x ptr] }, align 8
@__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, i32 noundef %6) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca %struct.cudaDeviceProp, align 8
  tail call void @_ZN8nvinfer15v_1_09IPluginV3C2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN8nvinfer15v_1_016IPluginV3OneCoreC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN8nvinfer15v_1_017IPluginV3OneBuildC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN8nvinfer15v_1_019IPluginV3OneRuntimeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  store ptr getelementptr inbounds inrange(-16, 152) (i8, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i64 16), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 56) (i8, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i64 184), ptr %10, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 120) (i8, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i64 256), ptr %11, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 72) (i8, ptr @_ZTVN8nvinfer16plugin10ROIAlignV3E, i64 392), ptr %12, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %1, ptr %13, align 8, !tbaa !8
  %14 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 %2, ptr %14, align 4, !tbaa !28
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %3, ptr %15, align 8, !tbaa !29
  %16 = getelementptr inbounds i8, ptr %0, i64 44
  store float %5, ptr %16, align 4, !tbaa !30
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %4, ptr %17, align 8, !tbaa !31
  %18 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 %6, ptr %18, align 4, !tbaa !32
  %19 = getelementptr inbounds i8, ptr %0, i64 56
  %20 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %19, i8 0, i64 20, i1 false)
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  %21 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  %22 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZN8nvinfer121PluginFieldCollectionC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  %23 = icmp sgt i32 %1, 0
  br i1 %23, label %26, label %.invoke

24:                                               ; preds = %.invoke
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %65

26:                                               ; preds = %7
  %27 = icmp sgt i32 %2, 0
  br i1 %27, label %28, label %.invoke

28:                                               ; preds = %26
  %29 = icmp sgt i32 %3, -1
  br i1 %29, label %30, label %.invoke

30:                                               ; preds = %28
  %or.cond = icmp ult i32 %4, 2
  br i1 %or.cond, label %31, label %.invoke

31:                                               ; preds = %30
  %32 = fcmp ogt float %5, 0.000000e+00
  br i1 %32, label %33, label %.invoke

33:                                               ; preds = %31
  %or.cond3 = icmp ult i32 %6, 2
  br i1 %or.cond3, label %36, label %.invoke

.invoke:                                          ; preds = %7, %33, %31, %30, %28, %26
  %34 = phi i32 [ 146, %26 ], [ 147, %28 ], [ 148, %30 ], [ 149, %31 ], [ 150, %33 ], [ 145, %7 ]
  %35 = phi ptr [ @.str.12, %26 ], [ @.str.13, %28 ], [ @.str.14, %30 ], [ @.str.15, %31 ], [ @.str.16, %33 ], [ @.str.11, %7 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef %34, i32 noundef 0, ptr noundef nonnull %35) #8
          to label %.cont unwind label %24

.cont:                                            ; preds = %.invoke
  unreachable

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %37 = invoke i32 @cudaGetDevice(ptr noundef nonnull %8)
          to label %38 unwind label %43

38:                                               ; preds = %36
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %47, label %39

39:                                               ; preds = %38
  %40 = invoke ptr @cudaGetErrorString(i32 noundef %37)
          to label %41 unwind label %45

41:                                               ; preds = %39
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 153, i32 noundef %37, ptr noundef %40) #8
          to label %42 unwind label %45

42:                                               ; preds = %41
  unreachable

43:                                               ; preds = %36
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %64

45:                                               ; preds = %41, %39
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %64

47:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 728, ptr nonnull %9) #7
  %48 = load i32, ptr %8, align 4, !tbaa !33
  %49 = invoke i32 @cudaGetDeviceProperties(ptr noundef nonnull %9, i32 noundef %48)
          to label %50 unwind label %55

50:                                               ; preds = %47
  %.not33 = icmp eq i32 %49, 0
  br i1 %.not33, label %59, label %51

51:                                               ; preds = %50
  %52 = invoke ptr @cudaGetErrorString(i32 noundef %49)
          to label %53 unwind label %57

53:                                               ; preds = %51
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZN8nvinfer16plugin10ROIAlignV3C2Eiiiifi, i32 noundef 155, i32 noundef %49, ptr noundef %52) #8
          to label %54 unwind label %57

54:                                               ; preds = %53
  unreachable

55:                                               ; preds = %47
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %63

57:                                               ; preds = %53, %51
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %63

59:                                               ; preds = %50
  %60 = getelementptr inbounds i8, ptr %0, i64 72
  %61 = getelementptr inbounds i8, ptr %9, i64 320
  %62 = load i32, ptr %61, align 8, !tbaa !34
  store i32 %62, ptr %60, align 8, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 728, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  ret void

63:                                               ; preds = %57, %55
  %.pn = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 728, ptr nonnull %9) #7
  br label %64

64:                                               ; preds = %43, %45, %63
  %.pn35.pn = phi { ptr, i32 } [ %.pn, %63 ], [ %46, %45 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %65

65:                                               ; preds = %64, %24
  %.pn35.pn.pn = phi { ptr, i32 } [ %.pn35.pn, %64 ], [ %25, %24 ]
  call void @_ZNSt6vectorIN8nvinfer111PluginFieldESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @_ZN8nvinfer119IVersionedInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  resume { ptr, i32 } %.pn35.pn.pn
}

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

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

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

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

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

declare i32 @cudaGetDevice(ptr noundef) local_unnamed_addr #5

declare ptr @cudaGetErrorString(i32 noundef) local_unnamed_addr #5

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

declare i32 @cudaGetDeviceProperties(ptr noundef, i32 noundef) local_unnamed_addr #5

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !16, i64 32}
!9 = !{!"_ZTSN8nvinfer16plugin10ROIAlignV3E", !10, i64 0, !12, i64 8, !14, i64 16, !15, i64 24, !16, i64 32, !16, i64 36, !16, i64 40, !18, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !19, i64 80, !23, i64 112, !27, i64 136}
!10 = !{!"_ZTSN8nvinfer15v_1_09IPluginV3E", !11, i64 0}
!11 = !{!"_ZTSN8nvinfer119IVersionedInterfaceE"}
!12 = !{!"_ZTSN8nvinfer15v_1_016IPluginV3OneCoreE", !13, i64 0}
!13 = !{!"_ZTSN8nvinfer15v_1_017IPluginCapabilityE", !11, i64 0}
!14 = !{!"_ZTSN8nvinfer15v_1_017IPluginV3OneBuildE", !13, i64 0}
!15 = !{!"_ZTSN8nvinfer15v_1_019IPluginV3OneRuntimeE", !13, i64 0}
!16 = !{!"int", !17, i64 0}
!17 = !{!"omnipotent char", !7, i64 0}
!18 = !{!"float", !17, i64 0}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !22, i64 8, !17, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !21, i64 0}
!21 = !{!"any pointer", !17, i64 0}
!22 = !{!"long", !17, i64 0}
!23 = !{!"_ZTSSt6vectorIN8nvinfer111PluginFieldESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer111PluginFieldESaIS1_EE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!27 = !{!"_ZTSN8nvinfer121PluginFieldCollectionE", !16, i64 0, !21, i64 8}
!28 = !{!9, !16, i64 36}
!29 = !{!9, !16, i64 40}
!30 = !{!9, !18, i64 44}
!31 = !{!9, !16, i64 48}
!32 = !{!9, !16, i64 52}
!33 = !{!16, !16, i64 0}
!34 = !{!35, !16, i64 320}
!35 = !{!"_ZTS14cudaDeviceProp", !17, i64 0, !36, i64 256, !17, i64 272, !16, i64 280, !22, i64 288, !22, i64 296, !16, i64 304, !16, i64 308, !22, i64 312, !16, i64 320, !17, i64 324, !17, i64 336, !16, i64 348, !22, i64 352, !16, i64 360, !16, i64 364, !22, i64 368, !22, i64 376, !16, i64 384, !16, i64 388, !16, i64 392, !16, i64 396, !16, i64 400, !16, i64 404, !16, i64 408, !16, i64 412, !16, i64 416, !17, i64 420, !17, i64 428, !17, i64 436, !17, i64 448, !17, i64 456, !17, i64 468, !16, i64 480, !17, i64 484, !17, i64 492, !17, i64 504, !16, i64 512, !17, i64 516, !17, i64 524, !17, i64 536, !17, i64 544, !16, i64 556, !17, i64 560, !22, i64 568, !16, i64 576, !16, i64 580, !16, i64 584, !16, i64 588, !16, i64 592, !16, i64 596, !16, i64 600, !16, i64 604, !16, i64 608, !16, i64 612, !16, i64 616, !16, i64 620, !16, i64 624, !16, i64 628, !16, i64 632, !16, i64 636, !22, i64 640, !16, i64 648, !16, i64 652, !16, i64 656, !16, i64 660, !16, i64 664, !16, i64 668, !16, i64 672, !16, i64 676, !16, i64 680, !16, i64 684, !16, i64 688, !16, i64 692, !22, i64 696, !16, i64 704, !16, i64 708, !16, i64 712, !16, i64 716, !22, i64 720}
!36 = !{!"_ZTS9CUuuid_st", !17, i64 0}
!37 = !{!9, !16, i64 72}


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