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

; 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::plugin::ProposalPlugin" = type { %"class.nvinfer1::IPluginV2Ext", %"class.std::__cxx11::basic_string", i64, i64, i64, i64, float, i64, float, float, i64, i64, %"class.std::vector.3", i64, %"class.std::vector.3", i64 }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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 }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin14ProposalPluginC2EiiiififfiiPKfiS3_i(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, i32 noundef %6, float noundef %7, float noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  store ptr %0, ptr %16, align 8, !tbaa !5
  store i32 %1, ptr %17, align 4, !tbaa !9
  store i32 %2, ptr %18, align 4, !tbaa !9
  store i32 %3, ptr %19, align 4, !tbaa !9
  store i32 %4, ptr %20, align 4, !tbaa !9
  store float %5, ptr %21, align 4, !tbaa !11
  store i32 %6, ptr %22, align 4, !tbaa !9
  store float %7, ptr %23, align 4, !tbaa !11
  store float %8, ptr %24, align 4, !tbaa !11
  store i32 %9, ptr %25, align 4, !tbaa !9
  store i32 %10, ptr %26, align 4, !tbaa !9
  store ptr %11, ptr %27, align 8, !tbaa !5
  store i32 %12, ptr %28, align 4, !tbaa !9
  store ptr %13, ptr %29, align 8, !tbaa !5
  store i32 %14, ptr %30, align 4, !tbaa !9
  %35 = load ptr, ptr %16, align 8
  call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #3
  store ptr getelementptr inbounds inrange(-16, 200) ({ [27 x ptr] }, ptr @_ZTVN8nvinfer16plugin14ProposalPluginE, i32 0, i32 0, i32 2), ptr %35, align 8, !tbaa !13
  %36 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #3
  %37 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 2
  %38 = load i32, ptr %17, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  store i64 %39, ptr %37, align 8, !tbaa !15
  %40 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 3
  %41 = load i32, ptr %18, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  store i64 %42, ptr %40, align 8, !tbaa !26
  %43 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 4
  %44 = load i32, ptr %19, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  store i64 %45, ptr %43, align 8, !tbaa !27
  %46 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 5
  %47 = load i32, ptr %20, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  store i64 %48, ptr %46, align 8, !tbaa !28
  %49 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 6
  %50 = load float, ptr %21, align 4, !tbaa !11
  store float %50, ptr %49, align 8, !tbaa !29
  %51 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 7
  %52 = load i32, ptr %22, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  store i64 %53, ptr %51, align 8, !tbaa !30
  %54 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 8
  %55 = load float, ptr %23, align 4, !tbaa !11
  store float %55, ptr %54, align 8, !tbaa !31
  %56 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 9
  %57 = load float, ptr %24, align 4, !tbaa !11
  store float %57, ptr %56, align 4, !tbaa !32
  %58 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 10
  %59 = load i32, ptr %25, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  store i64 %60, ptr %58, align 8, !tbaa !33
  %61 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 11
  %62 = load i32, ptr %26, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  store i64 %63, ptr %61, align 8, !tbaa !34
  %64 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 12
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #3
  %65 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 13
  %66 = load i32, ptr %28, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  store i64 %67, ptr %65, align 8, !tbaa !35
  %68 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 14
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #3
  %69 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 15
  %70 = load i32, ptr %30, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  store i64 %71, ptr %69, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #3
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %84, %15
  %73 = load i32, ptr %31, align 4, !tbaa !9
  %74 = load i32, ptr %28, align 4, !tbaa !9
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  br label %91

77:                                               ; preds = %72
  %78 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 12
  %79 = load ptr, ptr %27, align 8, !tbaa !5
  %80 = load i32, ptr %31, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds float, ptr %79, i64 %81
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(4) %82)
          to label %83 unwind label %87

83:                                               ; preds = %77
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %31, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %31, align 4, !tbaa !9
  br label %72, !llvm.loop !37

