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

%"struct.nvinfer1::plugin::PriorBoxParameters" = type { ptr, ptr, ptr, i32, i32, i32, i8, i8, [4 x float], i32, i32, float, float, float }
%class.anon = type { i8 }
%"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 }
%"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] }

@_ZTVN8nvinfer16plugin8PriorBoxE = external dso_local unnamed_addr constant { [27 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin8PriorBoxC2ENS0_18PriorBoxParametersEii(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef byval(%"struct.nvinfer1::plugin::PriorBoxParameters") align 8 %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %class.anon, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  store i32 %3, ptr %7, align 4, !tbaa !9
  %11 = load ptr, ptr %5, align 8
  call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  store ptr getelementptr inbounds inrange(-16, 200) ({ [27 x ptr] }, ptr @_ZTVN8nvinfer16plugin8PriorBoxE, i32 0, i32 0, i32 2), ptr %11, align 8, !tbaa !11
  %12 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %1, i64 80, i1 false), !tbaa.struct !13
  %13 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 2
  store i32 0, ptr %13, align 8, !tbaa !19
  %14 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 3
  %15 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %15, ptr %14, align 4, !tbaa !33
  %16 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 4
  %17 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %17, ptr %16, align 8, !tbaa !34
  %18 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 5
  %19 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %18, i32 0, i32 0
  store i32 0, ptr %19, align 8, !tbaa !35
  %20 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %18, i32 0, i32 1
  store ptr null, ptr %20, align 8, !tbaa !36
  %21 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %18, i32 0, i32 2
  store i64 0, ptr %21, align 8, !tbaa !37
  %22 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 6
  %23 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %22, i32 0, i32 0
  store i32 0, ptr %23, align 8, !tbaa !35
  %24 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %22, i32 0, i32 1
  store ptr null, ptr %24, align 8, !tbaa !36
  %25 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %22, i32 0, i32 2
  store i64 0, ptr %25, align 8, !tbaa !37
  %26 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 7
  %27 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %26, i32 0, i32 0
  store i32 0, ptr %27, align 8, !tbaa !35
  %28 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %26, i32 0, i32 1
  store ptr null, ptr %28, align 8, !tbaa !36
  %29 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %26, i32 0, i32 2
  store i64 0, ptr %29, align 8, !tbaa !37
  %30 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 8
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  %31 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %32 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 10
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %33 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 1
  %35 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %34, i32 0, i32 0
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 8
  %37 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %1, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !38
  %39 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %1, i32 0, i32 3
  %40 = load i32, ptr %39, align 8, !tbaa !39
  invoke void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef %38, i32 noundef %40)
          to label %41 unwind label %58

41:                                               ; preds = %4
  %42 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 1
  %43 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %42, i32 0, i32 1
  %44 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 9
  %45 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %1, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !40
  %47 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %1, i32 0, i32 4
  %48 = load i32, ptr %47, align 4, !tbaa !41
  invoke void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef %46, i32 noundef %48)
          to label %49 unwind label %58

49:                                               ; preds = %41
  %50 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 1
  %51 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %50, i32 0, i32 2
  %52 = getelementptr inbounds %"class.nvinfer1::plugin::PriorBox", ptr %11, i32 0, i32 10
  %53 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %1, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !42
  %55 = getelementptr inbounds %"struct.nvinfer1::plugin::PriorBoxParameters", ptr %1, i32 0, i32 5
  %56 = load i32, ptr %55, align 8, !tbaa !43
  invoke void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef %54, i32 noundef %56)
          to label %57 unwind label %58

57:                                               ; preds = %49
  call void @_ZN8nvinfer16plugin8PriorBox17setupDeviceMemoryEv(ptr noundef nonnull align 8 dereferenceable(280) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  ret void

58:                                               ; preds = %49, %41, %4
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %9, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br label %62

62:                                               ; preds = %58
  %63 = load ptr, ptr %9, align 8
  %64 = load i32, ptr %10, align 4
  %65 = insertvalue { ptr, i32 } poison, ptr %63, 0
  %66 = insertvalue { ptr, i32 } %65, i32 %64, 1
  resume { ptr, i32 } %66
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i32 noundef) #4 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"vtable pointer", !8, i64 0}
!13 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 4, !9, i64 28, i64 4, !9, i64 32, i64 4, !9, i64 36, i64 1, !14, i64 37, i64 1, !14, i64 40, i64 16, !16, i64 56, i64 4, !9, i64 60, i64 4, !9, i64 64, i64 4, !17, i64 68, i64 4, !17, i64 72, i64 4, !17}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = !{!20, !10, i64 88}
!20 = !{!"_ZTSN8nvinfer16plugin8PriorBoxE", !21, i64 0, !23, i64 8, !10, i64 88, !10, i64 92, !10, i64 96, !24, i64 104, !24, i64 128, !24, 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, !15, i64 36, !15, i64 37, !7, i64 40, !10, i64 56, !10, i64 60, !18, i64 64, !18, i64 68, !18, i64 72}
!24 = !{!"_ZTSN8nvinfer17WeightsE", !25, i64 0, !6, i64 8, !26, i64 16}
!25 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!26 = !{!"long", !7, i64 0}
!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, !26, i64 8, !7, i64 16}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!33 = !{!20, !10, i64 92}
!34 = !{!20, !10, i64 96}
!35 = !{!24, !25, i64 0}
!36 = !{!24, !6, i64 8}
!37 = !{!24, !26, i64 16}
!38 = !{!23, !6, i64 0}
!39 = !{!23, !10, i64 24}
!40 = !{!23, !6, i64 8}
!41 = !{!23, !10, i64 28}
!42 = !{!23, !6, i64 16}
!43 = !{!23, !10, i64 32}


