; LLVM IR from huawei-noah/bolt :: compute/tensor/tests/test_roialign.ll (Z12roialignTestiPPc8DataType)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ArchInfo = type { i32, ptr }
%struct.RoIAlignParamSpec = type { i32, i32, i32, i32, i32, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl" }
%"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.5" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.5" = type { %"class.std::__shared_ptr.6" }
%"class.std::__shared_ptr.6" = type { ptr, %"class.std::__shared_count" }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@_ZL15UT_CPU_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZL18UT_SERIAL_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.3 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z12roialignTestiPPc8DataType(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca float, align 4
  %23 = alloca %struct.RoIAlignParamSpec, align 4
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca %"class.std::vector.0", align 8
  %29 = alloca %"class.std::allocator.2", align 1
  %30 = alloca %struct.TensorDesc, align 4
  %31 = alloca %struct.TensorDesc, align 4
  %32 = alloca %struct.TensorDesc, align 4
  %33 = alloca %class.Tensor, align 8
  %34 = alloca %struct.TensorDesc, align 8
  %35 = alloca %class.Tensor, align 8
  %36 = alloca %struct.TensorDesc, align 8
  %37 = alloca %class.Tensor, align 8
  %38 = alloca %struct.TensorDesc, align 8
  %39 = alloca i32, align 4
  %40 = alloca %struct.TensorDesc, align 8
  %41 = alloca i32, align 4
  %42 = alloca %struct.TensorDesc, align 8
  %43 = alloca i32, align 4
  %44 = alloca %struct.TensorDesc, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca %class.Tensor, align 8
  %49 = alloca %struct.TensorDesc, align 8
  %50 = alloca %class.Tensor, align 8
  %51 = alloca %struct.TensorDesc, align 8
  %52 = alloca %class.Tensor, align 8
  %53 = alloca %struct.TensorDesc, align 8
  %54 = alloca %class.Tensor, align 8
  %55 = alloca %class.Tensor, align 8
  %56 = alloca i32, align 4
  %57 = alloca %"class.std::vector.0", align 8
  %58 = alloca %struct.RoIAlignParamSpec, align 8
  %59 = alloca i32, align 4
  %60 = alloca %struct.TensorDesc, align 4
  %61 = alloca %struct.TensorDesc, align 8
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca %class.Tensor, align 8
  %66 = alloca i32, align 4
  %67 = alloca %"class.std::vector", align 8
  %68 = alloca %struct.RoIAlignParamSpec, align 8
  %69 = alloca %class.Tensor, align 8
  %70 = alloca %class.Tensor, align 8
  %71 = alloca i32, align 4
  %72 = alloca i32, align 4
  %73 = alloca %"class.std::vector", align 8
  %74 = alloca %struct.RoIAlignParamSpec, align 8
  %75 = alloca %class.Tensor, align 8
  %76 = alloca %class.Tensor, align 8
  %77 = alloca i32, align 4
  %78 = alloca %class.Tensor, align 8
  %79 = alloca %class.Tensor, align 8
  %80 = alloca double, align 8
  %81 = alloca i32, align 4
  %82 = alloca i32, align 4
  %83 = alloca %"class.std::vector", align 8
  %84 = alloca %struct.RoIAlignParamSpec, align 8
  %85 = alloca %class.Tensor, align 8
  %86 = alloca %class.Tensor, align 8
  %87 = alloca i32, align 4
  %88 = alloca double, align 8
  %89 = alloca double, align 8
  %90 = alloca [150 x i8], align 16
  %91 = alloca [120 x i8], align 16
  %92 = alloca double, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !11
  %93 = load i32, ptr %4, align 4, !tbaa !5
  %94 = icmp eq i32 %93, 16
  br i1 %94, label %105, label %95

95:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  %96 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %97 = trunc i64 %96 to i32
  store i32 %97, ptr %7, align 4, !tbaa !5
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %98)
  %100 = load ptr, ptr @stdout, align 8, !tbaa !9
  %101 = call i32 @fflush(ptr noundef %100)
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %103 = load ptr, ptr @stdout, align 8, !tbaa !9
  %104 = call i32 @fflush(ptr noundef %103)
  call void @exit(i32 noundef 1) #11
  unreachable

105:                                              ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %106 = load ptr, ptr %5, align 8, !tbaa !9
  %107 = getelementptr inbounds ptr, ptr %106, i64 1
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = call i32 @atoi(ptr noundef %108) #12
  store i32 %109, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  %110 = load ptr, ptr %5, align 8, !tbaa !9
  %111 = getelementptr inbounds ptr, ptr %110, i64 2
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = call i32 @atoi(ptr noundef %112) #12
  store i32 %113, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  %114 = load ptr, ptr %5, align 8, !tbaa !9
  %115 = getelementptr inbounds ptr, ptr %114, i64 3
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  %117 = call i32 @atoi(ptr noundef %116) #12
  store i32 %117, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  %118 = load ptr, ptr %5, align 8, !tbaa !9
  %119 = getelementptr inbounds ptr, ptr %118, i64 4
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = call i32 @atoi(ptr noundef %120) #12
  store i32 %121, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %122 = load ptr, ptr %5, align 8, !tbaa !9
  %123 = getelementptr inbounds ptr, ptr %122, i64 5
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = call i32 @atoi(ptr noundef %124) #12
  store i32 %125, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  %126 = load ptr, ptr %5, align 8, !tbaa !9
  %127 = getelementptr inbounds ptr, ptr %126, i64 6
  %128 = load ptr, ptr %127, align 8, !tbaa !9
  %129 = call i32 @atoi(ptr noundef %128) #12
  store i32 %129, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %130 = load ptr, ptr %5, align 8, !tbaa !9
  %131 = getelementptr inbounds ptr, ptr %130, i64 7
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = call i32 @atoi(ptr noundef %132) #12
  store i32 %133, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %134 = load ptr, ptr %5, align 8, !tbaa !9
  %135 = getelementptr inbounds ptr, ptr %134, i64 8
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = call i32 @atoi(ptr noundef %136) #12
  store i32 %137, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  %138 = load ptr, ptr %5, align 8, !tbaa !9
  %139 = getelementptr inbounds ptr, ptr %138, i64 9
  %140 = load ptr, ptr %139, align 8, !tbaa !9
  %141 = call i32 @atoi(ptr noundef %140) #12
  store i32 %141, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  %142 = load ptr, ptr %5, align 8, !tbaa !9
  %143 = getelementptr inbounds ptr, ptr %142, i64 10
  %144 = load ptr, ptr %143, align 8, !tbaa !9
  %145 = call i32 @atoi(ptr noundef %144) #12
  store i32 %145, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  %146 = load ptr, ptr %5, align 8, !tbaa !9
  %147 = getelementptr inbounds ptr, ptr %146, i64 11
  %148 = load ptr, ptr %147, align 8, !tbaa !9
  %149 = call i32 @atoi(ptr noundef %148) #12
  store i32 %149, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  %150 = load ptr, ptr %5, align 8, !tbaa !9
  %151 = getelementptr inbounds ptr, ptr %150, i64 12
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = call i32 @atoi(ptr noundef %152) #12
  store i32 %153, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %154 = load ptr, ptr %5, align 8, !tbaa !9
  %155 = getelementptr inbounds ptr, ptr %154, i64 13
  %156 = load ptr, ptr %155, align 8, !tbaa !9
  %157 = call i32 @atoi(ptr noundef %156) #12
  store i32 %157, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  %158 = load ptr, ptr %5, align 8, !tbaa !9
  %159 = getelementptr inbounds ptr, ptr %158, i64 14
  %160 = load ptr, ptr %159, align 8, !tbaa !9
  %161 = call i32 @atoi(ptr noundef %160) #12
  store i32 %161, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  %162 = load ptr, ptr %5, align 8, !tbaa !9
  %163 = getelementptr inbounds ptr, ptr %162, i64 15
  %164 = load ptr, ptr %163, align 8, !tbaa !9
  %165 = call double @atof(ptr noundef %164) #12
  %166 = fptrunc double %165 to float
  store float %166, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #10
  %167 = getelementptr inbounds %struct.RoIAlignParamSpec, ptr %23, i32 0, i32 1
  store i32 1, ptr %167, align 4, !tbaa !15
  %168 = load i32, ptr %19, align 4, !tbaa !5
  %169 = getelementptr inbounds %struct.RoIAlignParamSpec, ptr %23, i32 0, i32 2
  store i32 %168, ptr %169, align 4, !tbaa !19
  %170 = load i32, ptr %20, align 4, !tbaa !5
  %171 = getelementptr inbounds %struct.RoIAlignParamSpec, ptr %23, i32 0, i32 3
  store i32 %170, ptr %171, align 4, !tbaa !20
  %172 = load i32, ptr %21, align 4, !tbaa !5
  %173 = getelementptr inbounds %struct.RoIAlignParamSpec, ptr %23, i32 0, i32 4
  store i32 %172, ptr %173, align 4, !tbaa !21
  %174 = load float, ptr %22, align 4, !tbaa !13
  %175 = getelementptr inbounds %struct.RoIAlignParamSpec, ptr %23, i32 0, i32 5
  store float %174, ptr %175, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #10
  call void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %176 unwind label %269

176:                                              ; preds = %105
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #10
  call void @_ZNSaIP6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %177 unwind label %273

177:                                              ; preds = %176
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 92, ptr %30) #10
  %178 = load i32, ptr %6, align 4, !tbaa !11
  %179 = load i32, ptr %8, align 4, !tbaa !5
  %180 = load i32, ptr %9, align 4, !tbaa !5
  %181 = load i32, ptr %10, align 4, !tbaa !5
  %182 = load i32, ptr %11, align 4, !tbaa !5
  invoke void @_Z8tensor4d8DataTypejjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %30, i32 noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181, i32 noundef %182)
          to label %183 unwind label %277

183:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 92, ptr %31) #10
  %184 = load i32, ptr %6, align 4, !tbaa !11
  %185 = load i32, ptr %12, align 4, !tbaa !5
  %186 = load i32, ptr %13, align 4, !tbaa !5
  invoke void @_Z8tensor2d8DataTypejj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %31, i32 noundef %184, i32 noundef %185, i32 noundef %186)
          to label %187 unwind label %281

187:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 92, ptr %32) #10
  %188 = load i32, ptr %6, align 4, !tbaa !11
  %189 = load i32, ptr %14, align 4, !tbaa !5
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %32, i32 noundef %188, i32 noundef %189)
          to label %190 unwind label %285

190:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %30, i64 92, i1 false), !tbaa.struct !23
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %33, ptr noundef byval(%struct.TensorDesc) align 8 %34)
          to label %191 unwind label %289

191:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %31, i64 92, i1 false), !tbaa.struct !23
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %35, ptr noundef byval(%struct.TensorDesc) align 8 %36)
          to label %192 unwind label %293

192:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %32, i64 92, i1 false), !tbaa.struct !23
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %37, ptr noundef byval(%struct.TensorDesc) align 8 %38)
          to label %193 unwind label %297

193:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %30, i64 92, i1 false), !tbaa.struct !23
  %194 = invoke noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %40)
          to label %195 unwind label %301

195:                                              ; preds = %193
  store i32 %194, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %31, i64 92, i1 false), !tbaa.struct !23
  %196 = invoke noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %42)
          to label %197 unwind label %305

197:                                              ; preds = %195
  store i32 %196, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %32, i64 92, i1 false), !tbaa.struct !23
  %198 = invoke noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %44)
          to label %199 unwind label %309

199:                                              ; preds = %197
  store i32 %198, ptr %43, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  %200 = load i32, ptr %39, align 4, !tbaa !5
  %201 = load i32, ptr %6, align 4, !tbaa !11
  %202 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %200, i32 noundef %201, i32 noundef 0)
          to label %203 unwind label %313

203:                                              ; preds = %199
  store ptr %202, ptr %45, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %204 = load i32, ptr %41, align 4, !tbaa !5
  %205 = load i32, ptr %6, align 4, !tbaa !11
  %206 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %204, i32 noundef %205, i32 noundef 0)
          to label %207 unwind label %317

207:                                              ; preds = %203
  store ptr %206, ptr %46, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %208 = load i32, ptr %43, align 4, !tbaa !5
  %209 = load i32, ptr %6, align 4, !tbaa !11
  %210 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %208, i32 noundef %209, i32 noundef 3)
          to label %211 unwind label %321

211:                                              ; preds = %207
  store ptr %210, ptr %47, align 8, !tbaa !9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  %212 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %48, i32 noundef 1)
          to label %213 unwind label %325

213:                                              ; preds = %211
  %214 = load ptr, ptr %45, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %30, i64 92, i1 false), !tbaa.struct !23
  %215 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %49)
          to label %216 unwind label %325

216:                                              ; preds = %213
  %217 = zext i32 %215 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %212, ptr noundef %214, i64 noundef %217)
          to label %218 unwind label %325

218:                                              ; preds = %216
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  %219 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %50, i32 noundef 1)
          to label %220 unwind label %329

220:                                              ; preds = %218
  %221 = load ptr, ptr %46, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %31, i64 92, i1 false), !tbaa.struct !23
  %222 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %51)
          to label %223 unwind label %329

223:                                              ; preds = %220
  %224 = zext i32 %222 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %219, ptr noundef %221, i64 noundef %224)
          to label %225 unwind label %329

225:                                              ; preds = %223
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(32) %37) #10
  %226 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %52, i32 noundef 1)
          to label %227 unwind label %333

227:                                              ; preds = %225
  %228 = load ptr, ptr %47, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %32, i64 92, i1 false), !tbaa.struct !23
  %229 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %53)
          to label %230 unwind label %333

230:                                              ; preds = %227
  %231 = zext i32 %229 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %226, ptr noundef %228, i64 noundef %231)
          to label %232 unwind label %333

232:                                              ; preds = %230
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  %233 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #10
  %234 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %233, ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  %235 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #10
  %236 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %235, ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  %237 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #10
  %238 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %237, ptr noundef nonnull align 8 dereferenceable(32) %37) #10
  %239 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #10
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 0) #10
  store ptr %239, ptr %240, align 8, !tbaa !9
  %241 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #10
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 1) #10
  store ptr %241, ptr %242, align 8, !tbaa !9
  %243 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #10
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 2) #10
  store ptr %243, ptr %244, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #10
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %54, i32 noundef 1)
          to label %245 unwind label %337

245:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #10
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %55, i32 noundef 1)
          to label %246 unwind label %341

246:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #10
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %247 unwind label %345

247:                                              ; preds = %246
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %23, i64 24, i1 false), !tbaa.struct !27
  %248 = invoke noundef i32 @_Z26roialign_infer_output_sizeSt6vectorIP6TensorSaIS1_EE17RoIAlignParamSpecS1_P8ArchInfo(ptr noundef %57, ptr noundef byval(%struct.RoIAlignParamSpec) align 8 %58, ptr noundef %54, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %249 unwind label %349

249:                                              ; preds = %247
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #10
  store i32 %248, ptr %56, align 4, !tbaa !30
  %250 = load i32, ptr %56, align 4, !tbaa !30
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %357

252:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #10
  %253 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %254 = trunc i64 %253 to i32
  store i32 %254, ptr %59, align 4, !tbaa !5
  %255 = load i32, ptr %59, align 4, !tbaa !5
  %256 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %255)
          to label %257 unwind label %353

257:                                              ; preds = %252
  %258 = load ptr, ptr @stdout, align 8, !tbaa !9
  %259 = invoke i32 @fflush(ptr noundef %258)
          to label %260 unwind label %353

260:                                              ; preds = %257
  %261 = load i32, ptr %56, align 4, !tbaa !30
  %262 = invoke ptr @ee2str(i32 noundef %261)
          to label %263 unwind label %353

263:                                              ; preds = %260
  %264 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %262)
          to label %265 unwind label %353

265:                                              ; preds = %263
  %266 = load ptr, ptr @stdout, align 8, !tbaa !9
  %267 = invoke i32 @fflush(ptr noundef %266)
          to label %268 unwind label %353

268:                                              ; preds = %265
  call void @exit(i32 noundef 1) #11
  unreachable

269:                                              ; preds = %105
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %26, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %27, align 4
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  br label %668

273:                                              ; preds = %176
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %26, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %27, align 4
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  br label %667

277:                                              ; preds = %177
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %26, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %27, align 4
  br label %666

281:                                              ; preds = %183
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %26, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %27, align 4
  br label %665

285:                                              ; preds = %187
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %26, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %27, align 4
  br label %664

289:                                              ; preds = %190
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %26, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %27, align 4
  br label %663

293:                                              ; preds = %191
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %26, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %27, align 4
  br label %662

297:                                              ; preds = %192
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %26, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %27, align 4
  br label %661

301:                                              ; preds = %193
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %26, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %27, align 4
  br label %660

305:                                              ; preds = %195
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %26, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %27, align 4
  br label %659

309:                                              ; preds = %197
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %26, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %27, align 4
  br label %658

313:                                              ; preds = %199
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %26, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %27, align 4
  br label %657

317:                                              ; preds = %203
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %26, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %27, align 4
  br label %656

321:                                              ; preds = %207
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %26, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %27, align 4
  br label %655

325:                                              ; preds = %216, %213, %211
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %26, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %27, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  br label %655

329:                                              ; preds = %223, %220, %218
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %26, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %27, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #10
  br label %655

333:                                              ; preds = %230, %227, %225
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %26, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %27, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  br label %655

337:                                              ; preds = %232
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %26, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %27, align 4
  br label %654

