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

; 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::allocator" = type { i8 }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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::allocator.10" = type { i8 }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }
%"class.nvinfer1::plugin::GridAnchorGenerator" = type { %"class.nvinfer1::IPluginV2Ext", %"class.std::__cxx11::basic_string", i32, %"class.std::vector.3", ptr, ptr, ptr, %"class.std::__cxx11::basic_string" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<nvinfer1::plugin::GridAnchorParameters, std::allocator<nvinfer1::plugin::GridAnchorParameters>>::_Vector_impl" }
%"struct.std::_Vector_base<nvinfer1::plugin::GridAnchorParameters, std::allocator<nvinfer1::plugin::GridAnchorParameters>>::_Vector_impl" = type { %"struct.std::_Vector_base<nvinfer1::plugin::GridAnchorParameters, std::allocator<nvinfer1::plugin::GridAnchorParameters>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nvinfer1::plugin::GridAnchorParameters, std::allocator<nvinfer1::plugin::GridAnchorParameters>>::_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] }
%"struct.nvinfer1::plugin::GridAnchorParameters" = type { float, float, ptr, i32, i32, i32, [4 x float] }

@_ZTVN8nvinfer16plugin19GridAnchorGeneratorE = external dso_local unnamed_addr constant { [27 x ptr] }, align 8
@.str.4 = external hidden unnamed_addr constant [94 x i8], align 1
@__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 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: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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) #0

; 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 uwtable
define dso_local void @_ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %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 i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector.8", align 8
  %23 = alloca %"class.std::allocator.10", align 1
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca %"class.std::vector.8", align 8
  %27 = alloca %"class.std::initializer_list", align 8
  %28 = alloca [3 x float], align 4
  %29 = alloca %"class.std::allocator.10", align 1
  %30 = alloca %"class.std::vector.8", align 8
  %31 = alloca %"class.std::vector.8", align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca float, align 4
  %35 = alloca i32, align 4
  %36 = alloca double, align 8
  %37 = alloca float, align 4
  %38 = alloca %"class.std::vector.8", align 8
  %39 = alloca %"class.std::vector.8", align 8
  %40 = alloca i32, align 4
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %43 = alloca float, align 4
  %44 = alloca %"class.nvinfer1::Weights", align 8
  %45 = alloca %"class.nvinfer1::Weights", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8
  call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #9
  store ptr getelementptr inbounds inrange(-16, 200) ({ [27 x ptr] }, ptr @_ZTVN8nvinfer16plugin19GridAnchorGeneratorE, i32 0, i32 0, i32 2), ptr %46, align 8, !tbaa !11
  %47 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef %48, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %49 unwind label %70

49:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #9
  %50 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %51 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %51, ptr %50, align 8, !tbaa !13
  %52 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  call void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #9
  %53 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %54 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 4
  %55 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %56 = load i32, ptr %55, align 8, !tbaa !13
  %57 = sext i32 %56 to i64
  %58 = mul i64 %57, 4
  %59 = invoke i32 @cudaMallocHost(ptr noundef %54, i64 noundef %58)
          to label %60 unwind label %74

60:                                               ; preds = %49
  store i32 %59, ptr %12, align 4, !tbaa !24
  %61 = load i32, ptr %12, align 4, !tbaa !24
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %82

63:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %64 = load i32, ptr %12, align 4, !tbaa !24
  %65 = invoke ptr @cudaGetErrorString(i32 noundef %64)
          to label %66 unwind label %78

66:                                               ; preds = %63
  store ptr %65, ptr %13, align 8, !tbaa !5
  %67 = load i32, ptr %12, align 4, !tbaa !24
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.4, ptr noundef @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 45, i32 noundef %67, ptr noundef %68) #10
          to label %69 unwind label %78

69:                                               ; preds = %66
  unreachable

70:                                               ; preds = %4
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %10, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #9
  br label %572

74:                                               ; preds = %49
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %10, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %11, align 4
  br label %99

78:                                               ; preds = %66, %63
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %10, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %99

82:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  %83 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 5
  %84 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %85 = load i32, ptr %84, align 8, !tbaa !13
  %86 = sext i32 %85 to i64
  %87 = mul i64 %86, 24
  %88 = invoke i32 @cudaMallocHost(ptr noundef %83, i64 noundef %87)
          to label %89 unwind label %100

89:                                               ; preds = %82
  store i32 %88, ptr %14, align 4, !tbaa !24
  %90 = load i32, ptr %14, align 4, !tbaa !24
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %108

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %93 = load i32, ptr %14, align 4, !tbaa !24
  %94 = invoke ptr @cudaGetErrorString(i32 noundef %93)
          to label %95 unwind label %104

95:                                               ; preds = %92
  store ptr %94, ptr %15, align 8, !tbaa !5
  %96 = load i32, ptr %14, align 4, !tbaa !24
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.4, ptr noundef @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 46, i32 noundef %96, ptr noundef %97) #10
          to label %98 unwind label %104

98:                                               ; preds = %95
  unreachable

99:                                               ; preds = %78, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %571

100:                                              ; preds = %82
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %10, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %11, align 4
  br label %125

104:                                              ; preds = %95, %92
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %10, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %125

108:                                              ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %109 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 6
  %110 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %111 = load i32, ptr %110, align 8, !tbaa !13
  %112 = sext i32 %111 to i64
  %113 = mul i64 %112, 24
  %114 = invoke i32 @cudaMallocHost(ptr noundef %109, i64 noundef %113)
          to label %115 unwind label %126

115:                                              ; preds = %108
  store i32 %114, ptr %16, align 4, !tbaa !24
  %116 = load i32, ptr %16, align 4, !tbaa !24
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %134

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %119 = load i32, ptr %16, align 4, !tbaa !24
  %120 = invoke ptr @cudaGetErrorString(i32 noundef %119)
          to label %121 unwind label %130

121:                                              ; preds = %118
  store ptr %120, ptr %17, align 8, !tbaa !5
  %122 = load i32, ptr %16, align 4, !tbaa !24
  %123 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef @.str.4, ptr noundef @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 47, i32 noundef %122, ptr noundef %123) #10
          to label %124 unwind label %130

124:                                              ; preds = %121
  unreachable

125:                                              ; preds = %104, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %571

126:                                              ; preds = %108
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %10, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %11, align 4
  br label %146

130:                                              ; preds = %121, %118
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %10, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %146

134:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  %135 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %136 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %137 = load i32, ptr %136, align 8, !tbaa !13
  %138 = sext i32 %137 to i64
  invoke void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %138)
          to label %139 unwind label %147

139:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %562, %139
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %143 = load i32, ptr %142, align 8, !tbaa !13
  %144 = icmp slt i32 %141, %143
  br i1 %144, label %151, label %145

145:                                              ; preds = %140
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %570

146:                                              ; preds = %130, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %571

147:                                              ; preds = %134
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %10, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %11, align 4
  br label %571

151:                                              ; preds = %140
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = load i32, ptr %18, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %152, i64 %154
  %156 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %157 = load i32, ptr %18, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %156, i64 noundef %158) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %159, ptr align 8 %155, i64 48, i1 false), !tbaa.struct !26
  %160 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %162) #9
  %164 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %163, i32 0, i32 3
  %165 = load i32, ptr %164, align 8, !tbaa !30
  %166 = icmp sge i32 %165, 0
  br i1 %166, label %167, label %175

167:                                              ; preds = %151
  %168 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %169 = load i32, ptr %18, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %168, i64 noundef %170) #9
  %172 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %171, i32 0, i32 2
  %173 = load ptr, ptr %172, align 8, !tbaa !32
  %174 = icmp ne ptr %173, null
  br i1 %174, label %181, label %175

175:                                              ; preds = %167, %151
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef @.str.4, ptr noundef @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 53, i32 noundef 0, ptr noundef @.str.5) #10
          to label %176 unwind label %177

176:                                              ; preds = %175
  unreachable

177:                                              ; preds = %175
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %10, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %11, align 4
  br label %569

181:                                              ; preds = %167
  %182 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %183 = load i32, ptr %18, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %184) #9
  %186 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %185, i32 0, i32 3
  %187 = load i32, ptr %186, align 8, !tbaa !30
  %188 = sext i32 %187 to i64
  %189 = mul i64 4, %188
  %190 = call noalias ptr @malloc(i64 noundef %189) #11
  %191 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %192 = load i32, ptr %18, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %193) #9
  %195 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %194, i32 0, i32 2
  store ptr %190, ptr %195, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %196

196:                                              ; preds = %226, %181
  %197 = load i32, ptr %20, align 4, !tbaa !9
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %198, i64 %200
  %202 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %201, i32 0, i32 3
  %203 = load i32, ptr %202, align 8, !tbaa !30
  %204 = icmp slt i32 %197, %203
  br i1 %204, label %206, label %205

205:                                              ; preds = %196
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %229

206:                                              ; preds = %196
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = load i32, ptr %18, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %207, i64 %209
  %211 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %210, i32 0, i32 2
  %212 = load ptr, ptr %211, align 8, !tbaa !32
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds float, ptr %212, i64 %214
  %216 = load float, ptr %215, align 4, !tbaa !27
  %217 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %218 = load i32, ptr %18, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %217, i64 noundef %219) #9
  %221 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %220, i32 0, i32 2
  %222 = load ptr, ptr %221, align 8, !tbaa !32
  %223 = load i32, ptr %20, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds float, ptr %222, i64 %224
  store float %216, ptr %225, align 4, !tbaa !27
  br label %226

226:                                              ; preds = %206
  %227 = load i32, ptr %20, align 4, !tbaa !9
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %20, align 4, !tbaa !9
  br label %196, !llvm.loop !33

229:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %230

230:                                              ; preds = %252, %229
  %231 = load i32, ptr %21, align 4, !tbaa !9
  %232 = icmp slt i32 %231, 4
  br i1 %232, label %234, label %233

233:                                              ; preds = %230
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %255

234:                                              ; preds = %230
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = load i32, ptr %18, align 4, !tbaa !9
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %235, i64 %237
  %239 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %238, i32 0, i32 6
  %240 = load i32, ptr %21, align 4, !tbaa !9
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [4 x float], ptr %239, i64 0, i64 %241
  %243 = load float, ptr %242, align 4, !tbaa !27
  %244 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = sext i32 %245 to i64
  %247 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %244, i64 noundef %246) #9
  %248 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %247, i32 0, i32 6
  %249 = load i32, ptr %21, align 4, !tbaa !9
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [4 x float], ptr %248, i64 0, i64 %250
  store float %243, ptr %251, align 4, !tbaa !27
  br label %252

252:                                              ; preds = %234
  %253 = load i32, ptr %21, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %21, align 4, !tbaa !9
  br label %230, !llvm.loop !35

255:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #9
  %256 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %257 = load i32, ptr %256, align 8, !tbaa !13
  %258 = add nsw i32 %257, 1
  %259 = sext i32 %258 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %259, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %260 unwind label %267

260:                                              ; preds = %255
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %261

261:                                              ; preds = %303, %260
  %262 = load i32, ptr %24, align 4, !tbaa !9
  %263 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %264 = load i32, ptr %263, align 8, !tbaa !13
  %265 = icmp slt i32 %262, %264
  br i1 %265, label %271, label %266

266:                                              ; preds = %261
  store i32 11, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %306

267:                                              ; preds = %255
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %10, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #9
  br label %568

271:                                              ; preds = %261
  %272 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %273 = load i32, ptr %18, align 4, !tbaa !9
  %274 = sext i32 %273 to i64
  %275 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef %274) #9
  %276 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %275, i32 0, i32 0
  %277 = load float, ptr %276, align 8, !tbaa !36
  %278 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %279 = load i32, ptr %18, align 4, !tbaa !9
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %278, i64 noundef %280) #9
  %282 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %281, i32 0, i32 1
  %283 = load float, ptr %282, align 4, !tbaa !37
  %284 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %285 = load i32, ptr %18, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %284, i64 noundef %286) #9
  %288 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %287, i32 0, i32 0
  %289 = load float, ptr %288, align 8, !tbaa !36
  %290 = fsub float %283, %289
  %291 = load i32, ptr %18, align 4, !tbaa !9
  %292 = sitofp i32 %291 to float
  %293 = fmul float %290, %292
  %294 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %295 = load i32, ptr %294, align 8, !tbaa !13
  %296 = sub nsw i32 %295, 1
  %297 = sitofp i32 %296 to float
  %298 = fdiv float %293, %297
  %299 = fadd float %277, %298
  %300 = load i32, ptr %24, align 4, !tbaa !9
  %301 = sext i32 %300 to i64
  %302 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %301) #9
  store float %299, ptr %302, align 4, !tbaa !27
  br label %303

303:                                              ; preds = %271
  %304 = load i32, ptr %24, align 4, !tbaa !9
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr %24, align 4, !tbaa !9
  br label %261, !llvm.loop !38

306:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store float 1.000000e+00, ptr %25, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %307 unwind label %334

307:                                              ; preds = %306
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #9
  store float 0x3FB99999A0000000, ptr %28, align 4, !tbaa !27
  %308 = getelementptr inbounds float, ptr %28, i64 1
  %309 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #9
  %310 = load float, ptr %309, align 4, !tbaa !27
  store float %310, ptr %308, align 4, !tbaa !27
  %311 = getelementptr inbounds float, ptr %28, i64 2
  %312 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #9
  %313 = load float, ptr %312, align 4, !tbaa !27
  store float %313, ptr %311, align 4, !tbaa !27
  %314 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 0
  store ptr %28, ptr %314, align 8, !tbaa !39
  %315 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 1
  store i64 3, ptr %315, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  %316 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %317 = load ptr, ptr %316, align 8
  %318 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %319 = load i64, ptr %318, align 8
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr %317, i64 %319, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %320 unwind label %338