; 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::plugin::PriorBoxParameters" = type { ptr, ptr, ptr, i32, i32, i32, i8, i8, [4 x float], i32, i32, float, float, float }
%class.anon = type { i8 }

@_ZTVN8nvinfer16plugin8PriorBoxE = external dso_local unnamed_addr constant { [27 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin8PriorBoxC2ENS0_18PriorBoxParametersEii(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr nocapture noundef readonly byval(%"struct.nvinfer1::plugin::PriorBoxParameters") align 8 %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.anon, align 1
  tail call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  store ptr getelementptr inbounds inrange(-16, 200) (i8, ptr @_ZTVN8nvinfer16plugin8PriorBoxE, i64 16), ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 8 dereferenceable(80) %1, i64 80, i1 false), !tbaa.struct !8
  %7 = getelementptr inbounds i8, ptr %0, i64 88
  store i32 0, ptr %7, align 8, !tbaa !19
  %8 = getelementptr inbounds i8, ptr %0, i64 92
  store i32 %2, ptr %8, align 4, !tbaa !33
  %9 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %3, ptr %9, align 8, !tbaa !34
  %10 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 0, ptr %10, align 8, !tbaa !35
  %11 = getelementptr inbounds i8, ptr %0, i64 112
  %12 = getelementptr inbounds i8, ptr %0, i64 136
  %13 = getelementptr inbounds i8, ptr %0, i64 160
  %14 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %11, i8 0, i64 20, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %12, i8 0, i64 20, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, i8 0, i64 16, i1 false)
  tail call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %15 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %16 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 248
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %18 = load ptr, ptr %1, align 8, !tbaa !36
  %19 = getelementptr inbounds i8, ptr %1, i64 24
  %20 = load i32, ptr %19, align 8, !tbaa !37
  invoke void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef %18, i32 noundef %20)
          to label %21 unwind label %34

21:                                               ; preds = %4
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %23 = getelementptr inbounds i8, ptr %1, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !38
  %25 = getelementptr inbounds i8, ptr %1, i64 28
  %26 = load i32, ptr %25, align 4, !tbaa !39
  invoke void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %24, i32 noundef %26)
          to label %27 unwind label %34

27:                                               ; preds = %21
  %28 = getelementptr inbounds i8, ptr %0, i64 24
  %29 = getelementptr inbounds i8, ptr %1, i64 16
  %30 = load ptr, ptr %29, align 8, !tbaa !40
  %31 = getelementptr inbounds i8, ptr %1, i64 32
  %32 = load i32, ptr %31, align 8, !tbaa !41
  invoke void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef %30, i32 noundef %32)
          to label %33 unwind label %34

33:                                               ; preds = %27
  call void @_ZN8nvinfer16plugin8PriorBox17setupDeviceMemoryEv(ptr noundef nonnull align 8 dereferenceable(280) %0) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  ret void

34:                                               ; preds = %27, %21, %4
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  resume { ptr, i32 } %35
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8nvinfer16plugin8PriorBoxC1ENS0_18PriorBoxParametersEiiENK3$_0clERPfRSt6vectorIfSaIfEEPKfi"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i32 noundef) local_unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{i64 0, i64 8, !9, i64 8, i64 8, !9, i64 16, i64 8, !9, i64 24, i64 4, !12, i64 28, i64 4, !12, i64 32, i64 4, !12, i64 36, i64 1, !14, i64 37, i64 1, !14, i64 40, i64 16, !16, i64 56, i64 4, !12, i64 60, i64 4, !12, i64 64, i64 4, !17, i64 68, i64 4, !17, i64 72, i64 4, !17}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !11, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !11, i64 0}
!19 = !{!20, !13, i64 88}
!20 = !{!"_ZTSN8nvinfer16plugin8PriorBoxE", !21, i64 0, !23, i64 8, !13, i64 88, !13, i64 92, !13, i64 96, !24, i64 104, !24, i64 128, !24, i64 152, !27, i64 176, !27, i64 200, !27, i64 224, !31, i64 248}
!21 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !22, i64 0}
!22 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!23 = !{!"_ZTSN8nvinfer16plugin18PriorBoxParametersE", !10, i64 0, !10, i64 8, !10, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !15, i64 36, !15, i64 37, !11, i64 40, !13, i64 56, !13, i64 60, !18, i64 64, !18, i64 68, !18, i64 72}
!24 = !{!"_ZTSN8nvinfer17WeightsE", !25, i64 0, !10, i64 8, !26, i64 16}
!25 = !{!"_ZTSN8nvinfer18DataTypeE", !11, i64 0}
!26 = !{!"long", !11, i64 0}
!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", !10, i64 0, !10, i64 8, !10, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !32, i64 0, !26, i64 8, !11, i64 16}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!33 = !{!20, !13, i64 92}
!34 = !{!20, !13, i64 96}
!35 = !{!24, !25, i64 0}
!36 = !{!23, !10, i64 0}
!37 = !{!23, !13, i64 24}
!38 = !{!23, !10, i64 8}
!39 = !{!23, !13, i64 28}
!40 = !{!23, !10, i64 16}
!41 = !{!23, !13, i64 32}


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