341:                                              ; preds = %245
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %26, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %27, align 4
  br label %653

345:                                              ; preds = %246
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %26, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %27, align 4
  br label %393

349:                                              ; preds = %247
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %26, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %27, align 4
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #10
  br label %393

353:                                              ; preds = %265, %263, %260, %257, %252
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %26, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #10
  br label %393

357:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #10
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %358 unwind label %394

358:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 92, ptr %60) #10
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %60, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %359 unwind label %398

359:                                              ; preds = %358
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %60, i64 92, i1 false), !tbaa.struct !23
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef byval(%struct.TensorDesc) align 8 %61)
          to label %360 unwind label %398

360:                                              ; preds = %359
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %361 unwind label %398

361:                                              ; preds = %360
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #10
  %362 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %363 unwind label %402

363:                                              ; preds = %361
  store i32 %362, ptr %62, align 4, !tbaa !5
  %364 = load i32, ptr %12, align 4, !tbaa !5
  %365 = load i32, ptr %15, align 4, !tbaa !5
  %366 = icmp eq i32 %364, %365
  br i1 %366, label %367, label %379

367:                                              ; preds = %363
  %368 = load i32, ptr %9, align 4, !tbaa !5
  %369 = load i32, ptr %16, align 4, !tbaa !5
  %370 = icmp eq i32 %368, %369
  br i1 %370, label %371, label %379

371:                                              ; preds = %367
  %372 = load i32, ptr %19, align 4, !tbaa !5
  %373 = load i32, ptr %17, align 4, !tbaa !5
  %374 = icmp eq i32 %372, %373
  br i1 %374, label %375, label %379

375:                                              ; preds = %371
  %376 = load i32, ptr %20, align 4, !tbaa !5
  %377 = load i32, ptr %18, align 4, !tbaa !5
  %378 = icmp eq i32 %376, %377
  br i1 %378, label %410, label %379

379:                                              ; preds = %375, %371, %367, %363
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #10
  %380 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %381 = trunc i64 %380 to i32
  store i32 %381, ptr %63, align 4, !tbaa !5
  %382 = load i32, ptr %63, align 4, !tbaa !5
  %383 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %382)
          to label %384 unwind label %406

384:                                              ; preds = %379
  %385 = load ptr, ptr @stdout, align 8, !tbaa !9
  %386 = invoke i32 @fflush(ptr noundef %385)
          to label %387 unwind label %406

387:                                              ; preds = %384
  %388 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1)
          to label %389 unwind label %406

389:                                              ; preds = %387
  %390 = load ptr, ptr @stdout, align 8, !tbaa !9
  %391 = invoke i32 @fflush(ptr noundef %390)
          to label %392 unwind label %406

392:                                              ; preds = %389
  call void @exit(i32 noundef 1) #11
  unreachable

393:                                              ; preds = %353, %349, %345
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #10
  br label %652

394:                                              ; preds = %357
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %26, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %27, align 4
  br label %652

398:                                              ; preds = %360, %359, %358
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %26, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %27, align 4
  br label %651

402:                                              ; preds = %361
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %26, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %27, align 4
  br label %650

406:                                              ; preds = %389, %387, %384, %379
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %26, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #10
  br label %650

410:                                              ; preds = %375
  %411 = load i32, ptr %39, align 4, !tbaa !5
  %412 = load i32, ptr %8, align 4, !tbaa !5
  %413 = load i32, ptr %9, align 4, !tbaa !5
  %414 = mul i32 %412, %413
  %415 = load i32, ptr %10, align 4, !tbaa !5
  %416 = mul i32 %414, %415
  %417 = load i32, ptr %11, align 4, !tbaa !5
  %418 = mul i32 %416, %417
  %419 = icmp eq i32 %411, %418
  br i1 %419, label %420, label %440

420:                                              ; preds = %410
  %421 = load i32, ptr %41, align 4, !tbaa !5
  %422 = load i32, ptr %12, align 4, !tbaa !5
  %423 = load i32, ptr %13, align 4, !tbaa !5
  %424 = mul i32 %422, %423
  %425 = icmp eq i32 %421, %424
  br i1 %425, label %426, label %440

426:                                              ; preds = %420
  %427 = load i32, ptr %43, align 4, !tbaa !5
  %428 = load i32, ptr %14, align 4, !tbaa !5
  %429 = icmp eq i32 %427, %428
  br i1 %429, label %430, label %440

430:                                              ; preds = %426
  %431 = load i32, ptr %62, align 4, !tbaa !5
  %432 = load i32, ptr %15, align 4, !tbaa !5
  %433 = load i32, ptr %16, align 4, !tbaa !5
  %434 = mul i32 %432, %433
  %435 = load i32, ptr %17, align 4, !tbaa !5
  %436 = mul i32 %434, %435
  %437 = load i32, ptr %18, align 4, !tbaa !5
  %438 = mul i32 %436, %437
  %439 = icmp eq i32 %431, %438
  br i1 %439, label %458, label %440

440:                                              ; preds = %430, %426, %420, %410
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #10
  %441 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %442 = trunc i64 %441 to i32
  store i32 %442, ptr %64, align 4, !tbaa !5
  %443 = load i32, ptr %64, align 4, !tbaa !5
  %444 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %443)
          to label %445 unwind label %454

445:                                              ; preds = %440
  %446 = load ptr, ptr @stdout, align 8, !tbaa !9
  %447 = invoke i32 @fflush(ptr noundef %446)
          to label %448 unwind label %454

448:                                              ; preds = %445
  %449 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1)
          to label %450 unwind label %454

450:                                              ; preds = %448
  %451 = load ptr, ptr @stdout, align 8, !tbaa !9
  %452 = invoke i32 @fflush(ptr noundef %451)
          to label %453 unwind label %454

453:                                              ; preds = %450
  call void @exit(i32 noundef 1) #11
  unreachable

454:                                              ; preds = %450, %448, %445, %440
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %26, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #10
  br label %650

458:                                              ; preds = %430
  call void @llvm.lifetime.start.p0(i64 32, ptr %65) #10
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %65, i32 noundef 1)
          to label %459 unwind label %482

459:                                              ; preds = %458
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %460 unwind label %486

460:                                              ; preds = %459
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 4 %23, i64 24, i1 false), !tbaa.struct !27
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(32) %65) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  %461 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef %67, ptr noundef byval(%struct.RoIAlignParamSpec) align 8 %68, ptr noundef %69, ptr noundef %70, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %462 unwind label %490

462:                                              ; preds = %460
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %67) #10
  store i32 %461, ptr %66, align 4, !tbaa !30
  %463 = load i32, ptr %66, align 4, !tbaa !30
  %464 = icmp ne i32 %463, 0
  br i1 %464, label %465, label %498

465:                                              ; preds = %462
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #10
  %466 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %467 = trunc i64 %466 to i32
  store i32 %467, ptr %71, align 4, !tbaa !5
  %468 = load i32, ptr %71, align 4, !tbaa !5
  %469 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %468)
          to label %470 unwind label %494

470:                                              ; preds = %465
  %471 = load ptr, ptr @stdout, align 8, !tbaa !9
  %472 = invoke i32 @fflush(ptr noundef %471)
          to label %473 unwind label %494

473:                                              ; preds = %470
  %474 = load i32, ptr %66, align 4, !tbaa !30
  %475 = invoke ptr @ee2str(i32 noundef %474)
          to label %476 unwind label %494

476:                                              ; preds = %473
  %477 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %475)
          to label %478 unwind label %494

478:                                              ; preds = %476
  %479 = load ptr, ptr @stdout, align 8, !tbaa !9
  %480 = invoke i32 @fflush(ptr noundef %479)
          to label %481 unwind label %494

481:                                              ; preds = %478
  call void @exit(i32 noundef 1) #11
  unreachable

482:                                              ; preds = %458
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %26, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %27, align 4
  br label %649

486:                                              ; preds = %459
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %26, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %27, align 4
  br label %521

490:                                              ; preds = %460
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %26, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %27, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %67) #10
  br label %521

494:                                              ; preds = %478, %476, %473, %470, %465
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %26, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #10
  br label %521

498:                                              ; preds = %462
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %499 unwind label %522

499:                                              ; preds = %498
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 4 %23, i64 24, i1 false), !tbaa.struct !27
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(32) %65) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %76, ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  %500 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef %73, ptr noundef byval(%struct.RoIAlignParamSpec) align 8 %74, ptr noundef %75, ptr noundef %76, ptr noundef @_ZL18UT_SERIAL_ARCHINFO)
          to label %501 unwind label %526

501:                                              ; preds = %499
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #10
  store i32 %500, ptr %72, align 4, !tbaa !30
  %502 = load i32, ptr %72, align 4, !tbaa !30
  %503 = icmp ne i32 %502, 0
  br i1 %503, label %504, label %534

504:                                              ; preds = %501
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #10
  %505 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %506 = trunc i64 %505 to i32
  store i32 %506, ptr %77, align 4, !tbaa !5
  %507 = load i32, ptr %77, align 4, !tbaa !5
  %508 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %507)
          to label %509 unwind label %530

509:                                              ; preds = %504
  %510 = load ptr, ptr @stdout, align 8, !tbaa !9
  %511 = invoke i32 @fflush(ptr noundef %510)
          to label %512 unwind label %530

512:                                              ; preds = %509
  %513 = load i32, ptr %72, align 4, !tbaa !30
  %514 = invoke ptr @ee2str(i32 noundef %513)
          to label %515 unwind label %530

515:                                              ; preds = %512
  %516 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %514)
          to label %517 unwind label %530

517:                                              ; preds = %515
  %518 = load ptr, ptr @stdout, align 8, !tbaa !9
  %519 = invoke i32 @fflush(ptr noundef %518)
          to label %520 unwind label %530

520:                                              ; preds = %517
  call void @exit(i32 noundef 1) #11
  unreachable

521:                                              ; preds = %494, %490, %486
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #10
  br label %648

522:                                              ; preds = %498
  %523 = landingpad { ptr, i32 }
          cleanup
  %524 = extractvalue { ptr, i32 } %523, 0
  store ptr %524, ptr %26, align 8
  %525 = extractvalue { ptr, i32 } %523, 1
  store i32 %525, ptr %27, align 4
  br label %548

526:                                              ; preds = %499
  %527 = landingpad { ptr, i32 }
          cleanup
  %528 = extractvalue { ptr, i32 } %527, 0
  store ptr %528, ptr %26, align 8
  %529 = extractvalue { ptr, i32 } %527, 1
  store i32 %529, ptr %27, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #10
  br label %548

530:                                              ; preds = %517, %515, %512, %509, %504
  %531 = landingpad { ptr, i32 }
          cleanup
  %532 = extractvalue { ptr, i32 } %531, 0
  store ptr %532, ptr %26, align 8
  %533 = extractvalue { ptr, i32 } %531, 1
  store i32 %533, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #10
  br label %548

534:                                              ; preds = %501
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  %535 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %78, i32 noundef 1)
          to label %536 unwind label %549

536:                                              ; preds = %534
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  %537 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %79, i32 noundef 1)
          to label %538 unwind label %553

538:                                              ; preds = %536
  %539 = load i32, ptr %62, align 4, !tbaa !5
  %540 = load i32, ptr %6, align 4, !tbaa !11
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %535, ptr noundef %537, i32 noundef %539, i32 noundef %540, float noundef 0x3FA99999A0000000)
          to label %541 unwind label %553

541:                                              ; preds = %538
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #10
  %542 = invoke noundef double @_Z10ut_time_msv()
          to label %543 unwind label %558

543:                                              ; preds = %541
  store double %542, ptr %80, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #10
  store i32 0, ptr %81, align 4, !tbaa !5
  br label %544

544:                                              ; preds = %598, %543
  %545 = load i32, ptr %81, align 4, !tbaa !5
  %546 = icmp slt i32 %545, 6
  br i1 %546, label %562, label %547

547:                                              ; preds = %544
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #10
  br label %602

548:                                              ; preds = %530, %526, %522
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #10
  br label %648

549:                                              ; preds = %534
  %550 = landingpad { ptr, i32 }
          cleanup
  %551 = extractvalue { ptr, i32 } %550, 0
  store ptr %551, ptr %26, align 8
  %552 = extractvalue { ptr, i32 } %550, 1
  store i32 %552, ptr %27, align 4
  br label %557

553:                                              ; preds = %538, %536
  %554 = landingpad { ptr, i32 }
          cleanup
  %555 = extractvalue { ptr, i32 } %554, 0
  store ptr %555, ptr %26, align 8
  %556 = extractvalue { ptr, i32 } %554, 1
  store i32 %556, ptr %27, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #10
  br label %557

557:                                              ; preds = %553, %549
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #10
  br label %648

558:                                              ; preds = %541
  %559 = landingpad { ptr, i32 }
          cleanup
  %560 = extractvalue { ptr, i32 } %559, 0
  store ptr %560, ptr %26, align 8
  %561 = extractvalue { ptr, i32 } %559, 1
  store i32 %561, ptr %27, align 4
  br label %647

562:                                              ; preds = %544
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %83, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %563 unwind label %585

563:                                              ; preds = %562
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %23, i64 24, i1 false), !tbaa.struct !27
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull align 8 dereferenceable(32) %65) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  %564 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef %83, ptr noundef byval(%struct.RoIAlignParamSpec) align 8 %84, ptr noundef %85, ptr noundef %86, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %565 unwind label %589

565:                                              ; preds = %563
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %83) #10
  store i32 %564, ptr %82, align 4, !tbaa !30
  %566 = load i32, ptr %82, align 4, !tbaa !30
  %567 = icmp ne i32 %566, 0
  br i1 %567, label %568, label %597

568:                                              ; preds = %565
  call void @llvm.lifetime.start.p0(i64 4, ptr %87) #10
  %569 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %570 = trunc i64 %569 to i32
  store i32 %570, ptr %87, align 4, !tbaa !5
  %571 = load i32, ptr %87, align 4, !tbaa !5
  %572 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %571)
          to label %573 unwind label %593

573:                                              ; preds = %568
  %574 = load ptr, ptr @stdout, align 8, !tbaa !9
  %575 = invoke i32 @fflush(ptr noundef %574)
          to label %576 unwind label %593

576:                                              ; preds = %573
  %577 = load i32, ptr %82, align 4, !tbaa !30
  %578 = invoke ptr @ee2str(i32 noundef %577)
          to label %579 unwind label %593

579:                                              ; preds = %576
  %580 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %578)
          to label %581 unwind label %593

581:                                              ; preds = %579
  %582 = load ptr, ptr @stdout, align 8, !tbaa !9
  %583 = invoke i32 @fflush(ptr noundef %582)
          to label %584 unwind label %593

584:                                              ; preds = %581
  call void @exit(i32 noundef 1) #11
  unreachable

585:                                              ; preds = %562
  %586 = landingpad { ptr, i32 }
          cleanup
  %587 = extractvalue { ptr, i32 } %586, 0
  store ptr %587, ptr %26, align 8
  %588 = extractvalue { ptr, i32 } %586, 1
  store i32 %588, ptr %27, align 4
  br label %601

589:                                              ; preds = %563
  %590 = landingpad { ptr, i32 }
          cleanup
  %591 = extractvalue { ptr, i32 } %590, 0
  store ptr %591, ptr %26, align 8
  %592 = extractvalue { ptr, i32 } %590, 1
  store i32 %592, ptr %27, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %83) #10
  br label %601

593:                                              ; preds = %581, %579, %576, %573, %568
  %594 = landingpad { ptr, i32 }
          cleanup
  %595 = extractvalue { ptr, i32 } %594, 0
  store ptr %595, ptr %26, align 8
  %596 = extractvalue { ptr, i32 } %594, 1
  store i32 %596, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %87) #10
  br label %601

597:                                              ; preds = %565
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #10
  br label %598

598:                                              ; preds = %597
  %599 = load i32, ptr %81, align 4, !tbaa !5
  %600 = add nsw i32 %599, 1
  store i32 %600, ptr %81, align 4, !tbaa !5
  br label %544, !llvm.loop !34

601:                                              ; preds = %593, %589, %585
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #10
  br label %647

602:                                              ; preds = %547
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #10
  %603 = invoke noundef double @_Z10ut_time_msv()
          to label %604 unwind label %638