87:                                               ; preds = %77
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %32, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  br label %112

91:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #3
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %104, %91
  %93 = load i32, ptr %34, align 4, !tbaa !9
  %94 = load i32, ptr %30, align 4, !tbaa !9
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #3
  br label %111

97:                                               ; preds = %92
  %98 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalPlugin", ptr %35, i32 0, i32 14
  %99 = load ptr, ptr %29, align 8, !tbaa !5
  %100 = load i32, ptr %34, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds float, ptr %99, i64 %101
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 4 dereferenceable(4) %102)
          to label %103 unwind label %107

103:                                              ; preds = %97
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %34, align 4, !tbaa !9
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %34, align 4, !tbaa !9
  br label %92, !llvm.loop !39

107:                                              ; preds = %97
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %32, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #3
  br label %112

111:                                              ; preds = %96
  ret void

112:                                              ; preds = %107, %87
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #3
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #3
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #3
  br label %113

113:                                              ; preds = %112
  %114 = load ptr, ptr %32, align 8
  %115 = load i32, ptr %33, align 4
  %116 = insertvalue { ptr, i32 } poison, ptr %114, 0
  %117 = insertvalue { ptr, i32 } %116, i32 %115, 1
  resume { ptr, i32 } %117
}

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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) #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 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 @_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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !21, i64 40}
!16 = !{!"_ZTSN8nvinfer16plugin14ProposalPluginE", !17, i64 0, !19, i64 8, !21, i64 40, !21, i64 48, !21, i64 56, !21, i64 64, !12, i64 72, !21, i64 80, !12, i64 88, !12, i64 92, !21, i64 96, !21, i64 104, !22, i64 112, !21, i64 136, !22, i64 144, !21, i64 168}
!17 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !18, i64 0}
!18 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !21, i64 8, !7, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSSt6vectorIfSaIfEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!16, !21, i64 48}
!27 = !{!16, !21, i64 56}
!28 = !{!16, !21, i64 64}
!29 = !{!16, !12, i64 72}
!30 = !{!16, !21, i64 80}
!31 = !{!16, !12, i64 88}
!32 = !{!16, !12, i64 92}
!33 = !{!16, !21, i64 96}
!34 = !{!16, !21, i64 104}
!35 = !{!16, !21, i64 136}
!36 = !{!16, !21, i64 168}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = distinct !{!39, !38}


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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin14ProposalPluginC2EiiiififfiiPKfiS3_i(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, i32 noundef %6, float noundef %7, float noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #2
  store ptr getelementptr inbounds inrange(-16, 200) (i8, ptr @_ZTVN8nvinfer16plugin14ProposalPluginE, i64 16), ptr %0, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #2
  %17 = getelementptr inbounds i8, ptr %0, i64 40
  %18 = sext i32 %1 to i64
  store i64 %18, ptr %17, align 8, !tbaa !8
  %19 = getelementptr inbounds i8, ptr %0, i64 48
  %20 = sext i32 %2 to i64
  store i64 %20, ptr %19, align 8, !tbaa !22
  %21 = getelementptr inbounds i8, ptr %0, i64 56
  %22 = sext i32 %3 to i64
  store i64 %22, ptr %21, align 8, !tbaa !23
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  %24 = sext i32 %4 to i64
  store i64 %24, ptr %23, align 8, !tbaa !24
  %25 = getelementptr inbounds i8, ptr %0, i64 72
  store float %5, ptr %25, align 8, !tbaa !25
  %26 = getelementptr inbounds i8, ptr %0, i64 80
  %27 = sext i32 %6 to i64
  store i64 %27, ptr %26, align 8, !tbaa !26
  %28 = getelementptr inbounds i8, ptr %0, i64 88
  store float %7, ptr %28, align 8, !tbaa !27
  %29 = getelementptr inbounds i8, ptr %0, i64 92
  store float %8, ptr %29, align 4, !tbaa !28
  %30 = getelementptr inbounds i8, ptr %0, i64 96
  %31 = sext i32 %9 to i64
  store i64 %31, ptr %30, align 8, !tbaa !29
  %32 = getelementptr inbounds i8, ptr %0, i64 104
  %33 = sext i32 %10 to i64
  store i64 %33, ptr %32, align 8, !tbaa !30
  %34 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #2
  %35 = getelementptr inbounds i8, ptr %0, i64 136
  %36 = sext i32 %12 to i64
  store i64 %36, ptr %35, align 8, !tbaa !31
  %37 = getelementptr inbounds i8, ptr %0, i64 144
  tail call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #2
  %38 = getelementptr inbounds i8, ptr %0, i64 168
  %39 = sext i32 %14 to i64
  store i64 %39, ptr %38, align 8, !tbaa !32
  %40 = icmp sgt i32 %12, 0
  br i1 %40, label %.lr.ph.preheader, label %.preheader

.lr.ph.preheader:                                 ; preds = %15
  %wide.trip.count = zext nneg i32 %12 to i64
  br label %.lr.ph

.preheader:                                       ; preds = %43, %15
  %41 = icmp sgt i32 %14, 0
  br i1 %41, label %.lr.ph30.preheader, label %._crit_edge

.lr.ph30.preheader:                               ; preds = %.preheader
  %wide.trip.count35 = zext nneg i32 %14 to i64
  br label %.lr.ph30

.lr.ph:                                           ; preds = %.lr.ph.preheader, %43
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %43 ]
  %42 = getelementptr inbounds float, ptr %11, i64 %indvars.iv
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %43 unwind label %44

43:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader, label %.lr.ph, !llvm.loop !33

44:                                               ; preds = %.lr.ph
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %50

._crit_edge:                                      ; preds = %47, %.preheader
  ret void

.lr.ph30:                                         ; preds = %.lr.ph30.preheader, %47
  %indvars.iv32 = phi i64 [ 0, %.lr.ph30.preheader ], [ %indvars.iv.next33, %47 ]
  %46 = getelementptr inbounds float, ptr %13, i64 %indvars.iv32
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %47 unwind label %48

47:                                               ; preds = %.lr.ph30
  %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32, 1
  %exitcond36.not = icmp eq i64 %indvars.iv.next33, %wide.trip.count35
  br i1 %exitcond36.not, label %._crit_edge, label %.lr.ph30, !llvm.loop !35

48:                                               ; preds = %.lr.ph30
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %50

50:                                               ; preds = %48, %44
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %49, %48 ]
  tail call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #2
  tail call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #2
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #2
  tail call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #2
  resume { ptr, i32 } %.pn
}

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 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 uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; 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 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 @_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 = { 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 = !{!9, !16, i64 40}
!9 = !{!"_ZTSN8nvinfer16plugin14ProposalPluginE", !10, i64 0, !12, i64 8, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !17, i64 72, !16, i64 80, !17, i64 88, !17, i64 92, !16, i64 96, !16, i64 104, !18, i64 112, !16, i64 136, !18, i64 144, !16, i64 168}
!10 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !11, i64 0}
!11 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !16, i64 8, !15, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !15, i64 0}
!15 = !{!"omnipotent char", !7, i64 0}
!16 = !{!"long", !15, i64 0}
!17 = !{!"float", !15, i64 0}
!18 = !{!"_ZTSSt6vectorIfSaIfEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!22 = !{!9, !16, i64 48}
!23 = !{!9, !16, i64 56}
!24 = !{!9, !16, i64 64}
!25 = !{!9, !17, i64 72}
!26 = !{!9, !16, i64 80}
!27 = !{!9, !17, i64 88}
!28 = !{!9, !17, i64 92}
!29 = !{!9, !16, i64 96}
!30 = !{!9, !16, i64 104}
!31 = !{!9, !16, i64 136}
!32 = !{!9, !16, i64 168}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass