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

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.__gnu_cxx::__normal_iterator.26" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::plugin::ProposalLayer" = type { %"class.nvinfer1::IPluginV2Ext", i32, i32, i32, float, i32, i32, %"class.std::shared_ptr", %"class.std::shared_ptr.17", %"class.std::vector", i32, %"class.nvinfer1::Dims64", %struct.RefineNMSParameters, %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.17" = type { %"class.std::__shared_ptr.18" }
%"class.std::__shared_ptr.18" = type { ptr, %"class.std::__shared_count" }
%struct.RefineNMSParameters = type { i32, i32, i32, float, float }
%"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] }

@_ZN14MaskRCNNConfigL16BACKBONE_STRIDESE = external hidden global %"class.std::vector", align 8
@_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE = external hidden global %"class.std::vector", align 8
@.str.102 = external hidden unnamed_addr constant [100 x i8], align 1
@__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E = external hidden unnamed_addr constant [25 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [45 x i8], align 1
@_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE = external hidden constant [3 x float], align 4
@.str.118 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [24 x i8], align 1

; 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: noreturn
declare void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef nonnull align 8 dereferenceable(72) %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.std::initializer_list", align 8
  %28 = alloca [4 x float], align 4
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %30 = load ptr, ptr %3, align 8
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !9
  %34 = icmp eq i32 %33, 3
  br i1 %34, label %35, label %41

35:                                               ; preds = %2
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %36, i32 0, i32 1
  %38 = getelementptr inbounds [8 x i64], ptr %37, i64 0, i64 0
  %39 = load i64, ptr %38, align 8, !tbaa !12
  %40 = icmp eq i64 %39, 3
  br i1 %40, label %42, label %41

41:                                               ; preds = %35, %2
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.102, ptr noundef @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 300, i32 noundef 0, ptr noundef @.str.117) #5
  unreachable

42:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store ptr @_ZN14MaskRCNNConfigL16BACKBONE_STRIDESE, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 1, ptr %8, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %43, i32 0, i32 1
  %45 = getelementptr inbounds [8 x i64], ptr %44, i64 0, i64 1
  %46 = load i64, ptr %45, align 8, !tbaa !12
  %47 = sub nsw i64 %46, 1
  %48 = sitofp i64 %47 to float
  store float %48, ptr %9, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %49, i32 0, i32 1
  %51 = getelementptr inbounds [8 x i64], ptr %50, i64 0, i64 2
  %52 = load i64, ptr %51, align 8, !tbaa !12
  %53 = sub nsw i64 %52, 1
  %54 = sitofp i64 %53 to float
  store float %54, ptr %10, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %55 = getelementptr inbounds %"class.nvinfer1::plugin::ProposalLayer", ptr %30, i32 0, i32 9
  store ptr %55, ptr %11, align 8, !tbaa !5
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = call noundef zeroext i1 @_ZNKSt6vectorIfSaIfEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  br i1 %57, label %59, label %58

58:                                               ; preds = %42
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.102, ptr noundef @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 311, i32 noundef 0, ptr noundef @.str.118) #5
  unreachable

59:                                               ; preds = %42
  %60 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE) #6
  %61 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL16BACKBONE_STRIDESE) #6
  %62 = icmp eq i64 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.102, ptr noundef @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 313, i32 noundef 0, ptr noundef @.str.119) #5
  unreachable

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !12
  br label %65

65:                                               ; preds = %179, %64
  %66 = load i64, ptr %12, align 8, !tbaa !12
  %67 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE) #6
  %68 = icmp ult i64 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %182

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %71 = load i64, ptr %12, align 8, !tbaa !12
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE, i64 noundef %71) #6
  %73 = load float, ptr %72, align 4, !tbaa !15
  store float %73, ptr %14, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %74 = load i64, ptr %12, align 8, !tbaa !12
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL16BACKBONE_STRIDESE, i64 noundef %74) #6
  %76 = load float, ptr %75, align 4, !tbaa !15
  %77 = fptosi float %76 to i32
  store i32 %77, ptr %15, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !14
  br label %78

78:                                               ; preds = %172, %70
  %79 = load i32, ptr %16, align 4, !tbaa !14
  %80 = sext i32 %79 to i64
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %81, i32 0, i32 1
  %83 = getelementptr inbounds [8 x i64], ptr %82, i64 0, i64 1
  %84 = load i64, ptr %83, align 8, !tbaa !12
  %85 = icmp slt i64 %80, %84
  br i1 %85, label %87, label %86

86:                                               ; preds = %78
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %178

87:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !14
  br label %88

88:                                               ; preds = %165, %87
  %89 = load i32, ptr %17, align 4, !tbaa !14
  %90 = sext i32 %89 to i64
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %91, i32 0, i32 1
  %93 = getelementptr inbounds [8 x i64], ptr %92, i64 0, i64 2
  %94 = load i64, ptr %93, align 8, !tbaa !12
  %95 = icmp slt i64 %90, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %88
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %171

97:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store ptr getelementptr inbounds (float, ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE, i64 3), ptr %20, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %161, %97
  %99 = load ptr, ptr %19, align 8, !tbaa !5
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  %101 = icmp ne ptr %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %164

103:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %104 = load ptr, ptr %19, align 8, !tbaa !5
  %105 = load float, ptr %104, align 4, !tbaa !15
  store float %105, ptr %21, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %106 = load float, ptr %21, align 4, !tbaa !15
  %107 = call noundef float @_ZSt4sqrtf(float noundef %106)
  store float %107, ptr %22, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %108 = load float, ptr %14, align 4, !tbaa !15
  %109 = load float, ptr %22, align 4, !tbaa !15
  %110 = fdiv float %108, %109
  store float %110, ptr %23, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %111 = load float, ptr %14, align 4, !tbaa !15
  %112 = load float, ptr %22, align 4, !tbaa !15
  %113 = fmul float %111, %112
  store float %113, ptr %24, align 4, !tbaa !15
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = call ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #6
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  %118 = load i32, ptr %16, align 4, !tbaa !14
  %119 = sitofp i32 %118 to float
  %120 = load float, ptr %23, align 4, !tbaa !15
  %121 = fdiv float %120, 2.000000e+00
  %122 = fsub float %119, %121
  %123 = load float, ptr %9, align 4, !tbaa !15
  %124 = fdiv float %122, %123
  store float %124, ptr %28, align 4, !tbaa !15
  %125 = getelementptr inbounds float, ptr %28, i64 1
  %126 = load i32, ptr %17, align 4, !tbaa !14
  %127 = sitofp i32 %126 to float
  %128 = load float, ptr %24, align 4, !tbaa !15
  %129 = fdiv float %128, 2.000000e+00
  %130 = fsub float %127, %129
  %131 = load float, ptr %10, align 4, !tbaa !15
  %132 = fdiv float %130, %131
  store float %132, ptr %125, align 4, !tbaa !15
  %133 = getelementptr inbounds float, ptr %28, i64 2
  %134 = load i32, ptr %16, align 4, !tbaa !14
  %135 = sitofp i32 %134 to float
  %136 = load float, ptr %23, align 4, !tbaa !15
  %137 = fdiv float %136, 2.000000e+00
  %138 = fadd float %135, %137
  %139 = fsub float %138, 1.000000e+00
  %140 = load float, ptr %9, align 4, !tbaa !15
  %141 = fdiv float %139, %140
  store float %141, ptr %133, align 4, !tbaa !15
  %142 = getelementptr inbounds float, ptr %28, i64 3
  %143 = load i32, ptr %17, align 4, !tbaa !14
  %144 = sitofp i32 %143 to float
  %145 = load float, ptr %24, align 4, !tbaa !15
  %146 = fdiv float %145, 2.000000e+00
  %147 = fadd float %144, %146
  %148 = fsub float %147, 1.000000e+00
  %149 = load float, ptr %10, align 4, !tbaa !15
  %150 = fdiv float %148, %149
  store float %150, ptr %142, align 4, !tbaa !15
  %151 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 0
  store ptr %28, ptr %151, align 8, !tbaa !17
  %152 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 1
  store i64 4, ptr %152, align 8, !tbaa !19
  %153 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %25, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8
  %157 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %158 = load i64, ptr %157, align 8
  %159 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr %154, ptr %156, i64 %158)
  %160 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %159, ptr %160, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %161

161:                                              ; preds = %103
  %162 = load ptr, ptr %19, align 8, !tbaa !5
  %163 = getelementptr inbounds float, ptr %162, i32 1
  store ptr %163, ptr %19, align 8, !tbaa !5
  br label %98

164:                                              ; preds = %102
  br label %165

165:                                              ; preds = %164
  %166 = load i32, ptr %8, align 4, !tbaa !14
  %167 = load i32, ptr %15, align 4, !tbaa !14
  %168 = mul nsw i32 %166, %167
  %169 = load i32, ptr %17, align 4, !tbaa !14
  %170 = add nsw i32 %169, %168
  store i32 %170, ptr %17, align 4, !tbaa !14
  br label %88, !llvm.loop !20

171:                                              ; preds = %96
  br label %172

172:                                              ; preds = %171
  %173 = load i32, ptr %8, align 4, !tbaa !14
  %174 = load i32, ptr %15, align 4, !tbaa !14
  %175 = mul nsw i32 %173, %174
  %176 = load i32, ptr %16, align 4, !tbaa !14
  %177 = add nsw i32 %176, %175
  store i32 %177, ptr %16, align 4, !tbaa !14
  br label %78, !llvm.loop !22

178:                                              ; preds = %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %179

179:                                              ; preds = %178
  %180 = load i64, ptr %12, align 8, !tbaa !12
  %181 = add i64 %180, 1
  store i64 %181, ptr %12, align 8, !tbaa !12
  br label %65, !llvm.loop !23

182:                                              ; preds = %69
  %183 = load ptr, ptr %11, align 8, !tbaa !5
  %184 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %183) #6
  %185 = urem i64 %184, 4
  %186 = icmp eq i64 %185, 0
  br i1 %186, label %188, label %187

187:                                              ; preds = %182
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.102, ptr noundef @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 332, i32 noundef 0, ptr noundef @.str.120) #5
  unreachable

188:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIfSaIfEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, i64) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn }
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 = !{!"any pointer", !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, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSSt16initializer_listIfE", !6, i64 0, !13, i64 8}
!19 = !{!18, !13, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.__gnu_cxx::__normal_iterator.26" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZN14MaskRCNNConfigL16BACKBONE_STRIDESE = external hidden global %"class.std::vector", align 8
@_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE = external hidden global %"class.std::vector", align 8
@.str.102 = external hidden unnamed_addr constant [100 x i8], align 1
@__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E = external hidden unnamed_addr constant [25 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [45 x i8], align 1
@_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE = external hidden local_unnamed_addr constant [3 x float], align 4
@.str.118 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(72) %1) local_unnamed_addr #2 align 2 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca [4 x float], align 16
  %6 = load i32, ptr %1, align 8, !tbaa !5
  %7 = icmp eq i32 %6, 3
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load i64, ptr %8, align 8
  %10 = icmp eq i64 %9, 3
  %or.cond = select i1 %7, i1 %10, i1 false
  br i1 %or.cond, label %12, label %11

11:                                               ; preds = %2
  tail call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.102, ptr noundef nonnull @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 300, i32 noundef 0, ptr noundef nonnull @.str.117) #5
  unreachable

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = getelementptr inbounds i8, ptr %1, i64 24
  %15 = load <2 x i64>, ptr %13, align 8, !tbaa !10
  %16 = add nsw <2 x i64> %15, <i64 -1, i64 -1>
  %17 = sitofp <2 x i64> %16 to <2 x float>
  %18 = shufflevector <2 x float> %17, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  %19 = getelementptr inbounds i8, ptr %0, i64 64
  %20 = tail call noundef zeroext i1 @_ZNKSt6vectorIfSaIfEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br i1 %20, label %22, label %21

21:                                               ; preds = %12
  tail call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.102, ptr noundef nonnull @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 311, i32 noundef 0, ptr noundef nonnull @.str.118) #5
  unreachable

22:                                               ; preds = %12
  %23 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE) #6
  %24 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL16BACKBONE_STRIDESE) #6
  %25 = icmp eq i64 %23, %24
  br i1 %25, label %.preheader50, label %27

.preheader50:                                     ; preds = %22
  %26 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE) #6
  %.not57 = icmp eq i64 %26, 0
  br i1 %.not57, label %._crit_edge56, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader50
  %.pre = load float, ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE, align 4
  %.pre64 = load float, ptr getelementptr inbounds (i8, ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE, i64 4), align 4
  %.pre65 = load float, ptr getelementptr inbounds (i8, ptr @_ZN14MaskRCNNConfigL17RPN_ANCHOR_RATIOSE, i64 8), align 4
  br label %31

27:                                               ; preds = %22
  tail call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.102, ptr noundef nonnull @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 313, i32 noundef 0, ptr noundef nonnull @.str.119) #5
  unreachable

._crit_edge56:                                    ; preds = %._crit_edge54, %.preheader50
  %28 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %29 = and i64 %28, 3
  %30 = icmp eq i64 %29, 0
  br i1 %30, label %107, label %106

31:                                               ; preds = %.lr.ph, %._crit_edge54
  %.055 = phi i64 [ 0, %.lr.ph ], [ %49, %._crit_edge54 ]
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE, i64 noundef %.055) #6
  %33 = load float, ptr %32, align 4, !tbaa !12
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL16BACKBONE_STRIDESE, i64 noundef %.055) #6
  %35 = load float, ptr %34, align 4, !tbaa !12
  %36 = fptosi float %35 to i32
  %37 = load i64, ptr %13, align 8, !tbaa !10
  %38 = icmp sgt i64 %37, 0
  br i1 %38, label %.preheader49.lr.ph, label %._crit_edge54

.preheader49.lr.ph:                               ; preds = %31
  %39 = load i64, ptr %14, align 8, !tbaa !10
  %40 = icmp sgt i64 %39, 0
  br i1 %40, label %.preheader49.preheader, label %._crit_edge54

.preheader49.preheader:                           ; preds = %.preheader49.lr.ph
  %41 = sext i32 %36 to i64
  br label %.preheader49

.preheader49:                                     ; preds = %.preheader49.preheader, %._crit_edge
  %42 = phi i64 [ %37, %.preheader49.preheader ], [ %103, %._crit_edge ]
  %43 = phi i64 [ %39, %.preheader49.preheader ], [ %104, %._crit_edge ]
  %indvars.iv61 = phi i64 [ 0, %.preheader49.preheader ], [ %indvars.iv.next62, %._crit_edge ]
  %44 = icmp sgt i64 %43, 0
  br i1 %44, label %.preheader.lr.ph, label %._crit_edge

.preheader.lr.ph:                                 ; preds = %.preheader49
  %45 = trunc nsw i64 %indvars.iv61 to i32
  %46 = sitofp i32 %45 to float
  %47 = insertelement <4 x float> <float poison, float poison, float -1.000000e+00, float -1.000000e+00>, float %46, i64 0
  %48 = insertelement <2 x float> poison, float %46, i64 0
  br label %.preheader

._crit_edge54:                                    ; preds = %._crit_edge, %.preheader49.lr.ph, %31
  %49 = add nuw i64 %.055, 1
  %50 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN14MaskRCNNConfigL17RPN_ANCHOR_SCALESE) #6
  %51 = icmp ult i64 %49, %50
  br i1 %51, label %31, label %._crit_edge56, !llvm.loop !14

.preheader:                                       ; preds = %.preheader.lr.ph, %.preheader
  %indvars.iv = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next, %.preheader ]
  %52 = trunc nsw i64 %indvars.iv to i32
  %53 = sitofp i32 %52 to float
  %54 = call noundef float @_ZSt4sqrtf(float noundef %.pre)
  %55 = fdiv float %33, %54
  %56 = fmul float %33, %54
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %57 = call ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %57, ptr %4, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %58 = insertelement <2 x float> poison, float %55, i64 0
  %59 = insertelement <2 x float> %58, float %56, i64 1
  %60 = fmul <2 x float> %59, <float 5.000000e-01, float 5.000000e-01>
  %61 = insertelement <2 x float> %48, float %53, i64 1
  %62 = fadd <2 x float> %60, %61
  %63 = insertelement <4 x float> %47, float %53, i64 1
  %64 = shufflevector <2 x float> %60, <2 x float> %62, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %65 = fsub <4 x float> %63, %64
  %66 = fadd <4 x float> %63, %64
  %67 = shufflevector <4 x float> %65, <4 x float> %66, <4 x i32> <i32 0, i32 1, i32 6, i32 7>
  %68 = fdiv <4 x float> %67, %18
  store <4 x float> %68, ptr %5, align 16, !tbaa !12
  %69 = load ptr, ptr %3, align 8
  %70 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr %69, ptr nonnull %5, i64 4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %71 = call noundef float @_ZSt4sqrtf(float noundef %.pre64)
  %72 = fdiv float %33, %71
  %73 = fmul float %33, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %74 = call ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %74, ptr %4, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %75 = insertelement <2 x float> poison, float %72, i64 0
  %76 = insertelement <2 x float> %75, float %73, i64 1
  %77 = fmul <2 x float> %76, <float 5.000000e-01, float 5.000000e-01>
  %78 = fadd <2 x float> %77, %61
  %79 = shufflevector <2 x float> %77, <2 x float> %78, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %80 = fsub <4 x float> %63, %79
  %81 = fadd <4 x float> %63, %79
  %82 = shufflevector <4 x float> %80, <4 x float> %81, <4 x i32> <i32 0, i32 1, i32 6, i32 7>
  %83 = fdiv <4 x float> %82, %18
  store <4 x float> %83, ptr %5, align 16, !tbaa !12
  %84 = load ptr, ptr %3, align 8
  %85 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr %84, ptr nonnull %5, i64 4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %86 = call noundef float @_ZSt4sqrtf(float noundef %.pre65)
  %87 = fdiv float %33, %86
  %88 = fmul float %33, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %89 = call ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %89, ptr %4, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %90 = insertelement <2 x float> poison, float %87, i64 0
  %91 = insertelement <2 x float> %90, float %88, i64 1
  %92 = fmul <2 x float> %91, <float 5.000000e-01, float 5.000000e-01>
  %93 = fadd <2 x float> %92, %61
  %94 = shufflevector <2 x float> %92, <2 x float> %93, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %95 = fsub <4 x float> %63, %94
  %96 = fadd <4 x float> %63, %94
  %97 = shufflevector <4 x float> %95, <4 x float> %96, <4 x i32> <i32 0, i32 1, i32 6, i32 7>
  %98 = fdiv <4 x float> %97, %18
  store <4 x float> %98, ptr %5, align 16, !tbaa !12
  %99 = load ptr, ptr %3, align 8
  %100 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr %99, ptr nonnull %5, i64 4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %indvars.iv.next = add nsw i64 %indvars.iv, %41
  %101 = load i64, ptr %14, align 8, !tbaa !10
  %102 = icmp sgt i64 %101, %indvars.iv.next
  br i1 %102, label %.preheader, label %._crit_edge.loopexit, !llvm.loop !16

._crit_edge.loopexit:                             ; preds = %.preheader
  %.pre66 = load i64, ptr %13, align 8, !tbaa !10
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader49
  %103 = phi i64 [ %.pre66, %._crit_edge.loopexit ], [ %42, %.preheader49 ]
  %104 = phi i64 [ %101, %._crit_edge.loopexit ], [ %43, %.preheader49 ]
  %indvars.iv.next62 = add nsw i64 %indvars.iv61, %41
  %105 = icmp sgt i64 %103, %indvars.iv.next62
  br i1 %105, label %.preheader49, label %._crit_edge54, !llvm.loop !17

106:                                              ; preds = %._crit_edge56
  call void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.102, ptr noundef nonnull @__func__._ZN8nvinfer16plugin13ProposalLayer24generate_pyramid_anchorsERKNS_6Dims64E, i32 noundef 332, i32 noundef 0, ptr noundef nonnull @.str.120) #5
  unreachable

107:                                              ; preds = %._crit_edge56
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIfSaIfEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, i64) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn }
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, !7, i64 0}
!6 = !{!"_ZTSN8nvinfer16Dims64E", !7, i64 0, !8, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15, !18}
!18 = !{!"llvm.loop.unswitch.partial.disable"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass