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

; 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.nvinfer1::plugin::PriorBox" = type { %"class.nvinfer1::IPluginV2Ext", %"struct.nvinfer1::plugin::PriorBoxParameters", i32, i32, i32, %"class.nvinfer1::Weights", %"class.nvinfer1::Weights", %"class.nvinfer1::Weights", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"struct.nvinfer1::plugin::PriorBoxParameters" = type { ptr, ptr, ptr, i32, i32, i32, i8, i8, [4 x float], i32, i32, float, float, float }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, 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] }

@.str = external hidden unnamed_addr constant [90 x i8], align 1
@__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi = external hidden unnamed_addr constant [16 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [26 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

26:                                               ; preds = %11
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef 330, i32 noundef 0, ptr noundef @.str.19) #3
          to label %27 unwind label %150

27:                                               ; preds = %26
  unreachable

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

31:                                               ; preds = %28
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef 331, i32 noundef 0, ptr noundef @.str.20) #3
          to label %32 unwind label %150

32:                                               ; preds = %31
  unreachable

33:                                               ; preds = %28
  %34 = load ptr, ptr %13, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %42

36:                                               ; preds = %33
  %37 = load ptr, ptr %15, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %42

39:                                               ; preds = %36
  %40 = load ptr, ptr %17, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %44, label %42

42:                                               ; preds = %39, %36, %33
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef 332, i32 noundef 0, ptr noundef @.str.21) #3
          to label %43 unwind label %150

43:                                               ; preds = %42
  unreachable

44:                                               ; preds = %39
  %45 = load ptr, ptr %17, align 8, !tbaa !5
  %46 = load i32, ptr %45, align 4, !tbaa !13
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %51

48:                                               ; preds = %44
  %49 = load i32, ptr %21, align 4, !tbaa !11
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %53, label %51

51:                                               ; preds = %48, %44
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef 333, i32 noundef 0, ptr noundef @.str.22) #3
          to label %52 unwind label %150

52:                                               ; preds = %51
  unreachable

53:                                               ; preds = %48
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %54, i64 0
  %56 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %55, i32 0, i32 0
  %57 = load i32, ptr %56, align 8, !tbaa !15
  %58 = icmp eq i32 %57, 3
  br i1 %58, label %61, label %59

59:                                               ; preds = %53
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef 334, i32 noundef 0, ptr noundef @.str.23) #3
          to label %60 unwind label %150

60:                                               ; preds = %59
  unreachable

61:                                               ; preds = %53
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %62, i64 1
  %64 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !15
  %66 = icmp eq i32 %65, 3
  br i1 %66, label %69, label %67

67:                                               ; preds = %61
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef 335, i32 noundef 0, ptr noundef @.str.24) #3
          to label %68 unwind label %150

68:                                               ; preds = %67
  unreachable

69:                                               ; preds = %61
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %70, i64 0
  %72 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !15
  %74 = icmp eq i32 %73, 3
  br i1 %74, label %77, label %75

75:                                               ; preds = %69
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str, ptr noundef @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef 336, i32 noundef 0, ptr noundef @.str.25) #3
          to label %76 unwind label %150

76:                                               ; preds = %75
  unreachable

77:                                               ; preds = %69
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %78, i64 0
  %80 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %79, i32 0, i32 1
  %81 = getelementptr inbounds [8 x i64], ptr %80, i64 0, i64 1
  %82 = load i64, ptr %81, align 8, !tbaa !17
  %83 = trunc i64 %82 to i32
  %84 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 3
  store i32 %83, ptr %84, align 4, !tbaa !19
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %85, i64 0
  %87 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %86, i32 0, i32 1
  %88 = getelementptr inbounds [8 x i64], ptr %87, i64 0, i64 2
  %89 = load i64, ptr %88, align 8, !tbaa !17
  %90 = trunc i64 %89 to i32
  %91 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 4
  store i32 %90, ptr %91, align 8, !tbaa !33
  %92 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %93 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %92, i32 0, i32 9
  %94 = load i32, ptr %93, align 8, !tbaa !34
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %101, label %96

96:                                               ; preds = %77
  %97 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %98 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %97, i32 0, i32 10
  %99 = load i32, ptr %98, align 4, !tbaa !35
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %101, label %118

101:                                              ; preds = %96, %77
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %102, i64 1
  %104 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %103, i32 0, i32 1
  %105 = getelementptr inbounds [8 x i64], ptr %104, i64 0, i64 1
  %106 = load i64, ptr %105, align 8, !tbaa !17
  %107 = trunc i64 %106 to i32
  %108 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %109 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %108, i32 0, i32 9
  store i32 %107, ptr %109, align 8, !tbaa !34
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %110, i64 1
  %112 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %111, i32 0, i32 1
  %113 = getelementptr inbounds [8 x i64], ptr %112, i64 0, i64 2
  %114 = load i64, ptr %113, align 8, !tbaa !17
  %115 = trunc i64 %114 to i32
  %116 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %117 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %116, i32 0, i32 10
  store i32 %115, ptr %117, align 4, !tbaa !35
  br label %118

118:                                              ; preds = %101, %96
  %119 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %120 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %119, i32 0, i32 11
  %121 = load float, ptr %120, align 8, !tbaa !36
  %122 = fcmp oeq float %121, 0.000000e+00
  br i1 %122, label %128, label %123

123:                                              ; preds = %118
  %124 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %125 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %124, i32 0, i32 12
  %126 = load float, ptr %125, align 4, !tbaa !37
  %127 = fcmp oeq float %126, 0.000000e+00
  br i1 %127, label %128, label %149

128:                                              ; preds = %123, %118
  %129 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %130 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %129, i32 0, i32 9
  %131 = load i32, ptr %130, align 8, !tbaa !34
  %132 = sitofp i32 %131 to float
  %133 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 3
  %134 = load i32, ptr %133, align 4, !tbaa !19
  %135 = sitofp i32 %134 to float
  %136 = fdiv float %132, %135
  %137 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %138 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %137, i32 0, i32 11
  store float %136, ptr %138, align 8, !tbaa !36
  %139 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %140 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %139, i32 0, i32 10
  %141 = load i32, ptr %140, align 4, !tbaa !35
  %142 = sitofp i32 %141 to float
  %143 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 4
  %144 = load i32, ptr %143, align 8, !tbaa !33
  %145 = sitofp i32 %144 to float
  %146 = fdiv float %142, %145
  %147 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %23, i32 0, i32 1
  %148 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %147, i32 0, i32 12
  store float %146, ptr %148, align 4, !tbaa !37
  br label %149

149:                                              ; preds = %128, %123
  ret void

150:                                              ; preds = %75, %67, %59, %51, %42, %31, %26
  %151 = landingpad { ptr, i32 }
          catch ptr null
  %152 = extractvalue { ptr, i32 } %151, 0
  call void @__clang_call_terminate(ptr %152) #4
  unreachable
}

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 }
attributes #4 = { 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, !12, i64 0}
!12 = !{!"_ZTSN8nvinfer112TensorFormatE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!20, !10, i64 92}
!20 = !{!"_ZTSN8nvinfer16plugin8PriorBoxE", !21, i64 0, !23, i64 8, !10, i64 88, !10, i64 92, !10, i64 96, !26, i64 104, !26, i64 128, !26, i64 152, !27, i64 176, !27, i64 200, !27, i64 224, !31, i64 248}
!21 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !22, i64 0}
!22 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!23 = !{!"_ZTSN8nvinfer16plugin18PriorBoxParametersE", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !24, i64 36, !24, i64 37, !7, i64 40, !10, i64 56, !10, i64 60, !25, i64 64, !25, i64 68, !25, i64 72}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"float", !7, i64 0}
!26 = !{!"_ZTSN8nvinfer17WeightsE", !14, i64 0, !6, i64 8, !18, i64 16}
!27 = !{!"_ZTSSt6vectorIfSaIfEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !32, i64 0, !18, i64 8, !7, i64 16}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!33 = !{!20, !10, i64 96}
!34 = !{!20, !10, i64 64}
!35 = !{!20, !10, i64 68}
!36 = !{!20, !25, i64 72}
!37 = !{!20, !25, i64 76}


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

@.str = external hidden unnamed_addr constant [90 x i8], align 1
@__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi = external hidden unnamed_addr constant [16 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [26 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi(ptr nocapture noundef nonnull align 8 dereferenceable(280) %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef readonly %3, i32 noundef %4, ptr noundef readonly %5, ptr nocapture noundef readnone %6, ptr nocapture noundef readnone %7, ptr nocapture noundef readnone %8, i32 noundef %9, i32 noundef %10) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %12 = icmp eq i32 %2, 2
  br i1 %12, label %13, label %.invoke

13:                                               ; preds = %11
  %14 = icmp eq i32 %4, 1
  br i1 %14, label %15, label %.invoke

15:                                               ; preds = %13
  %16 = icmp ne ptr %1, null
  %17 = icmp ne ptr %3, null
  %or.cond = and i1 %16, %17
  %18 = icmp ne ptr %5, null
  %or.cond3 = and i1 %or.cond, %18
  br i1 %or.cond3, label %19, label %.invoke

19:                                               ; preds = %15
  %20 = load i32, ptr %5, align 4, !tbaa !5
  %21 = or i32 %20, %9
  %or.cond5 = icmp eq i32 %21, 0
  br i1 %or.cond5, label %22, label %.invoke

22:                                               ; preds = %19
  %23 = load i32, ptr %1, align 8, !tbaa !9
  %24 = icmp eq i32 %23, 3
  br i1 %24, label %25, label %.invoke

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %1, i64 72
  %27 = load i32, ptr %26, align 8, !tbaa !9
  %28 = icmp eq i32 %27, 3
  br i1 %28, label %29, label %.invoke

29:                                               ; preds = %25
  %30 = load i32, ptr %3, align 8, !tbaa !9
  %31 = icmp eq i32 %30, 3
  br i1 %31, label %34, label %.invoke

.invoke:                                          ; preds = %29, %25, %22, %19, %15, %13, %11
  %32 = phi i32 [ 330, %11 ], [ 331, %13 ], [ 332, %15 ], [ 333, %19 ], [ 334, %22 ], [ 335, %25 ], [ 336, %29 ]
  %33 = phi ptr [ @.str.19, %11 ], [ @.str.20, %13 ], [ @.str.21, %15 ], [ @.str.22, %19 ], [ @.str.23, %22 ], [ @.str.24, %25 ], [ @.str.25, %29 ]
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN8nvinfer16plugin8PriorBox15configurePluginEPKNS_6Dims64EiS4_iPKNS_8DataTypeES7_PKbS9_NS_12TensorFormatEi, i32 noundef %32, i32 noundef 0, ptr noundef nonnull %33) #3
          to label %.cont unwind label %61

.cont:                                            ; preds = %.invoke
  unreachable

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %1, i64 16
  %36 = getelementptr inbounds i8, ptr %0, i64 92
  %37 = getelementptr inbounds i8, ptr %0, i64 64
  %38 = load <2 x i64>, ptr %35, align 8, !tbaa !12
  %39 = trunc <2 x i64> %38 to <2 x i32>
  store <2 x i32> %39, ptr %36, align 4, !tbaa !14
  %40 = load <2 x i32>, ptr %37, align 8
  %41 = icmp eq <2 x i32> %40, zeroinitializer
  %42 = extractelement <2 x i1> %41, i64 0
  %43 = extractelement <2 x i1> %41, i64 1
  %or.cond23 = select i1 %42, i1 true, i1 %43
  br i1 %or.cond23, label %44, label %48

44:                                               ; preds = %34
  %45 = getelementptr inbounds i8, ptr %1, i64 88
  %46 = load <2 x i64>, ptr %45, align 8, !tbaa !12
  %47 = trunc <2 x i64> %46 to <2 x i32>
  store <2 x i32> %47, ptr %37, align 8, !tbaa !14
  br label %48

48:                                               ; preds = %34, %44
  %49 = phi <2 x i32> [ %40, %34 ], [ %47, %44 ]
  %50 = getelementptr inbounds i8, ptr %0, i64 72
  %51 = load float, ptr %50, align 8, !tbaa !15
  %52 = fcmp oeq float %51, 0.000000e+00
  %53 = getelementptr inbounds i8, ptr %0, i64 76
  %54 = load float, ptr %53, align 4
  %55 = fcmp oeq float %54, 0.000000e+00
  %or.cond26 = select i1 %52, i1 true, i1 %55
  br i1 %or.cond26, label %56, label %60

56:                                               ; preds = %48
  %57 = sitofp <2 x i32> %49 to <2 x float>
  %58 = sitofp <2 x i32> %39 to <2 x float>
  %59 = fdiv <2 x float> %57, %58
  store <2 x float> %59, ptr %50, align 8, !tbaa !30
  br label %60

60:                                               ; preds = %48, %56
  ret void

61:                                               ; preds = %.invoke
  %62 = landingpad { ptr, i32 }
          catch ptr null
  %63 = extractvalue { ptr, i32 } %62, 0
  tail call void @__clang_call_terminate(ptr %63) #4
  unreachable
}

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 }
attributes #4 = { 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 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN8nvinfer16Dims64E", !11, i64 0, !7, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !22, i64 72}
!16 = !{!"_ZTSN8nvinfer16plugin8PriorBoxE", !17, i64 0, !19, i64 8, !11, i64 88, !11, i64 92, !11, i64 96, !23, i64 104, !23, i64 128, !23, i64 152, !24, i64 176, !24, i64 200, !24, i64 224, !28, i64 248}
!17 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !18, i64 0}
!18 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!19 = !{!"_ZTSN8nvinfer16plugin18PriorBoxParametersE", !20, i64 0, !20, i64 8, !20, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !21, i64 36, !21, i64 37, !7, i64 40, !11, i64 56, !11, i64 60, !22, i64 64, !22, i64 68, !22, i64 72}
!20 = !{!"any pointer", !7, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSN8nvinfer17WeightsE", !6, i64 0, !20, i64 8, !13, i64 16}
!24 = !{!"_ZTSSt6vectorIfSaIfEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !13, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !20, i64 0}
!30 = !{!22, !22, i64 0}


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