604:                                              ; preds = %602
  store double %603, ptr %88, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #10
  %605 = load double, ptr %88, align 8, !tbaa !32
  %606 = load double, ptr %80, align 8, !tbaa !32
  %607 = fsub double %605, %606
  %608 = fdiv double %607, 6.000000e+00
  store double %608, ptr %89, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 150, ptr %90) #10
  call void @llvm.lifetime.start.p0(i64 120, ptr %91) #10
  %609 = getelementptr inbounds [120 x i8], ptr %91, i64 0, i64 0
  %610 = load i32, ptr %8, align 4, !tbaa !5
  %611 = load i32, ptr %9, align 4, !tbaa !5
  %612 = load i32, ptr %10, align 4, !tbaa !5
  %613 = load i32, ptr %11, align 4, !tbaa !5
  %614 = load i32, ptr %12, align 4, !tbaa !5
  %615 = load i32, ptr %13, align 4, !tbaa !5
  %616 = load i32, ptr %14, align 4, !tbaa !5
  %617 = load i32, ptr %19, align 4, !tbaa !5
  %618 = load i32, ptr %20, align 4, !tbaa !5
  %619 = load i32, ptr %15, align 4, !tbaa !5
  %620 = load i32, ptr %16, align 4, !tbaa !5
  %621 = load i32, ptr %17, align 4, !tbaa !5
  %622 = load i32, ptr %18, align 4, !tbaa !5
  %623 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %609, ptr noundef @.str.3, i32 noundef %610, i32 noundef %611, i32 noundef %612, i32 noundef %613, i32 noundef %614, i32 noundef %615, i32 noundef %616, i32 noundef %617, i32 noundef %618, i32 noundef %619, i32 noundef %620, i32 noundef %621, i32 noundef %622) #10
  %624 = getelementptr inbounds [150 x i8], ptr %90, i64 0, i64 0
  %625 = getelementptr inbounds [120 x i8], ptr %91, i64 0, i64 0
  %626 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %624, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %625) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #10
  %627 = load i32, ptr %62, align 4, !tbaa !5
  %628 = uitofp i32 %627 to double
  %629 = fmul double 1.000000e+00, %628
  store double %629, ptr %92, align 8, !tbaa !32
  %630 = load i32, ptr %6, align 4, !tbaa !11
  %631 = getelementptr inbounds [150 x i8], ptr %90, i64 0, i64 0
  %632 = load double, ptr %92, align 8, !tbaa !32
  %633 = load double, ptr %89, align 8, !tbaa !32
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %630, ptr noundef %631, double noundef %632, double noundef %633)
          to label %634 unwind label %642

634:                                              ; preds = %604
  %635 = load ptr, ptr %45, align 8, !tbaa !9
  call void @free(ptr noundef %635) #10
  %636 = load ptr, ptr %46, align 8, !tbaa !9
  call void @free(ptr noundef %636) #10
  %637 = load ptr, ptr %47, align 8, !tbaa !9
  call void @free(ptr noundef %637) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  call void @llvm.lifetime.end.p0(i64 120, ptr %91) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr %90) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %60) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %30) #10
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  ret i32 0

638:                                              ; preds = %602
  %639 = landingpad { ptr, i32 }
          cleanup
  %640 = extractvalue { ptr, i32 } %639, 0
  store ptr %640, ptr %26, align 8
  %641 = extractvalue { ptr, i32 } %639, 1
  store i32 %641, ptr %27, align 4
  br label %646

642:                                              ; preds = %604
  %643 = landingpad { ptr, i32 }
          cleanup
  %644 = extractvalue { ptr, i32 } %643, 0
  store ptr %644, ptr %26, align 8
  %645 = extractvalue { ptr, i32 } %643, 1
  store i32 %645, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  call void @llvm.lifetime.end.p0(i64 120, ptr %91) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr %90) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  br label %646

646:                                              ; preds = %642, %638
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #10
  br label %647

647:                                              ; preds = %646, %601, %558
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #10
  br label %648

648:                                              ; preds = %647, %557, %548, %521
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #10
  br label %649

649:                                              ; preds = %648, %482
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #10
  br label %650

650:                                              ; preds = %649, %454, %406, %402
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #10
  br label %651

651:                                              ; preds = %650, %398
  call void @llvm.lifetime.end.p0(i64 92, ptr %60) #10
  br label %652

652:                                              ; preds = %651, %394, %393
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  br label %653

653:                                              ; preds = %652, %341
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  br label %654

654:                                              ; preds = %653, %337
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #10
  br label %655

655:                                              ; preds = %654, %333, %329, %325, %321
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  br label %656

656:                                              ; preds = %655, %317
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br label %657

657:                                              ; preds = %656, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  br label %658

658:                                              ; preds = %657, %309
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  br label %659

659:                                              ; preds = %658, %305
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %660

660:                                              ; preds = %659, %301
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #10
  br label %661

661:                                              ; preds = %660, %297
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  br label %662

662:                                              ; preds = %661, %293
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  br label %663

663:                                              ; preds = %662, %289
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  br label %664

664:                                              ; preds = %663, %285
  call void @llvm.lifetime.end.p0(i64 92, ptr %32) #10
  br label %665

665:                                              ; preds = %664, %281
  call void @llvm.lifetime.end.p0(i64 92, ptr %31) #10
  br label %666

666:                                              ; preds = %665, %277
  call void @llvm.lifetime.end.p0(i64 92, ptr %30) #10
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #10
  br label %667

667:                                              ; preds = %666, %273
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  br label %668

668:                                              ; preds = %667, %269
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  br label %669

669:                                              ; preds = %668
  %670 = load ptr, ptr %26, align 8
  %671 = load i32, ptr %27, align 4
  %672 = insertvalue { ptr, i32 } poison, ptr %670, 0
  %673 = insertvalue { ptr, i32 } %672, i32 %671, 1
  resume { ptr, i32 } %673
}

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

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) #2

declare i32 @printf(ptr noundef, ...) #3

declare i32 @fflush(ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #5

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor4d8DataTypejjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor2d8DataTypejj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor1d8DataTypej(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind noalias writable sret(%class.Tensor) align 8, ptr noundef byval(%struct.TensorDesc) align 8) #0 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) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef, i32 noundef, i32 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10UNI_MEMCPYPvPKvm(ptr noundef, ptr noundef, i64 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef, i32 noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #9 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #9 align 2

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

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

declare noundef i32 @_Z26roialign_infer_output_sizeSt6vectorIP6TensorSaIS1_EE17RoIAlignParamSpecS1_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.RoIAlignParamSpec) align 8, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @ee2str(i32 noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%struct.TensorDesc) align 8) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

declare noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.RoIAlignParamSpec) align 8, ptr noundef, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) #7

declare noundef double @_Z10ut_time_msv() #3

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z6ut_log8DataTypePcdd(i32 noundef, ptr noundef, double noundef, double noundef) #7

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 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 #5 = { inlinehint mustprogress nounwind willreturn memory(read) 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 #6 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { nounwind willreturn memory(read) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS8DataType", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !18, i64 4}
!16 = !{!"_ZTS17RoIAlignParamSpec", !17, i64 0, !18, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !14, i64 20}
!17 = !{!"_ZTS19CoordinateTransMode", !7, i64 0}
!18 = !{!"_ZTS11PoolingMode", !7, i64 0}
!19 = !{!16, !6, i64 8}
!20 = !{!16, !6, i64 12}
!21 = !{!16, !6, i64 16}
!22 = !{!16, !14, i64 20}
!23 = !{i64 0, i64 4, !11, i64 4, i64 4, !24, i64 8, i64 4, !5, i64 12, i64 80, !26}
!24 = !{!25, !25, i64 0}
!25 = !{!"_ZTS10DataFormat", !7, i64 0}
!26 = !{!7, !7, i64 0}
!27 = !{i64 0, i64 4, !28, i64 4, i64 4, !29, i64 8, i64 4, !5, i64 12, i64 4, !5, i64 16, i64 4, !5, i64 20, i64 4, !13}
!28 = !{!17, !17, i64 0}
!29 = !{!18, !18, i64 0}
!30 = !{!31, !31, i64 0}
!31 = !{!"_ZTS2EE", !7, i64 0}
!32 = !{!33, !33, i64 0}
!33 = !{!"double", !7, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ArchInfo = type { i32, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl" }
%"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Tensor *, std::allocator<Tensor *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.5" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.5" = type { %"class.std::__shared_ptr.6" }
%"class.std::__shared_ptr.6" = type { ptr, %"class.std::__shared_count" }
%struct.RoIAlignParamSpec = type { i32, i32, i32, i32, i32, float }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@_ZL15UT_CPU_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZL18UT_SERIAL_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.3 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z12roialignTestiPPc8DataType(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca %"class.std::allocator.2", align 1
  %8 = alloca %struct.TensorDesc, align 8
  %9 = alloca %struct.TensorDesc, align 8
  %10 = alloca %struct.TensorDesc, align 8
  %11 = alloca %class.Tensor, align 8
  %12 = alloca %class.Tensor, align 8
  %13 = alloca %class.Tensor, align 8
  %14 = alloca %class.Tensor, align 8
  %15 = alloca %class.Tensor, align 8
  %16 = alloca %class.Tensor, align 8
  %17 = alloca %class.Tensor, align 8
  %18 = alloca %class.Tensor, align 8
  %19 = alloca %"class.std::vector.0", align 8
  %20 = alloca %struct.RoIAlignParamSpec, align 8
  %21 = alloca %struct.TensorDesc, align 8
  %22 = alloca %class.Tensor, align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %struct.RoIAlignParamSpec, align 8
  %25 = alloca %class.Tensor, align 8
  %26 = alloca %class.Tensor, align 8
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca %struct.RoIAlignParamSpec, align 8
  %29 = alloca %class.Tensor, align 8
  %30 = alloca %class.Tensor, align 8
  %31 = alloca %class.Tensor, align 8
  %32 = alloca %class.Tensor, align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca %struct.RoIAlignParamSpec, align 8
  %35 = alloca %class.Tensor, align 8
  %36 = alloca %class.Tensor, align 8
  %37 = alloca [150 x i8], align 16
  %38 = alloca [120 x i8], align 16
  %39 = icmp eq i32 %0, 16
  br i1 %39, label %49, label %40

40:                                               ; preds = %3
  %41 = tail call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %42 = trunc i64 %41 to i32
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %42)
  %44 = load ptr, ptr @stdout, align 8, !tbaa !5
  %45 = tail call i32 @fflush(ptr noundef %44)
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %47 = load ptr, ptr @stdout, align 8, !tbaa !5
  %48 = tail call i32 @fflush(ptr noundef %47)
  tail call void @exit(i32 noundef 1) #12
  unreachable

49:                                               ; preds = %3
  %50 = getelementptr inbounds i8, ptr %1, i64 8
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  %52 = tail call i32 @atoi(ptr nocapture noundef %51) #13
  %53 = getelementptr inbounds i8, ptr %1, i64 16
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = tail call i32 @atoi(ptr nocapture noundef %54) #13
  %56 = getelementptr inbounds i8, ptr %1, i64 24
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = tail call i32 @atoi(ptr nocapture noundef %57) #13
  %59 = getelementptr inbounds i8, ptr %1, i64 32
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = tail call i32 @atoi(ptr nocapture noundef %60) #13
  %62 = getelementptr inbounds i8, ptr %1, i64 40
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = tail call i32 @atoi(ptr nocapture noundef %63) #13
  %65 = getelementptr inbounds i8, ptr %1, i64 48
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = tail call i32 @atoi(ptr nocapture noundef %66) #13
  %68 = getelementptr inbounds i8, ptr %1, i64 56
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = tail call i32 @atoi(ptr nocapture noundef %69) #13
  %71 = getelementptr inbounds i8, ptr %1, i64 64
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = tail call i32 @atoi(ptr nocapture noundef %72) #13
  %74 = getelementptr inbounds i8, ptr %1, i64 72
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = tail call i32 @atoi(ptr nocapture noundef %75) #13
  %77 = getelementptr inbounds i8, ptr %1, i64 80
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = tail call i32 @atoi(ptr nocapture noundef %78) #13
  %80 = getelementptr inbounds i8, ptr %1, i64 88
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = tail call i32 @atoi(ptr nocapture noundef %81) #13
  %83 = getelementptr inbounds i8, ptr %1, i64 96
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = tail call i32 @atoi(ptr nocapture noundef %84) #13
  %86 = getelementptr inbounds i8, ptr %1, i64 104
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = tail call i32 @atoi(ptr nocapture noundef %87) #13
  %89 = getelementptr inbounds i8, ptr %1, i64 112
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = tail call i32 @atoi(ptr nocapture noundef %90) #13
  %92 = getelementptr inbounds i8, ptr %1, i64 120
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  %94 = tail call double @atof(ptr noundef %93) #13
  %95 = fptrunc double %94 to float
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #11
  call void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %96 unwind label %158

96:                                               ; preds = %49
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #11
  call void @_ZNSaIP6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #11
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 3, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %97 unwind label %160

97:                                               ; preds = %96
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #11
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %8) #11
  invoke void @_Z8tensor4d8DataTypejjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %8, i32 noundef %2, i32 noundef %52, i32 noundef %55, i32 noundef %58, i32 noundef %61)
          to label %98 unwind label %162

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %9) #11
  invoke void @_Z8tensor2d8DataTypejj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %9, i32 noundef %2, i32 noundef %64, i32 noundef %67)
          to label %99 unwind label %164

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %10) #11
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %10, i32 noundef %2, i32 noundef %70)
          to label %100 unwind label %166

100:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #11
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %11, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %101 unwind label %168

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #11
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %12, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %9)
          to label %102 unwind label %170

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #11
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %13, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10)
          to label %103 unwind label %172

103:                                              ; preds = %102
  %104 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
  %105 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %9)
  %106 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10)
  %107 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %104, i32 noundef %2, i32 noundef 0)
          to label %108 unwind label %174

108:                                              ; preds = %103
  %109 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %105, i32 noundef %2, i32 noundef 0)
          to label %110 unwind label %176

110:                                              ; preds = %108
  %111 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %106, i32 noundef %2, i32 noundef 3)
          to label %112 unwind label %178

112:                                              ; preds = %110
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %113 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %14, i32 noundef 1)
          to label %114 unwind label %180

114:                                              ; preds = %112
  %115 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %116 unwind label %180

116:                                              ; preds = %114
  %117 = zext i32 %115 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %113, ptr noundef %107, i64 noundef %117)
          to label %118 unwind label %180

118:                                              ; preds = %116
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  %119 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %15, i32 noundef 1)
          to label %120 unwind label %182

120:                                              ; preds = %118
  %121 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %9)
          to label %122 unwind label %182

122:                                              ; preds = %120
  %123 = zext i32 %121 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %119, ptr noundef %109, i64 noundef %123)
          to label %124 unwind label %182

124:                                              ; preds = %122
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  %125 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %16, i32 noundef 1)
          to label %126 unwind label %184

126:                                              ; preds = %124
  %127 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10)
          to label %128 unwind label %184

128:                                              ; preds = %126
  %129 = zext i32 %127 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %125, ptr noundef %111, i64 noundef %129)
          to label %130 unwind label %184

130:                                              ; preds = %128
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  %131 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #11
  %132 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %131, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %133 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #11
  %134 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %133, ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  %135 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2) #11
  %136 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32) %135, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  %137 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #11
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #11
  store ptr %137, ptr %138, align 8, !tbaa !5
  %139 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #11
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1) #11
  store ptr %139, ptr %140, align 8, !tbaa !5
  %141 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2) #11
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 2) #11
  store ptr %141, ptr %142, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 1)
          to label %143 unwind label %186

143:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %18, i32 noundef 1)
          to label %144 unwind label %188

144:                                              ; preds = %143
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %145 unwind label %190

145:                                              ; preds = %144
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 4
  store i32 1, ptr %.sroa.7.0..sroa_idx, align 4, !tbaa !9
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  store i32 %85, ptr %.sroa.8.0..sroa_idx, align 8, !tbaa !11
  %.sroa.9.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 12
  store i32 %88, ptr %.sroa.9.0..sroa_idx, align 4, !tbaa !11
  %.sroa.10.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 16
  store i32 %91, ptr %.sroa.10.0..sroa_idx, align 8, !tbaa !11
  %.sroa.11.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 20
  store float %95, ptr %.sroa.11.0..sroa_idx, align 4, !tbaa !13
  %146 = invoke noundef i32 @_Z26roialign_infer_output_sizeSt6vectorIP6TensorSaIS1_EE17RoIAlignParamSpecS1_P8ArchInfo(ptr noundef nonnull %19, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %20, ptr noundef nonnull %17, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %147 unwind label %192

147:                                              ; preds = %145
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #11
  %.not = icmp eq i32 %146, 0
  br i1 %.not, label %194, label %148

148:                                              ; preds = %147
  %149 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %150 = trunc i64 %149 to i32
  %151 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %150)
  %152 = load ptr, ptr @stdout, align 8, !tbaa !5
  %153 = call i32 @fflush(ptr noundef %152)
  %154 = call ptr @ee2str(i32 noundef %146)
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %154)
  %156 = load ptr, ptr @stdout, align 8, !tbaa !5
  %157 = call i32 @fflush(ptr noundef %156)
  call void @exit(i32 noundef 1) #12
  unreachable

158:                                              ; preds = %49
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #11
  br label %359

160:                                              ; preds = %96
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #11
  br label %358

162:                                              ; preds = %97
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %357

164:                                              ; preds = %98
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %356

166:                                              ; preds = %99
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %355

168:                                              ; preds = %100
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %354

170:                                              ; preds = %101
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %353

172:                                              ; preds = %102
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %352

174:                                              ; preds = %103
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %351

176:                                              ; preds = %108
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %351

178:                                              ; preds = %110
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %351

180:                                              ; preds = %116, %114, %112
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  br label %351

182:                                              ; preds = %122, %120, %118
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  br label %351

184:                                              ; preds = %128, %126, %124
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  br label %351

186:                                              ; preds = %130
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %350

188:                                              ; preds = %143
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %349

190:                                              ; preds = %144
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %348

192:                                              ; preds = %145
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #11
  br label %348

194:                                              ; preds = %147
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %195 unwind label %214

195:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %21) #11
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %21, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %196 unwind label %216

196:                                              ; preds = %195
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %21)
          to label %197 unwind label %216

197:                                              ; preds = %196
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %198 unwind label %216

198:                                              ; preds = %197
  %199 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %200 unwind label %218

200:                                              ; preds = %198
  %201 = icmp eq i32 %64, %73
  %202 = icmp eq i32 %55, %76
  %or.cond = select i1 %201, i1 %202, i1 false
  %203 = icmp eq i32 %85, %79
  %or.cond210 = select i1 %or.cond, i1 %203, i1 false
  %204 = icmp eq i32 %88, %82
  %or.cond211 = select i1 %or.cond210, i1 %204, i1 false
  br i1 %or.cond211, label %220, label %205

205:                                              ; preds = %200
  %206 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %207 = trunc i64 %206 to i32
  %208 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %207)
  %209 = load ptr, ptr @stdout, align 8, !tbaa !5
  %210 = call i32 @fflush(ptr noundef %209)
  %211 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %212 = load ptr, ptr @stdout, align 8, !tbaa !5
  %213 = call i32 @fflush(ptr noundef %212)
  call void @exit(i32 noundef 1) #12
  unreachable

214:                                              ; preds = %194
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %348

216:                                              ; preds = %197, %196, %195
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %347

218:                                              ; preds = %198
  %219 = landingpad { ptr, i32 }
          cleanup
  br label %347

220:                                              ; preds = %200
  %221 = mul i32 %55, %52
  %222 = mul i32 %221, %58
  %223 = mul i32 %222, %61
  %224 = icmp eq i32 %104, %223
  %225 = mul i32 %67, %64
  %226 = icmp eq i32 %105, %225
  %or.cond213 = select i1 %224, i1 %226, i1 false
  %227 = icmp eq i32 %106, %70
  %or.cond214 = select i1 %or.cond213, i1 %227, i1 false
  br i1 %or.cond214, label %228, label %233

228:                                              ; preds = %220
  %229 = mul i32 %55, %64
  %230 = mul i32 %229, %79
  %231 = mul i32 %230, %82
  %232 = icmp eq i32 %199, %231
  br i1 %232, label %242, label %233

233:                                              ; preds = %228, %220
  %234 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %235 = trunc i64 %234 to i32
  %236 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %235)
  %237 = load ptr, ptr @stdout, align 8, !tbaa !5
  %238 = call i32 @fflush(ptr noundef %237)
  %239 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %240 = load ptr, ptr @stdout, align 8, !tbaa !5
  %241 = call i32 @fflush(ptr noundef %240)
  call void @exit(i32 noundef 1) #12
  unreachable

242:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef 1)
          to label %243 unwind label %257

243:                                              ; preds = %242
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %244 unwind label %259

244:                                              ; preds = %243
  %.sroa.7.0..sroa_idx39 = getelementptr inbounds i8, ptr %24, i64 4
  store i32 1, ptr %.sroa.7.0..sroa_idx39, align 4, !tbaa !9
  %.sroa.8.0..sroa_idx45 = getelementptr inbounds i8, ptr %24, i64 8
  store i32 %79, ptr %.sroa.8.0..sroa_idx45, align 8, !tbaa !11
  %.sroa.9.0..sroa_idx51 = getelementptr inbounds i8, ptr %24, i64 12
  store i32 %82, ptr %.sroa.9.0..sroa_idx51, align 4, !tbaa !11
  %.sroa.10.0..sroa_idx57 = getelementptr inbounds i8, ptr %24, i64 16
  store i32 %91, ptr %.sroa.10.0..sroa_idx57, align 8, !tbaa !11
  %.sroa.11.0..sroa_idx63 = getelementptr inbounds i8, ptr %24, i64 20
  store float %95, ptr %.sroa.11.0..sroa_idx63, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %245 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %23, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %246 unwind label %261

246:                                              ; preds = %244
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #11
  %.not180 = icmp eq i32 %245, 0
  br i1 %.not180, label %263, label %247

247:                                              ; preds = %246
  %248 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %249 = trunc i64 %248 to i32
  %250 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %249)
  %251 = load ptr, ptr @stdout, align 8, !tbaa !5
  %252 = call i32 @fflush(ptr noundef %251)
  %253 = call ptr @ee2str(i32 noundef %245)
  %254 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %253)
  %255 = load ptr, ptr @stdout, align 8, !tbaa !5
  %256 = call i32 @fflush(ptr noundef %255)
  call void @exit(i32 noundef 1) #12
  unreachable

257:                                              ; preds = %242
  %258 = landingpad { ptr, i32 }
          cleanup
  br label %346

259:                                              ; preds = %243
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %345

261:                                              ; preds = %244
  %262 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #11
  br label %345

263:                                              ; preds = %246
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %264 unwind label %277

264:                                              ; preds = %263
  %.sroa.7.0..sroa_idx41 = getelementptr inbounds i8, ptr %28, i64 4
  store i32 1, ptr %.sroa.7.0..sroa_idx41, align 4, !tbaa !9
  %.sroa.8.0..sroa_idx47 = getelementptr inbounds i8, ptr %28, i64 8
  store i32 %79, ptr %.sroa.8.0..sroa_idx47, align 8, !tbaa !11
  %.sroa.9.0..sroa_idx53 = getelementptr inbounds i8, ptr %28, i64 12
  store i32 %82, ptr %.sroa.9.0..sroa_idx53, align 4, !tbaa !11
  %.sroa.10.0..sroa_idx59 = getelementptr inbounds i8, ptr %28, i64 16
  store i32 %91, ptr %.sroa.10.0..sroa_idx59, align 8, !tbaa !11
  %.sroa.11.0..sroa_idx65 = getelementptr inbounds i8, ptr %28, i64 20
  store float %95, ptr %.sroa.11.0..sroa_idx65, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  %265 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %27, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %28, ptr noundef nonnull %29, ptr noundef nonnull %30, ptr noundef nonnull @_ZL18UT_SERIAL_ARCHINFO)
          to label %266 unwind label %279

266:                                              ; preds = %264
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #11
  %.not183 = icmp eq i32 %265, 0
  br i1 %.not183, label %281, label %267

267:                                              ; preds = %266
  %268 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %269 = trunc i64 %268 to i32
  %270 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %269)
  %271 = load ptr, ptr @stdout, align 8, !tbaa !5
  %272 = call i32 @fflush(ptr noundef %271)
  %273 = call ptr @ee2str(i32 noundef %265)
  %274 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %273)
  %275 = load ptr, ptr @stdout, align 8, !tbaa !5
  %276 = call i32 @fflush(ptr noundef %275)
  call void @exit(i32 noundef 1) #12
  unreachable

277:                                              ; preds = %263
  %278 = landingpad { ptr, i32 }
          cleanup
  br label %345

279:                                              ; preds = %264
  %280 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #11
  br label %345

281:                                              ; preds = %266
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %282 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %31, i32 noundef 1)
          to label %283 unwind label %310

283:                                              ; preds = %281
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  %284 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %32, i32 noundef 1)
          to label %285 unwind label %312

285:                                              ; preds = %283
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %282, ptr noundef %284, i32 noundef %199, i32 noundef %2, float noundef 0x3FA99999A0000000)
          to label %286 unwind label %312

286:                                              ; preds = %285
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #11
  %287 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader unwind label %315

.preheader:                                       ; preds = %286
  %.sroa.7.0..sroa_idx43 = getelementptr inbounds i8, ptr %34, i64 4
  %.sroa.8.0..sroa_idx49 = getelementptr inbounds i8, ptr %34, i64 8
  %.sroa.9.0..sroa_idx55 = getelementptr inbounds i8, ptr %34, i64 12
  %.sroa.10.0..sroa_idx61 = getelementptr inbounds i8, ptr %34, i64 16
  %.sroa.11.0..sroa_idx67 = getelementptr inbounds i8, ptr %34, i64 20
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %317 unwind label %330

288:                                              ; preds = %319
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %289 unwind label %330

289:                                              ; preds = %288
  store i32 1, ptr %.sroa.7.0..sroa_idx43, align 4, !tbaa !9
  store i32 %79, ptr %.sroa.8.0..sroa_idx49, align 8, !tbaa !11
  store i32 %82, ptr %.sroa.9.0..sroa_idx55, align 4, !tbaa !11
  store i32 %91, ptr %.sroa.10.0..sroa_idx61, align 8, !tbaa !11
  store float %95, ptr %.sroa.11.0..sroa_idx67, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %290 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %33, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %291 unwind label %332

291:                                              ; preds = %289
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  %.not209.1 = icmp eq i32 %290, 0
  br i1 %.not209.1, label %292, label %320

292:                                              ; preds = %291
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %293 unwind label %330

293:                                              ; preds = %292
  store i32 1, ptr %.sroa.7.0..sroa_idx43, align 4, !tbaa !9
  store i32 %79, ptr %.sroa.8.0..sroa_idx49, align 8, !tbaa !11
  store i32 %82, ptr %.sroa.9.0..sroa_idx55, align 4, !tbaa !11
  store i32 %91, ptr %.sroa.10.0..sroa_idx61, align 8, !tbaa !11
  store float %95, ptr %.sroa.11.0..sroa_idx67, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %294 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %33, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %295 unwind label %332

295:                                              ; preds = %293
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  %.not209.2 = icmp eq i32 %294, 0
  br i1 %.not209.2, label %296, label %320

296:                                              ; preds = %295
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %297 unwind label %330

297:                                              ; preds = %296
  store i32 1, ptr %.sroa.7.0..sroa_idx43, align 4, !tbaa !9
  store i32 %79, ptr %.sroa.8.0..sroa_idx49, align 8, !tbaa !11
  store i32 %82, ptr %.sroa.9.0..sroa_idx55, align 4, !tbaa !11
  store i32 %91, ptr %.sroa.10.0..sroa_idx61, align 8, !tbaa !11
  store float %95, ptr %.sroa.11.0..sroa_idx67, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %298 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %33, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %299 unwind label %332

299:                                              ; preds = %297
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  %.not209.3 = icmp eq i32 %298, 0
  br i1 %.not209.3, label %300, label %320

300:                                              ; preds = %299
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %301 unwind label %330

301:                                              ; preds = %300
  store i32 1, ptr %.sroa.7.0..sroa_idx43, align 4, !tbaa !9
  store i32 %79, ptr %.sroa.8.0..sroa_idx49, align 8, !tbaa !11
  store i32 %82, ptr %.sroa.9.0..sroa_idx55, align 4, !tbaa !11
  store i32 %91, ptr %.sroa.10.0..sroa_idx61, align 8, !tbaa !11
  store float %95, ptr %.sroa.11.0..sroa_idx67, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %302 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %33, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %303 unwind label %332

303:                                              ; preds = %301
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  %.not209.4 = icmp eq i32 %302, 0
  br i1 %.not209.4, label %304, label %320

304:                                              ; preds = %303
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %305 unwind label %330

305:                                              ; preds = %304
  store i32 1, ptr %.sroa.7.0..sroa_idx43, align 4, !tbaa !9
  store i32 %79, ptr %.sroa.8.0..sroa_idx49, align 8, !tbaa !11
  store i32 %82, ptr %.sroa.9.0..sroa_idx55, align 4, !tbaa !11
  store i32 %91, ptr %.sroa.10.0..sroa_idx61, align 8, !tbaa !11
  store float %95, ptr %.sroa.11.0..sroa_idx67, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %306 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %33, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %307 unwind label %332

307:                                              ; preds = %305
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  %.not209.5 = icmp eq i32 %306, 0
  br i1 %.not209.5, label %308, label %320

308:                                              ; preds = %307
  %309 = invoke noundef double @_Z10ut_time_msv()
          to label %334 unwind label %341

310:                                              ; preds = %281
  %311 = landingpad { ptr, i32 }
          cleanup
  br label %314

312:                                              ; preds = %285, %283
  %313 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  br label %314

314:                                              ; preds = %312, %310
  %.pn184 = phi { ptr, i32 } [ %313, %312 ], [ %311, %310 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #11
  br label %345

315:                                              ; preds = %286
  %316 = landingpad { ptr, i32 }
          cleanup
  br label %345

317:                                              ; preds = %.preheader
  store i32 1, ptr %.sroa.7.0..sroa_idx43, align 4, !tbaa !9
  store i32 %79, ptr %.sroa.8.0..sroa_idx49, align 8, !tbaa !11
  store i32 %82, ptr %.sroa.9.0..sroa_idx55, align 4, !tbaa !11
  store i32 %91, ptr %.sroa.10.0..sroa_idx61, align 8, !tbaa !11
  store float %95, ptr %.sroa.11.0..sroa_idx67, align 4, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %318 = invoke noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %33, ptr noundef nonnull byval(%struct.RoIAlignParamSpec) align 8 %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %319 unwind label %332

319:                                              ; preds = %317
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  %.not209 = icmp eq i32 %318, 0
  br i1 %.not209, label %288, label %320

320:                                              ; preds = %307, %303, %299, %295, %291, %319
  %.lcssa216 = phi i32 [ %318, %319 ], [ %290, %291 ], [ %294, %295 ], [ %298, %299 ], [ %302, %303 ], [ %306, %307 ]
  %321 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %322 = trunc i64 %321 to i32
  %323 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %322)
  %324 = load ptr, ptr @stdout, align 8, !tbaa !5
  %325 = call i32 @fflush(ptr noundef %324)
  %326 = call ptr @ee2str(i32 noundef %.lcssa216)
  %327 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %326)
  %328 = load ptr, ptr @stdout, align 8, !tbaa !5
  %329 = call i32 @fflush(ptr noundef %328)
  call void @exit(i32 noundef 1) #12
  unreachable

330:                                              ; preds = %304, %300, %296, %292, %288, %.preheader
  %331 = landingpad { ptr, i32 }
          cleanup
  br label %345

332:                                              ; preds = %305, %301, %297, %293, %289, %317
  %333 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  br label %345

334:                                              ; preds = %308
  %335 = fsub double %309, %287
  %336 = fdiv double %335, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %37) #11
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %38) #11
  %337 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %38, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %52, i32 noundef %55, i32 noundef %58, i32 noundef %61, i32 noundef %64, i32 noundef %67, i32 noundef %70, i32 noundef %79, i32 noundef %82, i32 noundef %64, i32 noundef %55, i32 noundef %79, i32 noundef %82) #11
  %338 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %37, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull %38) #11
  %339 = uitofp i32 %199 to double
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %2, ptr noundef nonnull %37, double noundef %339, double noundef %336)
          to label %340 unwind label %343

340:                                              ; preds = %334
  call void @free(ptr noundef %107) #11
  call void @free(ptr noundef %109) #11
  call void @free(ptr noundef %111) #11
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %38) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %37) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %21) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #11
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  ret i32 0

341:                                              ; preds = %308
  %342 = landingpad { ptr, i32 }
          cleanup
  br label %345

343:                                              ; preds = %334
  %344 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %38) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %37) #11
  br label %345

345:                                              ; preds = %315, %332, %330, %343, %341, %277, %279, %259, %261, %314
  %.pn188.pn.pn = phi { ptr, i32 } [ %.pn184, %314 ], [ %262, %261 ], [ %260, %259 ], [ %280, %279 ], [ %278, %277 ], [ %316, %315 ], [ %333, %332 ], [ %331, %330 ], [ %344, %343 ], [ %342, %341 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  br label %346

346:                                              ; preds = %345, %257
  %.pn188.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn, %345 ], [ %258, %257 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #11
  br label %347

347:                                              ; preds = %218, %346, %216
  %.pn188.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %217, %216 ], [ %.pn188.pn.pn.pn, %346 ], [ %219, %218 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %21) #11
  br label %348

348:                                              ; preds = %190, %192, %347, %214
  %.pn188.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn, %347 ], [ %215, %214 ], [ %193, %192 ], [ %191, %190 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  br label %349

349:                                              ; preds = %348, %188
  %.pn188.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn, %348 ], [ %189, %188 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  br label %350

350:                                              ; preds = %349, %186
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn, %349 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  br label %351

351:                                              ; preds = %176, %350, %184, %182, %180, %178, %174
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %175, %174 ], [ %177, %176 ], [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn, %350 ], [ %185, %184 ], [ %183, %182 ], [ %181, %180 ], [ %179, %178 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  br label %352

352:                                              ; preds = %351, %172
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %351 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  br label %353

353:                                              ; preds = %352, %170
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %352 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  br label %354

354:                                              ; preds = %353, %168
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %353 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  br label %355

355:                                              ; preds = %354, %166
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %354 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #11
  br label %356

356:                                              ; preds = %355, %164
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %355 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %9) #11
  br label %357

357:                                              ; preds = %356, %162
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %356 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #11
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #11
  br label %358

358:                                              ; preds = %357, %160
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %357 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  br label %359

359:                                              ; preds = %358, %158
  %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %358 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  resume { ptr, i32 } %.pn188.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #5

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor4d8DataTypejjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor2d8DataTypejj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor1d8DataTypej(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind noalias writable sret(%class.Tensor) align 8, ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10UNI_MEMCPYPvPKvm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef, i32 noundef) local_unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #7

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6TensoraSERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #8 align 2

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

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

declare noundef i32 @_Z26roialign_infer_output_sizeSt6vectorIP6TensorSaIS1_EE17RoIAlignParamSpecS1_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.RoIAlignParamSpec) align 8, ptr noundef, ptr noundef) local_unnamed_addr #9

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @ee2str(i32 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

declare noundef i32 @_Z8roialignSt6vectorI6TensorSaIS0_EE17RoIAlignParamSpecS0_S0_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.RoIAlignParamSpec) align 8, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #9

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #7

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z6ut_log8DataTypePcdd(i32 noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nofree 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 #4 = { noreturn 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 #5 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #6 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { "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 #10 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, 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 #11 = { nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { nounwind willreturn memory(read) }

!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 = !{!"_ZTS11PoolingMode", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}


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