320:                                              ; preds = %307
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  %321 = load i32, ptr %18, align 4, !tbaa !9
  %322 = icmp eq i32 %321, 0
  br i1 %322, label %323, label %376

323:                                              ; preds = %320
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %324

324:                                              ; preds = %357, %323
  %325 = load i32, ptr %32, align 4, !tbaa !9
  %326 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %327 = load i32, ptr %18, align 4, !tbaa !9
  %328 = sext i32 %327 to i64
  %329 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %326, i64 noundef %328) #9
  %330 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %329, i32 0, i32 3
  %331 = load i32, ptr %330, align 8, !tbaa !30
  %332 = icmp slt i32 %325, %331
  br i1 %332, label %342, label %333

333:                                              ; preds = %324
  store i32 14, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  br label %364

334:                                              ; preds = %306
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %10, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %567

338:                                              ; preds = %307
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %10, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #9
  br label %566

342:                                              ; preds = %324
  %343 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %344 = load i32, ptr %18, align 4, !tbaa !9
  %345 = sext i32 %344 to i64
  %346 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %343, i64 noundef %345) #9
  %347 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %346, i32 0, i32 2
  %348 = load ptr, ptr %347, align 8, !tbaa !32
  %349 = load i32, ptr %32, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds float, ptr %348, i64 %350
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %351)
          to label %352 unwind label %360

352:                                              ; preds = %342
  %353 = load i32, ptr %32, align 4, !tbaa !9
  %354 = sext i32 %353 to i64
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %354) #9
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 4 dereferenceable(4) %355)
          to label %356 unwind label %360

356:                                              ; preds = %352
  br label %357

357:                                              ; preds = %356
  %358 = load i32, ptr %32, align 4, !tbaa !9
  %359 = add nsw i32 %358, 1
  store i32 %359, ptr %32, align 4, !tbaa !9
  br label %324, !llvm.loop !42

360:                                              ; preds = %352, %342
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %10, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  br label %565

364:                                              ; preds = %333
  %365 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %366 = load i32, ptr %18, align 4, !tbaa !9
  %367 = sext i32 %366 to i64
  %368 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %365, i64 noundef %367) #9
  %369 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %368, i32 0, i32 3
  %370 = load i32, ptr %369, align 8, !tbaa !30
  %371 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 4
  %372 = load ptr, ptr %371, align 8, !tbaa !43
  %373 = load i32, ptr %18, align 4, !tbaa !9
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds i32, ptr %372, i64 %374
  store i32 %370, ptr %375, align 4, !tbaa !9
  br label %499

376:                                              ; preds = %320
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %377

377:                                              ; preds = %398, %376
  %378 = load i32, ptr %33, align 4, !tbaa !9
  %379 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %380 = load i32, ptr %18, align 4, !tbaa !9
  %381 = sext i32 %380 to i64
  %382 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %379, i64 noundef %381) #9
  %383 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %382, i32 0, i32 3
  %384 = load i32, ptr %383, align 8, !tbaa !30
  %385 = icmp slt i32 %378, %384
  br i1 %385, label %387, label %386

386:                                              ; preds = %377
  store i32 17, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %405

387:                                              ; preds = %377
  %388 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %389 = load i32, ptr %18, align 4, !tbaa !9
  %390 = sext i32 %389 to i64
  %391 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %388, i64 noundef %390) #9
  %392 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %391, i32 0, i32 2
  %393 = load ptr, ptr %392, align 8, !tbaa !32
  %394 = load i32, ptr %33, align 4, !tbaa !9
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds float, ptr %393, i64 %395
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %396)
          to label %397 unwind label %401

397:                                              ; preds = %387
  br label %398

398:                                              ; preds = %397
  %399 = load i32, ptr %33, align 4, !tbaa !9
  %400 = add nsw i32 %399, 1
  store i32 %400, ptr %33, align 4, !tbaa !9
  br label %377, !llvm.loop !44

401:                                              ; preds = %387
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %10, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %565

405:                                              ; preds = %386
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  store float 1.000000e+00, ptr %34, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %406 unwind label %417

406:                                              ; preds = %405
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %407

407:                                              ; preds = %426, %406
  %408 = load i32, ptr %35, align 4, !tbaa !9
  %409 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %410 = load i32, ptr %18, align 4, !tbaa !9
  %411 = sext i32 %410 to i64
  %412 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %409, i64 noundef %411) #9
  %413 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %412, i32 0, i32 3
  %414 = load i32, ptr %413, align 8, !tbaa !30
  %415 = icmp slt i32 %408, %414
  br i1 %415, label %421, label %416

416:                                              ; preds = %407
  store i32 20, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  br label %433

417:                                              ; preds = %405
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %10, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %565

421:                                              ; preds = %407
  %422 = load i32, ptr %18, align 4, !tbaa !9
  %423 = sext i32 %422 to i64
  %424 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %423) #9
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 4 dereferenceable(4) %424)
          to label %425 unwind label %429

425:                                              ; preds = %421
  br label %426

426:                                              ; preds = %425
  %427 = load i32, ptr %35, align 4, !tbaa !9
  %428 = add nsw i32 %427, 1
  store i32 %428, ptr %35, align 4, !tbaa !9
  br label %407, !llvm.loop !45

429:                                              ; preds = %421
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %10, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  br label %565

433:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %434 = load i32, ptr %18, align 4, !tbaa !9
  %435 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %436 = load i32, ptr %435, align 8, !tbaa !13
  %437 = sub nsw i32 %436, 1
  %438 = icmp eq i32 %434, %437
  br i1 %438, label %439, label %440

439:                                              ; preds = %433
  br label %471

440:                                              ; preds = %433
  %441 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %442 = load i32, ptr %18, align 4, !tbaa !9
  %443 = sext i32 %442 to i64
  %444 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %441, i64 noundef %443) #9
  %445 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %444, i32 0, i32 0
  %446 = load float, ptr %445, align 8, !tbaa !36
  %447 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %448 = load i32, ptr %18, align 4, !tbaa !9
  %449 = sext i32 %448 to i64
  %450 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %447, i64 noundef %449) #9
  %451 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %450, i32 0, i32 1
  %452 = load float, ptr %451, align 4, !tbaa !37
  %453 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %454 = load i32, ptr %18, align 4, !tbaa !9
  %455 = sext i32 %454 to i64
  %456 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %453, i64 noundef %455) #9
  %457 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %456, i32 0, i32 0
  %458 = load float, ptr %457, align 8, !tbaa !36
  %459 = fsub float %452, %458
  %460 = load i32, ptr %18, align 4, !tbaa !9
  %461 = add nsw i32 %460, 1
  %462 = sitofp i32 %461 to float
  %463 = fmul float %459, %462
  %464 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 2
  %465 = load i32, ptr %464, align 8, !tbaa !13
  %466 = sub nsw i32 %465, 1
  %467 = sitofp i32 %466 to float
  %468 = fdiv float %463, %467
  %469 = fadd float %446, %468
  %470 = fpext float %469 to double
  br label %471

471:                                              ; preds = %440, %439
  %472 = phi double [ 1.000000e+00, %439 ], [ %470, %440 ]
  store double %472, ptr %36, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %473 = load i32, ptr %18, align 4, !tbaa !9
  %474 = sext i32 %473 to i64
  %475 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %474) #9
  %476 = load float, ptr %475, align 4, !tbaa !27
  %477 = fpext float %476 to double
  %478 = load double, ptr %36, align 8, !tbaa !46
  %479 = fmul double %477, %478
  %480 = call double @sqrt(double noundef %479) #9
  %481 = fptrunc double %480 to float
  store float %481, ptr %37, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %482 unwind label %495

482:                                              ; preds = %471
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  %483 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 3
  %484 = load i32, ptr %18, align 4, !tbaa !9
  %485 = sext i32 %484 to i64
  %486 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %483, i64 noundef %485) #9
  %487 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %486, i32 0, i32 3
  %488 = load i32, ptr %487, align 8, !tbaa !30
  %489 = add nsw i32 %488, 1
  %490 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 4
  %491 = load ptr, ptr %490, align 8, !tbaa !43
  %492 = load i32, ptr %18, align 4, !tbaa !9
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds i32, ptr %491, i64 %493
  store i32 %489, ptr %494, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %499

495:                                              ; preds = %471
  %496 = landingpad { ptr, i32 }
          cleanup
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %10, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %565

499:                                              ; preds = %482, %364
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  store i32 0, ptr %40, align 4, !tbaa !9
  br label %500

500:                                              ; preds = %531, %499
  %501 = load i32, ptr %40, align 4, !tbaa !9
  %502 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 4
  %503 = load ptr, ptr %502, align 8, !tbaa !43
  %504 = load i32, ptr %18, align 4, !tbaa !9
  %505 = sext i32 %504 to i64
  %506 = getelementptr inbounds i32, ptr %503, i64 %505
  %507 = load i32, ptr %506, align 4, !tbaa !9
  %508 = icmp slt i32 %501, %507
  br i1 %508, label %510, label %509

509:                                              ; preds = %500
  store i32 23, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %547

510:                                              ; preds = %500
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %511 = load i32, ptr %40, align 4, !tbaa !9
  %512 = sext i32 %511 to i64
  %513 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %512) #9
  %514 = load float, ptr %513, align 4, !tbaa !27
  %515 = invoke noundef float @_ZSt4sqrtf(float noundef %514)
          to label %516 unwind label %534

516:                                              ; preds = %510
  store float %515, ptr %41, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  %517 = load i32, ptr %40, align 4, !tbaa !9
  %518 = sext i32 %517 to i64
  %519 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %518) #9
  %520 = load float, ptr %519, align 4, !tbaa !27
  %521 = load float, ptr %41, align 4, !tbaa !27
  %522 = fmul float %520, %521
  store float %522, ptr %42, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %523 unwind label %538

523:                                              ; preds = %516
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #9
  %524 = load i32, ptr %40, align 4, !tbaa !9
  %525 = sext i32 %524 to i64
  %526 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %525) #9
  %527 = load float, ptr %526, align 4, !tbaa !27
  %528 = load float, ptr %41, align 4, !tbaa !27
  %529 = fdiv float %527, %528
  store float %529, ptr %43, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %530 unwind label %542

530:                                              ; preds = %523
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %531

531:                                              ; preds = %530
  %532 = load i32, ptr %40, align 4, !tbaa !9
  %533 = add nsw i32 %532, 1
  store i32 %533, ptr %40, align 4, !tbaa !9
  br label %500, !llvm.loop !48

534:                                              ; preds = %510
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %10, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %11, align 4
  br label %546

538:                                              ; preds = %516
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %10, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %546

542:                                              ; preds = %523
  %543 = landingpad { ptr, i32 }
          cleanup
  %544 = extractvalue { ptr, i32 } %543, 0
  store ptr %544, ptr %10, align 8
  %545 = extractvalue { ptr, i32 } %543, 1
  store i32 %545, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  br label %546

546:                                              ; preds = %542, %538, %534
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #9
  br label %565

547:                                              ; preds = %509
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #9
  %548 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef 0) #9
  %549 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  call void @_ZN8nvinfer16plugin19GridAnchorGenerator12copyToDeviceEPKvm(ptr dead_on_unwind writable sret(%"class.nvinfer1::Weights") align 8 %44, ptr noundef nonnull align 8 dereferenceable(128) %46, ptr noundef %548, i64 noundef %549) #9
  %550 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 5
  %551 = load ptr, ptr %550, align 8, !tbaa !49
  %552 = load i32, ptr %18, align 4, !tbaa !9
  %553 = sext i32 %552 to i64
  %554 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %551, i64 %553
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %554, ptr align 8 %44, i64 24, i1 false), !tbaa.struct !50
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #9
  %555 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef 0) #9
  %556 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  call void @_ZN8nvinfer16plugin19GridAnchorGenerator12copyToDeviceEPKvm(ptr dead_on_unwind writable sret(%"class.nvinfer1::Weights") align 8 %45, ptr noundef nonnull align 8 dereferenceable(128) %46, ptr noundef %555, i64 noundef %556) #9
  %557 = getelementptr inbounds %"class.nvinfer1::plugin::GridAnchorGenerator", ptr %46, i32 0, i32 6
  %558 = load ptr, ptr %557, align 8, !tbaa !54
  %559 = load i32, ptr %18, align 4, !tbaa !9
  %560 = sext i32 %559 to i64
  %561 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %558, i64 %560
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %561, ptr align 8 %45, i64 24, i1 false), !tbaa.struct !50
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  br label %562

562:                                              ; preds = %547
  %563 = load i32, ptr %18, align 4, !tbaa !9
  %564 = add nsw i32 %563, 1
  store i32 %564, ptr %18, align 4, !tbaa !9
  br label %140, !llvm.loop !55

565:                                              ; preds = %546, %495, %429, %417, %401, %360
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  br label %566

566:                                              ; preds = %565, %338
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  br label %567

567:                                              ; preds = %566, %334
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  br label %568

568:                                              ; preds = %567, %267
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  br label %569

569:                                              ; preds = %568, %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %571

570:                                              ; preds = %145
  ret void

571:                                              ; preds = %569, %147, %146, %125, %99
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  call void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  br label %572

572:                                              ; preds = %571, %70
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #9
  br label %573

573:                                              ; preds = %572
  %574 = load ptr, ptr %10, align 8
  %575 = load i32, ptr %11, align 4
  %576 = insertvalue { ptr, i32 } poison, ptr %574, 0
  %577 = insertvalue { ptr, i32 } %576, i32 %575, 1
  resume { ptr, i32 } %577
}

; 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 dso_local void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEC2Ev(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

declare i32 @cudaMallocHost(ptr noundef, i64 noundef) #3

declare ptr @cudaGetErrorString(i32 noundef) #3

; Function Attrs: noreturn
declare void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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) #5

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #6

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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)) #2 align 2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin19GridAnchorGenerator12copyToDeviceEPKvm(ptr dead_on_unwind noalias writable sret(%"class.nvinfer1::Weights") align 8, ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #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 @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EED2Ev(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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind allocsize(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 #7 = { nounwind "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 #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { nounwind allocsize(0) }

!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 = !{!14, !10, i64 40}
!14 = !{!"_ZTSN8nvinfer16plugin19GridAnchorGeneratorE", !15, i64 0, !17, i64 8, !10, i64 40, !20, i64 48, !6, i64 72, !6, i64 80, !6, i64 88, !17, i64 96}
!15 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !16, i64 0}
!16 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!25, !25, i64 0}
!25 = !{!"_ZTS9cudaError", !7, i64 0}
!26 = !{i64 0, i64 4, !27, i64 4, i64 4, !27, i64 8, i64 8, !5, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 4, !9, i64 28, i64 16, !29}
!27 = !{!28, !28, i64 0}
!28 = !{!"float", !7, i64 0}
!29 = !{!7, !7, i64 0}
!30 = !{!31, !10, i64 16}
!31 = !{!"_ZTSN8nvinfer16plugin20GridAnchorParametersE", !28, i64 0, !28, i64 4, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28}
!32 = !{!31, !6, i64 8}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = !{!31, !28, i64 0}
!37 = !{!31, !28, i64 4}
!38 = distinct !{!38, !34}
!39 = !{!40, !6, i64 0}
!40 = !{!"_ZTSSt16initializer_listIfE", !6, i64 0, !19, i64 8}
!41 = !{!40, !19, i64 8}
!42 = distinct !{!42, !34}
!43 = !{!14, !6, i64 72}
!44 = distinct !{!44, !34}
!45 = distinct !{!45, !34}
!46 = !{!47, !47, i64 0}
!47 = !{!"double", !7, i64 0}
!48 = distinct !{!48, !34}
!49 = !{!14, !6, i64 80}
!50 = !{i64 0, i64 4, !51, i64 8, i64 8, !5, i64 16, i64 8, !53}
!51 = !{!52, !52, i64 0}
!52 = !{!"_ZTSN8nvinfer18DataTypeE", !7, i64 0}
!53 = !{!19, !19, i64 0}
!54 = !{!14, !6, i64 88}
!55 = distinct !{!55, !34}


; 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::allocator" = type { i8 }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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::allocator.10" = type { i8 }
%"class.nvinfer1::Weights" = type { i32, ptr, i64 }
%"struct.nvinfer1::plugin::GridAnchorParameters" = type { float, float, ptr, i32, i32, i32, [4 x float] }

@_ZTVN8nvinfer16plugin19GridAnchorGeneratorE = external dso_local unnamed_addr constant { [27 x ptr] }, align 8
@.str.4 = external hidden unnamed_addr constant [94 x i8], align 1
@__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [70 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; 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 uwtable
define dso_local void @_ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::vector.8", align 8
  %7 = alloca %"class.std::allocator.10", align 1
  %8 = alloca float, align 4
  %9 = alloca %"class.std::vector.8", align 8
  %10 = alloca [3 x float], align 4
  %11 = alloca %"class.std::allocator.10", align 1
  %12 = alloca %"class.std::vector.8", align 8
  %13 = alloca %"class.std::vector.8", align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %"class.std::vector.8", align 8
  %17 = alloca %"class.std::vector.8", align 8
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca %"class.nvinfer1::Weights", align 8
  %21 = alloca %"class.nvinfer1::Weights", align 8
  tail call void @_ZN8nvinfer112IPluginV2ExtC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #9
  store ptr getelementptr inbounds inrange(-16, 200) (i8, ptr @_ZTVN8nvinfer16plugin19GridAnchorGeneratorE, i64 16), ptr %0, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef %3, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %23 unwind label %37

23:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  %24 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %2, ptr %24, align 8, !tbaa !8
  %25 = getelementptr inbounds i8, ptr %0, i64 48
  call void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  %26 = getelementptr inbounds i8, ptr %0, i64 96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  %27 = getelementptr inbounds i8, ptr %0, i64 72
  %28 = load i32, ptr %24, align 8, !tbaa !8
  %29 = sext i32 %28 to i64
  %30 = shl nsw i64 %29, 2
  %31 = invoke i32 @cudaMallocHost(ptr noundef nonnull %27, i64 noundef %30)
          to label %32 unwind label %39

32:                                               ; preds = %23
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %43, label %33

33:                                               ; preds = %32
  %34 = invoke ptr @cudaGetErrorString(i32 noundef %31)
          to label %35 unwind label %41

35:                                               ; preds = %33
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 45, i32 noundef %31, ptr noundef %34) #10
          to label %36 unwind label %41

36:                                               ; preds = %35
  unreachable

37:                                               ; preds = %4
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  br label %313

39:                                               ; preds = %23
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %312

41:                                               ; preds = %35, %33
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %312

43:                                               ; preds = %32
  %44 = getelementptr inbounds i8, ptr %0, i64 80
  %45 = load i32, ptr %24, align 8, !tbaa !8
  %46 = sext i32 %45 to i64
  %47 = mul nsw i64 %46, 24
  %48 = invoke i32 @cudaMallocHost(ptr noundef nonnull %44, i64 noundef %47)
          to label %49 unwind label %54

49:                                               ; preds = %43
  %.not107 = icmp eq i32 %48, 0
  br i1 %.not107, label %58, label %50

50:                                               ; preds = %49
  %51 = invoke ptr @cudaGetErrorString(i32 noundef %48)
          to label %52 unwind label %56

52:                                               ; preds = %50
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 46, i32 noundef %48, ptr noundef %51) #10
          to label %53 unwind label %56

53:                                               ; preds = %52
  unreachable

54:                                               ; preds = %43
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %312

56:                                               ; preds = %52, %50
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %312

58:                                               ; preds = %49
  %59 = getelementptr inbounds i8, ptr %0, i64 88
  %60 = load i32, ptr %24, align 8, !tbaa !8
  %61 = sext i32 %60 to i64
  %62 = mul nsw i64 %61, 24
  %63 = invoke i32 @cudaMallocHost(ptr noundef nonnull %59, i64 noundef %62)
          to label %64 unwind label %69

64:                                               ; preds = %58
  %.not108 = icmp eq i32 %63, 0
  br i1 %.not108, label %73, label %65

65:                                               ; preds = %64
  %66 = invoke ptr @cudaGetErrorString(i32 noundef %63)
          to label %67 unwind label %71

67:                                               ; preds = %65
  invoke void @_ZN8nvinfer16plugin14throwCudaErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 47, i32 noundef %63, ptr noundef %66) #10
          to label %68 unwind label %71

68:                                               ; preds = %67
  unreachable

69:                                               ; preds = %58
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %312

71:                                               ; preds = %67, %65
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %312

73:                                               ; preds = %64
  %74 = load i32, ptr %24, align 8, !tbaa !8
  %75 = sext i32 %74 to i64
  invoke void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %75)
          to label %.preheader127 unwind label %80

.preheader127:                                    ; preds = %73
  %76 = load i32, ptr %24, align 8, !tbaa !8
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %.lr.ph148, label %._crit_edge149

.lr.ph148:                                        ; preds = %.preheader127
  %78 = getelementptr inbounds i8, ptr %10, i64 4
  %79 = getelementptr inbounds i8, ptr %10, i64 8
  br label %82

._crit_edge149:                                   ; preds = %._crit_edge145, %.preheader127
  ret void

80:                                               ; preds = %73
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %312

82:                                               ; preds = %.lr.ph148, %._crit_edge145
  %indvars.iv166 = phi i64 [ 0, %.lr.ph148 ], [ %indvars.iv.next167, %._crit_edge145 ]
  %83 = getelementptr inbounds %"struct.nvinfer1::plugin::GridAnchorParameters", ptr %1, i64 %indvars.iv166
  %84 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %84, ptr noundef nonnull align 8 dereferenceable(48) %83, i64 48, i1 false), !tbaa.struct !22
  %85 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %86 = getelementptr inbounds i8, ptr %85, i64 16
  %87 = load i32, ptr %86, align 8, !tbaa !28
  %88 = icmp sgt i32 %87, -1
  br i1 %88, label %89, label %93

89:                                               ; preds = %82
  %90 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  %92 = load ptr, ptr %91, align 8, !tbaa !30
  %.not109 = icmp eq ptr %92, null
  br i1 %.not109, label %93, label %97

93:                                               ; preds = %89, %82
  invoke void @_ZN8nvinfer16plugin16throwPluginErrorEPKcS2_iiS2_(ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__._ZN8nvinfer16plugin19GridAnchorGeneratorC2EPKNS0_20GridAnchorParametersEiPKc, i32 noundef 53, i32 noundef 0, ptr noundef nonnull @.str.5) #10
          to label %94 unwind label %95

94:                                               ; preds = %93
  unreachable

95:                                               ; preds = %93
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %312

97:                                               ; preds = %89
  %98 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %99 = getelementptr inbounds i8, ptr %98, i64 16
  %100 = load i32, ptr %99, align 8, !tbaa !28
  %101 = sext i32 %100 to i64
  %102 = shl nsw i64 %101, 2
  %103 = call noalias ptr @malloc(i64 noundef %102) #11
  %104 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  store ptr %103, ptr %105, align 8, !tbaa !30
  %106 = getelementptr inbounds i8, ptr %83, i64 16
  %107 = load i32, ptr %106, align 8, !tbaa !28
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %.lr.ph, label %.preheader126

.lr.ph:                                           ; preds = %97
  %109 = getelementptr inbounds i8, ptr %83, i64 8
  br label %129

.preheader126:                                    ; preds = %129, %97
  %110 = getelementptr inbounds i8, ptr %83, i64 28
  %111 = load float, ptr %110, align 4, !tbaa !23
  %112 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %113 = getelementptr inbounds i8, ptr %112, i64 28
  store float %111, ptr %113, align 4, !tbaa !23
  %114 = getelementptr inbounds i8, ptr %83, i64 32
  %115 = load float, ptr %114, align 4, !tbaa !23
  %116 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %117 = getelementptr inbounds i8, ptr %116, i64 32
  store float %115, ptr %117, align 8, !tbaa !23
  %118 = getelementptr inbounds i8, ptr %83, i64 36
  %119 = load float, ptr %118, align 4, !tbaa !23
  %120 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %121 = getelementptr inbounds i8, ptr %120, i64 36
  store float %119, ptr %121, align 4, !tbaa !23
  %122 = getelementptr inbounds i8, ptr %83, i64 40
  %123 = load float, ptr %122, align 4, !tbaa !23
  %124 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %125 = getelementptr inbounds i8, ptr %124, i64 40
  store float %123, ptr %125, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  %126 = load i32, ptr %24, align 8, !tbaa !8
  %127 = add nsw i32 %126, 1
  %128 = sext i32 %127 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %128, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %140 unwind label %145

129:                                              ; preds = %.lr.ph, %129
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %129 ]
  %130 = load ptr, ptr %109, align 8, !tbaa !30
  %131 = getelementptr inbounds float, ptr %130, i64 %indvars.iv
  %132 = load float, ptr %131, align 4, !tbaa !23
  %133 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %134 = getelementptr inbounds i8, ptr %133, i64 8
  %135 = load ptr, ptr %134, align 8, !tbaa !30
  %136 = getelementptr inbounds float, ptr %135, i64 %indvars.iv
  store float %132, ptr %136, align 4, !tbaa !23
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %137 = load i32, ptr %106, align 8, !tbaa !28
  %138 = sext i32 %137 to i64
  %139 = icmp slt i64 %indvars.iv.next, %138
  br i1 %139, label %129, label %.preheader126, !llvm.loop !31

140:                                              ; preds = %.preheader126
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  %141 = load i32, ptr %24, align 8, !tbaa !8
  %142 = icmp sgt i32 %141, 0
  br i1 %142, label %.lr.ph131, label %._crit_edge

.lr.ph131:                                        ; preds = %140
  %143 = trunc nuw nsw i64 %indvars.iv166 to i32
  %144 = uitofp nneg i32 %143 to float
  br label %147

._crit_edge:                                      ; preds = %147, %140
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  store float 1.000000e+00, ptr %8, align 4, !tbaa !23
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %166 unwind label %185

145:                                              ; preds = %.preheader126
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  br label %311

147:                                              ; preds = %.lr.ph131, %147
  %indvars.iv154 = phi i64 [ 0, %.lr.ph131 ], [ %indvars.iv.next155, %147 ]
  %148 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %149 = load float, ptr %148, align 8, !tbaa !33
  %150 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %151 = getelementptr inbounds i8, ptr %150, i64 4
  %152 = load float, ptr %151, align 4, !tbaa !34
  %153 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %154 = load float, ptr %153, align 8, !tbaa !33
  %155 = fsub float %152, %154
  %156 = fmul float %155, %144
  %157 = load i32, ptr %24, align 8, !tbaa !8
  %158 = add nsw i32 %157, -1
  %159 = sitofp i32 %158 to float
  %160 = fdiv float %156, %159
  %161 = fadd float %149, %160
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv154) #9
  store float %161, ptr %162, align 4, !tbaa !23
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %163 = load i32, ptr %24, align 8, !tbaa !8
  %164 = sext i32 %163 to i64
  %165 = icmp slt i64 %indvars.iv.next155, %164
  br i1 %165, label %147, label %._crit_edge, !llvm.loop !35

166:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #9
  store float 0x3FB99999A0000000, ptr %10, align 4, !tbaa !23
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #9
  %168 = load float, ptr %167, align 4, !tbaa !23
  store float %168, ptr %78, align 4, !tbaa !23
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #9
  %170 = load float, ptr %169, align 4, !tbaa !23
  store float %170, ptr %79, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr nonnull %10, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %171 unwind label %187

171:                                              ; preds = %166
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  %172 = icmp eq i64 %indvars.iv166, 0
  br i1 %172, label %.preheader, label %.preheader125

.preheader125:                                    ; preds = %171
  %173 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %174 = getelementptr inbounds i8, ptr %173, i64 16
  %175 = load i32, ptr %174, align 8, !tbaa !28
  %176 = icmp sgt i32 %175, 0
  br i1 %176, label %.lr.ph133, label %._crit_edge134

.preheader:                                       ; preds = %171
  %177 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #9
  %178 = getelementptr inbounds i8, ptr %177, i64 16
  %179 = load i32, ptr %178, align 8, !tbaa !28
  %180 = icmp sgt i32 %179, 0
  br i1 %180, label %.lr.ph140, label %._crit_edge141

._crit_edge141:                                   ; preds = %195, %.preheader
  %181 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #9
  %182 = getelementptr inbounds i8, ptr %181, i64 16
  %183 = load i32, ptr %182, align 8, !tbaa !28
  %184 = load ptr, ptr %27, align 8, !tbaa !36
  store i32 %183, ptr %184, align 4, !tbaa !26
  br label %271

185:                                              ; preds = %._crit_edge
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  br label %310

187:                                              ; preds = %166
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #9
  br label %309

.lr.ph140:                                        ; preds = %.preheader, %195
  %indvars.iv160 = phi i64 [ %indvars.iv.next161, %195 ], [ 0, %.preheader ]
  %189 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #9
  %190 = getelementptr inbounds i8, ptr %189, i64 8
  %191 = load ptr, ptr %190, align 8, !tbaa !30
  %192 = getelementptr inbounds float, ptr %191, i64 %indvars.iv160
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %192)
          to label %193 unwind label %201

193:                                              ; preds = %.lr.ph140
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv160) #9
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %194)
          to label %195 unwind label %201

195:                                              ; preds = %193
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %196 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #9
  %197 = getelementptr inbounds i8, ptr %196, i64 16
  %198 = load i32, ptr %197, align 8, !tbaa !28
  %199 = sext i32 %198 to i64
  %200 = icmp slt i64 %indvars.iv.next161, %199
  br i1 %200, label %.lr.ph140, label %._crit_edge141, !llvm.loop !37

201:                                              ; preds = %193, %.lr.ph140
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %308

._crit_edge134:                                   ; preds = %207, %.preheader125
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #9
  store float 1.000000e+00, ptr %14, align 4, !tbaa !23
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %215 unwind label %224

.lr.ph133:                                        ; preds = %.preheader125, %207
  %indvars.iv157 = phi i64 [ %indvars.iv.next158, %207 ], [ 0, %.preheader125 ]
  %203 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %204 = getelementptr inbounds i8, ptr %203, i64 8
  %205 = load ptr, ptr %204, align 8, !tbaa !30
  %206 = getelementptr inbounds float, ptr %205, i64 %indvars.iv157
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %206)
          to label %207 unwind label %213

207:                                              ; preds = %.lr.ph133
  %indvars.iv.next158 = add nuw nsw i64 %indvars.iv157, 1
  %208 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %209 = getelementptr inbounds i8, ptr %208, i64 16
  %210 = load i32, ptr %209, align 8, !tbaa !28
  %211 = sext i32 %210 to i64
  %212 = icmp slt i64 %indvars.iv.next158, %211
  br i1 %212, label %.lr.ph133, label %._crit_edge134, !llvm.loop !38

213:                                              ; preds = %.lr.ph133
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %308

215:                                              ; preds = %._crit_edge134
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  %216 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %217 = getelementptr inbounds i8, ptr %216, i64 16
  %218 = load i32, ptr %217, align 8, !tbaa !28
  %219 = icmp sgt i32 %218, 0
  br i1 %219, label %.lr.ph137, label %._crit_edge138

._crit_edge138:                                   ; preds = %227, %215
  %220 = load i32, ptr %24, align 8, !tbaa !8
  %221 = add nsw i32 %220, -1
  %222 = zext i32 %221 to i64
  %223 = icmp eq i64 %indvars.iv166, %222
  br i1 %223, label %254, label %235

224:                                              ; preds = %._crit_edge134
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  br label %308

.lr.ph137:                                        ; preds = %215, %227
  %.097135 = phi i32 [ %228, %227 ], [ 0, %215 ]
  %226 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv166) #9
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %226)
          to label %227 unwind label %233

227:                                              ; preds = %.lr.ph137
  %228 = add nuw nsw i32 %.097135, 1
  %229 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %230 = getelementptr inbounds i8, ptr %229, i64 16
  %231 = load i32, ptr %230, align 8, !tbaa !28
  %232 = icmp slt i32 %228, %231
  br i1 %232, label %.lr.ph137, label %._crit_edge138, !llvm.loop !39

233:                                              ; preds = %.lr.ph137
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %308

235:                                              ; preds = %._crit_edge138
  %236 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %237 = load float, ptr %236, align 8, !tbaa !33
  %238 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %239 = getelementptr inbounds i8, ptr %238, i64 4
  %240 = load float, ptr %239, align 4, !tbaa !34
  %241 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %242 = load float, ptr %241, align 8, !tbaa !33
  %243 = fsub float %240, %242
  %244 = trunc i64 %indvars.iv166 to i32
  %245 = add i32 %244, 1
  %246 = uitofp nneg i32 %245 to float
  %247 = fmul float %243, %246
  %248 = load i32, ptr %24, align 8, !tbaa !8
  %249 = add nsw i32 %248, -1
  %250 = sitofp i32 %249 to float
  %251 = fdiv float %247, %250
  %252 = fadd float %237, %251
  %253 = fpext float %252 to double
  br label %254

254:                                              ; preds = %._crit_edge138, %235
  %255 = phi double [ %253, %235 ], [ 1.000000e+00, %._crit_edge138 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #9
  %256 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv166) #9
  %257 = load float, ptr %256, align 4, !tbaa !23
  %258 = fpext float %257 to double
  %259 = fmul double %255, %258
  %260 = call double @sqrt(double noundef %259) #9
  %261 = fptrunc double %260 to float
  store float %261, ptr %15, align 4, !tbaa !23
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %262 unwind label %269

262:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #9
  %263 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv166) #9
  %264 = getelementptr inbounds i8, ptr %263, i64 16
  %265 = load i32, ptr %264, align 8, !tbaa !28
  %266 = add nsw i32 %265, 1
  %267 = load ptr, ptr %27, align 8, !tbaa !36
  %268 = getelementptr inbounds i32, ptr %267, i64 %indvars.iv166
  store i32 %266, ptr %268, align 4, !tbaa !26
  br label %271

269:                                              ; preds = %254
  %270 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #9
  br label %308

271:                                              ; preds = %262, %._crit_edge141
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  %272 = load ptr, ptr %27, align 8, !tbaa !36
  %273 = getelementptr inbounds i32, ptr %272, i64 %indvars.iv166
  %274 = load i32, ptr %273, align 4, !tbaa !26
  %275 = icmp sgt i32 %274, 0
  br i1 %275, label %.lr.ph144, label %._crit_edge145

._crit_edge145:                                   ; preds = %297, %271
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #9
  %276 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #9
  %277 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @_ZN8nvinfer16plugin19GridAnchorGenerator12copyToDeviceEPKvm(ptr dead_on_unwind nonnull writable sret(%"class.nvinfer1::Weights") align 8 %20, ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %276, i64 noundef %277) #9
  %278 = load ptr, ptr %44, align 8, !tbaa !40
  %279 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %278, i64 %indvars.iv166
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %279, ptr noundef nonnull align 8 dereferenceable(24) %20, i64 24, i1 false), !tbaa.struct !41
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #9
  %280 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0) #9
  %281 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @_ZN8nvinfer16plugin19GridAnchorGenerator12copyToDeviceEPKvm(ptr dead_on_unwind nonnull writable sret(%"class.nvinfer1::Weights") align 8 %21, ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %280, i64 noundef %281) #9
  %282 = load ptr, ptr %59, align 8, !tbaa !45
  %283 = getelementptr inbounds %"class.nvinfer1::Weights", ptr %282, i64 %indvars.iv166
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %283, ptr noundef nonnull align 8 dereferenceable(24) %21, i64 24, i1 false), !tbaa.struct !41
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %284 = load i32, ptr %24, align 8, !tbaa !8
  %285 = sext i32 %284 to i64
  %286 = icmp slt i64 %indvars.iv.next167, %285
  br i1 %286, label %82, label %._crit_edge149, !llvm.loop !46

.lr.ph144:                                        ; preds = %271, %297
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %297 ], [ 0, %271 ]
  %287 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv163) #9
  %288 = load float, ptr %287, align 4, !tbaa !23
  %289 = call noundef float @_ZSt4sqrtf(float noundef %288)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #9
  %290 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv163) #9
  %291 = load float, ptr %290, align 4, !tbaa !23
  %292 = fmul float %289, %291
  store float %292, ptr %18, align 4, !tbaa !23
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %293 unwind label %303

293:                                              ; preds = %.lr.ph144
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #9
  %294 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv163) #9
  %295 = load float, ptr %294, align 4, !tbaa !23
  %296 = fdiv float %295, %289
  store float %296, ptr %19, align 4, !tbaa !23
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %297 unwind label %305

297:                                              ; preds = %293
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #9
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %298 = load ptr, ptr %27, align 8, !tbaa !36
  %299 = getelementptr inbounds i32, ptr %298, i64 %indvars.iv166
  %300 = load i32, ptr %299, align 4, !tbaa !26
  %301 = sext i32 %300 to i64
  %302 = icmp slt i64 %indvars.iv.next164, %301
  br i1 %302, label %.lr.ph144, label %._crit_edge145, !llvm.loop !47

303:                                              ; preds = %.lr.ph144
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #9
  br label %307

305:                                              ; preds = %293
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #9
  br label %307

307:                                              ; preds = %305, %303
  %.pn = phi { ptr, i32 } [ %306, %305 ], [ %304, %303 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  br label %308

308:                                              ; preds = %307, %269, %233, %224, %213, %201
  %.pn111 = phi { ptr, i32 } [ %202, %201 ], [ %.pn, %307 ], [ %214, %213 ], [ %234, %233 ], [ %270, %269 ], [ %225, %224 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  br label %309

309:                                              ; preds = %308, %187
  %.pn111.pn = phi { ptr, i32 } [ %.pn111, %308 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  br label %310

310:                                              ; preds = %309, %185
  %.pn111.pn.pn = phi { ptr, i32 } [ %.pn111.pn, %309 ], [ %186, %185 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  br label %311

311:                                              ; preds = %310, %145
  %.pn111.pn.pn.pn = phi { ptr, i32 } [ %.pn111.pn.pn, %310 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  br label %312

312:                                              ; preds = %95, %311, %69, %71, %54, %56, %39, %41, %80
  %.pn121.pn = phi { ptr, i32 } [ %81, %80 ], [ %42, %41 ], [ %40, %39 ], [ %57, %56 ], [ %55, %54 ], [ %72, %71 ], [ %70, %69 ], [ %.pn111.pn.pn.pn, %311 ], [ %96, %95 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  br label %313

313:                                              ; preds = %312, %37
  %.pn121.pn.pn = phi { ptr, i32 } [ %.pn121.pn, %312 ], [ %38, %37 ]
  call void @_ZN8nvinfer19IPluginV2D2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #9
  resume { ptr, i32 } %.pn121.pn.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 dso_local void @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEC2Ev(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

declare i32 @cudaMallocHost(ptr noundef, i64 noundef) local_unnamed_addr #3

declare ptr @cudaGetErrorString(i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_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) #5

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #6

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #2 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8nvinfer16plugin19GridAnchorGenerator12copyToDeviceEPKvm(ptr dead_on_unwind noalias writable sret(%"class.nvinfer1::Weights") align 8, ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_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 @_ZNSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EED2Ev(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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { "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 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #7 = { mustprogress nofree nounwind willreturn memory(write) "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 #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { nounwind allocsize(0) }

!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, !17, i64 40}
!9 = !{!"_ZTSN8nvinfer16plugin19GridAnchorGeneratorE", !10, i64 0, !12, i64 8, !17, i64 40, !18, i64 48, !14, i64 72, !14, i64 80, !14, i64 88, !12, i64 96}
!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 = !{!"int", !15, i64 0}
!18 = !{!"_ZTSSt6vectorIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN8nvinfer16plugin20GridAnchorParametersESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23, i64 8, i64 8, !25, i64 16, i64 4, !26, i64 20, i64 4, !26, i64 24, i64 4, !26, i64 28, i64 16, !27}
!23 = !{!24, !24, i64 0}
!24 = !{!"float", !15, i64 0}
!25 = !{!14, !14, i64 0}
!26 = !{!17, !17, i64 0}
!27 = !{!15, !15, i64 0}
!28 = !{!29, !17, i64 16}
!29 = !{!"_ZTSN8nvinfer16plugin20GridAnchorParametersE", !24, i64 0, !24, i64 4, !14, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !15, i64 28}
!30 = !{!29, !14, i64 8}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!29, !24, i64 0}
!34 = !{!29, !24, i64 4}
!35 = distinct !{!35, !32}
!36 = !{!9, !14, i64 72}
!37 = distinct !{!37, !32}
!38 = distinct !{!38, !32}
!39 = distinct !{!39, !32}
!40 = !{!9, !14, i64 80}
!41 = !{i64 0, i64 4, !42, i64 8, i64 8, !25, i64 16, i64 8, !44}
!42 = !{!43, !43, i64 0}
!43 = !{!"_ZTSN8nvinfer18DataTypeE", !15, i64 0}
!44 = !{!16, !16, i64 0}
!45 = !{!9, !14, i64 88}
!46 = distinct !{!46, !32}
!47 = distinct !{!47, !32}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass