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

; 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.nvinfer1::PluginTensorDesc" = type { %"class.nvinfer1::Dims64", i32, i32, float }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::plugin::EfficientNMSPlugin" = type { %"class.nvinfer1::IPluginV2DynamicExt", %"struct.nvinfer1::plugin::EfficientNMSParameters", i8, %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::IPluginV2DynamicExt" = type { %"class.nvinfer1::IPluginV2Ext" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"struct.nvinfer1::plugin::EfficientNMSParameters" = type { float, float, i32, i32, i8, i32, i8, i8, i32, i8, i32, i32, i8, i32, i32, i32, i32, i32, i8, i8, i8, i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str = external hidden unnamed_addr constant [98 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

declare void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN8nvinfer16plugin18EfficientNMSPlugin25supportsFormatCombinationEiPKNS_16PluginTensorDescEii(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  %14 = load ptr, ptr %7, align 8
  %15 = load ptr, ptr %9, align 8, !tbaa !5
  %16 = load i32, ptr %8, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %15, i64 %17
  %19 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %18, i32 0, i32 2
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %23

22:                                               ; preds = %5
  store i1 false, ptr %6, align 1
  br label %174

23:                                               ; preds = %5
  %24 = getelementptr inbounds %"class.nvinfer1::plugin::EfficientNMSPlugin", ptr %14, i32 0, i32 1
  %25 = getelementptr inbounds %"struct.nvinfer1::plugin::EfficientNMSParameters", ptr %24, i32 0, i32 12
  %26 = load i8, ptr %25, align 4, !tbaa !17, !range !27, !noundef !28
  %27 = trunc i8 %26 to i1
  br i1 %27, label %28, label %79

28:                                               ; preds = %23
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 2
  br i1 %30, label %33, label %31

31:                                               ; preds = %28
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.7, ptr noundef @.str, i32 noundef 246)
          to label %32 unwind label %176

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32, %28
  %34 = load i32, ptr %11, align 4, !tbaa !9
  %35 = icmp eq i32 %34, 1
  br i1 %35, label %38, label %36

36:                                               ; preds = %33
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.8, ptr noundef @.str, i32 noundef 247)
          to label %37 unwind label %176

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37, %33
  %39 = load i32, ptr %8, align 4, !tbaa !9
  %40 = icmp eq i32 %39, 2
  br i1 %40, label %41, label %49

41:                                               ; preds = %38
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %42, i64 %44
  %46 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !29
  %48 = icmp eq i32 %47, 3
  store i1 %48, ptr %6, align 1
  br label %174

49:                                               ; preds = %38
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = load i32, ptr %8, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %50, i64 %52
  %54 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %53, i32 0, i32 1
  %55 = load i32, ptr %54, align 8, !tbaa !29
  %56 = icmp eq i32 %55, 1
  br i1 %56, label %65, label %57

57:                                               ; preds = %49
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = load i32, ptr %8, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %58, i64 %60
  %62 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 8, !tbaa !29
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %77

65:                                               ; preds = %57, %49
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %66, i64 0
  %68 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 8, !tbaa !29
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %70, i64 %72
  %74 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %73, i32 0, i32 1
  %75 = load i32, ptr %74, align 8, !tbaa !29
  %76 = icmp eq i32 %69, %75
  br label %77

77:                                               ; preds = %65, %57
  %78 = phi i1 [ false, %57 ], [ %76, %65 ]
  store i1 %78, ptr %6, align 1
  br label %174

79:                                               ; preds = %23
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = icmp eq i32 %80, 2
  br i1 %81, label %87, label %82

82:                                               ; preds = %79
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = icmp eq i32 %83, 3
  br i1 %84, label %87, label %85

85:                                               ; preds = %82
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.9, ptr noundef @.str, i32 noundef 260)
          to label %86 unwind label %176

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86, %82, %79
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = icmp eq i32 %88, 4
  br i1 %89, label %92, label %90

90:                                               ; preds = %87
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.10, ptr noundef @.str, i32 noundef 261)
          to label %91 unwind label %176

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91, %87
  %93 = load i32, ptr %10, align 4, !tbaa !9
  %94 = icmp eq i32 %93, 2
  br i1 %94, label %95, label %104

95:                                               ; preds = %92
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = icmp sle i32 0, %96
  br i1 %97, label %98, label %101

98:                                               ; preds = %95
  %99 = load i32, ptr %8, align 4, !tbaa !9
  %100 = icmp sle i32 %99, 5
  br i1 %100, label %103, label %101

101:                                              ; preds = %98, %95
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.11, ptr noundef @.str, i32 noundef 264)
          to label %102 unwind label %176

102:                                              ; preds = %101
  br label %103

103:                                              ; preds = %102, %98
  br label %104

104:                                              ; preds = %103, %92
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = icmp eq i32 %105, 3
  br i1 %106, label %107, label %116

107:                                              ; preds = %104
  %108 = load i32, ptr %8, align 4, !tbaa !9
  %109 = icmp sle i32 0, %108
  br i1 %109, label %110, label %113

110:                                              ; preds = %107
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = icmp sle i32 %111, 6
  br i1 %112, label %115, label %113

113:                                              ; preds = %110, %107
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.12, ptr noundef @.str, i32 noundef 268)
          to label %114 unwind label %176

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114, %110
  br label %116

116:                                              ; preds = %115, %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %117 = load i32, ptr %8, align 4, !tbaa !9
  %118 = load i32, ptr %10, align 4, !tbaa !9
  %119 = sub nsw i32 %117, %118
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %125, label %122

122:                                              ; preds = %116
  %123 = load i32, ptr %12, align 4, !tbaa !9
  %124 = icmp eq i32 %123, 3
  br i1 %124, label %125, label %143

125:                                              ; preds = %122, %116
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = load i32, ptr %8, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %126, i64 %128
  %130 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 8, !tbaa !29
  %132 = icmp eq i32 %131, 3
  br i1 %132, label %133, label %141

133:                                              ; preds = %125
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = load i32, ptr %8, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %134, i64 %136
  %138 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %137, i32 0, i32 2
  %139 = load i32, ptr %138, align 4, !tbaa !11
  %140 = icmp eq i32 %139, 0
  br label %141

141:                                              ; preds = %133, %125
  %142 = phi i1 [ false, %125 ], [ %140, %133 ]
  store i1 %142, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %173

143:                                              ; preds = %122
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %144, i64 %146
  %148 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %147, i32 0, i32 1
  %149 = load i32, ptr %148, align 8, !tbaa !29
  %150 = icmp eq i32 %149, 1
  br i1 %150, label %159, label %151

151:                                              ; preds = %143
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = load i32, ptr %8, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %152, i64 %154
  %156 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %155, i32 0, i32 1
  %157 = load i32, ptr %156, align 8, !tbaa !29
  %158 = icmp eq i32 %157, 0
  br i1 %158, label %159, label %171

159:                                              ; preds = %151, %143
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %160, i64 0
  %162 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %161, i32 0, i32 1
  %163 = load i32, ptr %162, align 8, !tbaa !29
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = load i32, ptr %8, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %164, i64 %166
  %168 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %167, i32 0, i32 1
  %169 = load i32, ptr %168, align 8, !tbaa !29
  %170 = icmp eq i32 %163, %169
  br label %171

171:                                              ; preds = %159, %151
  %172 = phi i1 [ false, %151 ], [ %170, %159 ]
  store i1 %172, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %173

173:                                              ; preds = %171, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %174

174:                                              ; preds = %173, %77, %41, %22
  %175 = load i1, ptr %6, align 1
  ret i1 %175

176:                                              ; preds = %113, %101, %90, %85, %36, %31
  %177 = landingpad { ptr, i32 }
          catch ptr null
  %178 = extractvalue { ptr, i32 } %177, 0
  call void @__clang_call_terminate(ptr %178) #5
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 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 #4 = { nounwind }
attributes #5 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !15, i64 76}
!12 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !13, i64 0, !14, i64 72, !15, i64 76, !16, i64 80}
!13 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!14 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!15 = !{!"_ZTSN8nvinfer112TensorFormatE", !7, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!18, !23, i64 52}
!18 = !{!"_ZTSN8nvinfer16plugin18EfficientNMSPluginE", !19, i64 0, !22, i64 8, !23, i64 84, !24, i64 88}
!19 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !20, i64 0}
!20 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !21, i64 0}
!21 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!22 = !{!"_ZTSN8nvinfer16plugin22EfficientNMSParametersE", !16, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !23, i64 16, !10, i64 20, !23, i64 24, !23, i64 25, !10, i64 28, !23, i64 32, !10, i64 36, !10, i64 40, !23, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !23, i64 68, !23, i64 69, !23, i64 70, !14, i64 72}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !26, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!12, !14, i64 72}


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

@.str = external hidden unnamed_addr constant [98 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN8nvinfer16plugin18EfficientNMSPlugin25supportsFormatCombinationEiPKNS_16PluginTensorDescEii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120) %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = sext i32 %1 to i64
  %7 = getelementptr inbounds %"struct.nvinfer1::PluginTensorDesc", ptr %2, i64 %6
  %8 = getelementptr inbounds i8, ptr %7, i64 76
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %10, label %58

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 52
  %12 = load i8, ptr %11, align 4, !tbaa !14, !range !25, !noundef !26
  %13 = trunc nuw i8 %12 to i1
  br i1 %13, label %14, label %31

14:                                               ; preds = %10
  %15 = icmp eq i32 %3, 2
  br i1 %15, label %17, label %16

16:                                               ; preds = %14
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str, i32 noundef 246)
          to label %17 unwind label %59

17:                                               ; preds = %16, %14
  %18 = icmp eq i32 %4, 1
  br i1 %18, label %20, label %19

19:                                               ; preds = %17
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str, i32 noundef 247)
          to label %20 unwind label %59

20:                                               ; preds = %19, %17
  %21 = icmp eq i32 %1, 2
  %22 = getelementptr inbounds i8, ptr %7, i64 72
  %23 = load i32, ptr %22, align 8, !tbaa !27
  br i1 %21, label %24, label %26

24:                                               ; preds = %20
  %25 = icmp eq i32 %23, 3
  br label %58

26:                                               ; preds = %20
  %switch = icmp ult i32 %23, 2
  br i1 %switch, label %27, label %58

27:                                               ; preds = %26
  %28 = getelementptr inbounds i8, ptr %2, i64 72
  %29 = load i32, ptr %28, align 8, !tbaa !27
  %30 = icmp eq i32 %29, %23
  br label %58

31:                                               ; preds = %10
  %32 = icmp ne i32 %3, 2
  %33 = icmp ne i32 %3, 3
  %34 = and i32 %3, -2
  %or.cond = icmp eq i32 %34, 2
  br i1 %or.cond, label %36, label %35

35:                                               ; preds = %31
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str, i32 noundef 260)
          to label %36 unwind label %59

36:                                               ; preds = %35, %31
  %37 = icmp eq i32 %4, 4
  br i1 %37, label %39, label %38

38:                                               ; preds = %36
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str, i32 noundef 261)
          to label %39 unwind label %59

39:                                               ; preds = %38, %36
  %or.cond3 = icmp ult i32 %1, 6
  %or.cond48 = or i1 %or.cond3, %32
  br i1 %or.cond48, label %40, label %.invoke

40:                                               ; preds = %39
  %or.cond5 = icmp ult i32 %1, 7
  %or.cond49 = or i1 %or.cond5, %33
  br i1 %or.cond49, label %.thread, label %.invoke

.invoke:                                          ; preds = %40, %39
  %41 = phi ptr [ @.str.11, %39 ], [ @.str.12, %40 ]
  %42 = phi i32 [ 264, %39 ], [ 268, %40 ]
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull %41, ptr noundef nonnull @.str, i32 noundef %42)
          to label %.thread unwind label %59

.thread:                                          ; preds = %.invoke, %40
  %43 = sub nsw i32 %1, %3
  %44 = icmp eq i32 %1, %3
  %45 = icmp eq i32 %43, 3
  %or.cond7 = select i1 %44, i1 true, i1 %45
  %46 = getelementptr inbounds i8, ptr %7, i64 72
  %47 = load i32, ptr %46, align 8, !tbaa !27
  br i1 %or.cond7, label %48, label %53

48:                                               ; preds = %.thread
  %49 = icmp eq i32 %47, 3
  br i1 %49, label %50, label %58

50:                                               ; preds = %48
  %51 = load i32, ptr %8, align 4, !tbaa !5
  %52 = icmp eq i32 %51, 0
  br label %58

53:                                               ; preds = %.thread
  %switch50 = icmp ult i32 %47, 2
  br i1 %switch50, label %54, label %58

54:                                               ; preds = %53
  %55 = getelementptr inbounds i8, ptr %2, i64 72
  %56 = load i32, ptr %55, align 8, !tbaa !27
  %57 = icmp eq i32 %56, %47
  br label %58

58:                                               ; preds = %53, %26, %50, %48, %54, %27, %5, %24
  %.1 = phi i1 [ %25, %24 ], [ false, %5 ], [ %30, %27 ], [ false, %26 ], [ false, %48 ], [ %52, %50 ], [ %57, %54 ], [ false, %53 ]
  ret i1 %.1

59:                                               ; preds = %.invoke, %38, %35, %19, %16
  %60 = landingpad { ptr, i32 }
          catch ptr null
  %61 = extractvalue { ptr, i32 } %60, 0
  tail call void @__clang_call_terminate(ptr %61) #3
  unreachable
}

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn 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, !12, i64 76}
!6 = !{!"_ZTSN8nvinfer116PluginTensorDescE", !7, i64 0, !11, i64 72, !12, i64 76, !13, i64 80}
!7 = !{!"_ZTSN8nvinfer16Dims64E", !8, i64 0, !9, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN8nvinfer18DataTypeE", !9, i64 0}
!12 = !{!"_ZTSN8nvinfer112TensorFormatE", !9, i64 0}
!13 = !{!"float", !9, i64 0}
!14 = !{!15, !20, i64 52}
!15 = !{!"_ZTSN8nvinfer16plugin18EfficientNMSPluginE", !16, i64 0, !19, i64 8, !20, i64 84, !21, i64 88}
!16 = !{!"_ZTSN8nvinfer119IPluginV2DynamicExtE", !17, i64 0}
!17 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !18, i64 0}
!18 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!19 = !{!"_ZTSN8nvinfer16plugin22EfficientNMSParametersE", !13, i64 0, !13, i64 4, !8, i64 8, !8, i64 12, !20, i64 16, !8, i64 20, !20, i64 24, !20, i64 25, !8, i64 28, !20, i64 32, !8, i64 36, !8, i64 40, !20, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !20, i64 68, !20, i64 69, !20, i64 70, !11, i64 72}
!20 = !{!"bool", !9, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !24, i64 8, !9, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !23, i64 0}
!23 = !{!"any pointer", !9, i64 0}
!24 = !{!"long", !9, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!6, !11, i64 72}


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