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

; 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.EltwiseParamSpec = type { i32, %struct.EltwiseSumSpec, i32, %union.ActivationSpec }
%struct.EltwiseSumSpec = type { [8 x float], i32 }
%union.ActivationSpec = type { %struct.ClipParamSpec }
%struct.ClipParamSpec = type { float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_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 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.7" = type { i8 }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.10" }
%"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.10" = type { %"class.std::__shared_ptr.11" }
%"class.std::__shared_ptr.11" = 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 [31 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z11eltwiseTestiPPc8DataType(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 %struct.EltwiseParamSpec, align 4
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector.0", align 8
  %22 = alloca %"class.std::allocator.2", align 1
  %23 = alloca %"class.std::vector.5", align 8
  %24 = alloca %"class.std::allocator.7", align 1
  %25 = alloca %struct.TensorDesc, align 4
  %26 = alloca %class.Tensor, align 8
  %27 = alloca i32, align 4
  %28 = alloca %struct.TensorDesc, align 8
  %29 = alloca %class.Tensor, align 8
  %30 = alloca %struct.TensorDesc, align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::vector.5", align 8
  %33 = alloca %struct.EltwiseParamSpec, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %class.Tensor, align 8
  %37 = alloca %struct.TensorDesc, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %"class.std::vector.0", align 8
  %41 = alloca %class.Tensor, align 8
  %42 = alloca i32, align 4
  %43 = alloca %class.Tensor, align 8
  %44 = alloca %struct.TensorDesc, align 8
  %45 = alloca i32, align 4
  %46 = alloca %"class.std::vector.0", align 8
  %47 = alloca %struct.EltwiseParamSpec, align 8
  %48 = alloca %class.Tensor, align 8
  %49 = alloca %class.Tensor, align 8
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca %"class.std::vector.0", align 8
  %53 = alloca %struct.EltwiseParamSpec, align 8
  %54 = alloca %class.Tensor, align 8
  %55 = alloca %class.Tensor, align 8
  %56 = alloca i32, align 4
  %57 = alloca %class.Tensor, align 8
  %58 = alloca %class.Tensor, align 8
  %59 = alloca double, align 8
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca %"class.std::vector.0", align 8
  %63 = alloca %struct.EltwiseParamSpec, align 8
  %64 = alloca %class.Tensor, align 8
  %65 = alloca %class.Tensor, align 8
  %66 = alloca i32, align 4
  %67 = alloca double, align 8
  %68 = alloca double, align 8
  %69 = alloca [150 x i8], align 16
  %70 = alloca [120 x i8], align 16
  %71 = alloca double, align 8
  %72 = alloca i32, align 4
  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
  %73 = load i32, ptr %4, align 4, !tbaa !5
  %74 = icmp eq i32 %73, 6
  br i1 %74, label %85, label %75

75:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  %76 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %77 = trunc i64 %76 to i32
  store i32 %77, ptr %7, align 4, !tbaa !5
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %78)
  %80 = load ptr, ptr @stdout, align 8, !tbaa !9
  %81 = call i32 @fflush(ptr noundef %80)
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %83 = load ptr, ptr @stdout, align 8, !tbaa !9
  %84 = call i32 @fflush(ptr noundef %83)
  call void @exit(i32 noundef 1) #11
  unreachable

85:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %86 = load ptr, ptr %5, align 8, !tbaa !9
  %87 = getelementptr inbounds ptr, ptr %86, i64 1
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = call i32 @atoi(ptr noundef %88) #12
  store i32 %89, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  %90 = load ptr, ptr %5, align 8, !tbaa !9
  %91 = getelementptr inbounds ptr, ptr %90, i64 2
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = call i32 @atoi(ptr noundef %92) #12
  store i32 %93, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  %94 = load ptr, ptr %5, align 8, !tbaa !9
  %95 = getelementptr inbounds ptr, ptr %94, i64 3
  %96 = load ptr, ptr %95, align 8, !tbaa !9
  %97 = call i32 @atoi(ptr noundef %96) #12
  store i32 %97, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  %98 = load ptr, ptr %5, align 8, !tbaa !9
  %99 = getelementptr inbounds ptr, ptr %98, i64 4
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = call i32 @atoi(ptr noundef %100) #12
  store i32 %101, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %102 = load ptr, ptr %5, align 8, !tbaa !9
  %103 = getelementptr inbounds ptr, ptr %102, i64 5
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = call i32 @atoi(ptr noundef %104) #12
  store i32 %105, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  store i32 0, ptr %13, align 4, !tbaa !13
  %106 = load i32, ptr %10, align 4, !tbaa !5
  %107 = urem i32 %106, 8
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %85
  store i32 2, ptr %13, align 4, !tbaa !13
  br label %110

110:                                              ; preds = %109, %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %111 = load i32, ptr %9, align 4, !tbaa !5
  %112 = load i32, ptr %10, align 4, !tbaa !5
  %113 = mul i32 %111, %112
  %114 = load i32, ptr %11, align 4, !tbaa !5
  %115 = mul i32 %113, %114
  %116 = load i32, ptr %12, align 4, !tbaa !5
  %117 = mul i32 %115, %116
  store i32 %117, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 1, ptr %15, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 52, ptr %16) #10
  %118 = load i32, ptr %15, align 4, !tbaa !15
  %119 = getelementptr inbounds %struct.EltwiseParamSpec, ptr %16, i32 0, i32 0
  store i32 %118, ptr %119, align 4, !tbaa !17
  %120 = getelementptr inbounds %struct.EltwiseParamSpec, ptr %16, i32 0, i32 2
  store i32 0, ptr %120, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #10
  %121 = load i32, ptr %8, align 4, !tbaa !5
  %122 = zext i32 %121 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #10
  call void @_ZNSaIPvEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  invoke void @_ZNSt6vectorIPvSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %122, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %123 unwind label %143

123:                                              ; preds = %110
  call void @_ZNSt15__new_allocatorIPvED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #10
  %124 = load i32, ptr %8, align 4, !tbaa !5
  %125 = zext i32 %124 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  call void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %125, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %126 unwind label %147

126:                                              ; preds = %123
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #10
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = zext i32 %127 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #10
  call void @_ZNSaIP6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #10
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %128, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %129 unwind label %151

129:                                              ; preds = %126
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 92, ptr %25) #10
  %130 = load i32, ptr %6, align 4, !tbaa !11
  %131 = load i32, ptr %13, align 4, !tbaa !13
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = load i32, ptr %10, align 4, !tbaa !5
  %134 = load i32, ptr %11, align 4, !tbaa !5
  %135 = load i32, ptr %12, align 4, !tbaa !5
  invoke void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %25, i32 noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %133, i32 noundef %134, i32 noundef %135)
          to label %136 unwind label %155

136:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #10
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %26, i32 noundef 1)
          to label %137 unwind label %159

137:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %198, %137
  %139 = load i32, ptr %27, align 4, !tbaa !5
  %140 = load i32, ptr %8, align 4, !tbaa !5
  %141 = icmp ult i32 %139, %140
  br i1 %141, label %163, label %142

142:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %210

143:                                              ; preds = %110
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %19, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %20, align 4
  call void @_ZNSt15__new_allocatorIPvED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  br label %549

147:                                              ; preds = %123
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %19, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %20, align 4
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  br label %548

151:                                              ; preds = %126
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %19, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %20, align 4
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #10
  br label %547

155:                                              ; preds = %129
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %19, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %20, align 4
  br label %546

159:                                              ; preds = %136
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %19, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %20, align 4
  br label %545

163:                                              ; preds = %138
  %164 = load i32, ptr %14, align 4, !tbaa !5
  %165 = load i32, ptr %6, align 4, !tbaa !11
  %166 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %164, i32 noundef %165, i32 noundef 0)
          to label %167 unwind label %201

167:                                              ; preds = %163
  %168 = load i32, ptr %27, align 4, !tbaa !5
  %169 = zext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %169) #10
  store ptr %166, ptr %170, align 8, !tbaa !9
  %171 = load i32, ptr %27, align 4, !tbaa !5
  %172 = zext i32 %171 to i64
  %173 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %172) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %25, i64 92, i1 false), !tbaa.struct !22
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %173, ptr noundef byval(%struct.TensorDesc) align 8 %28)
          to label %174 unwind label %201

174:                                              ; preds = %167
  %175 = load i32, ptr %27, align 4, !tbaa !5
  %176 = zext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %176) #10
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %177)
          to label %178 unwind label %201

178:                                              ; preds = %174
  %179 = load i32, ptr %27, align 4, !tbaa !5
  %180 = zext i32 %179 to i64
  %181 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %180) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %181) #10
  %182 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %29, i32 noundef 1)
          to label %183 unwind label %205

183:                                              ; preds = %178
  %184 = load i32, ptr %27, align 4, !tbaa !5
  %185 = zext i32 %184 to i64
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %185) #10
  %187 = load ptr, ptr %186, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %25, i64 92, i1 false), !tbaa.struct !22
  %188 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %30)
          to label %189 unwind label %205

189:                                              ; preds = %183
  %190 = zext i32 %188 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %182, ptr noundef %187, i64 noundef %190)
          to label %191 unwind label %205

191:                                              ; preds = %189
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #10
  %192 = load i32, ptr %27, align 4, !tbaa !5
  %193 = zext i32 %192 to i64
  %194 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %193) #10
  %195 = load i32, ptr %27, align 4, !tbaa !5
  %196 = zext i32 %195 to i64
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %196) #10
  store ptr %194, ptr %197, align 8, !tbaa !9
  br label %198

198:                                              ; preds = %191
  %199 = load i32, ptr %27, align 4, !tbaa !5
  %200 = add i32 %199, 1
  store i32 %200, ptr %27, align 4, !tbaa !5
  br label %138, !llvm.loop !24

201:                                              ; preds = %174, %167, %163
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %19, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %20, align 4
  br label %209

205:                                              ; preds = %189, %183, %178
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %19, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #10
  br label %209

209:                                              ; preds = %205, %201
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %544

210:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %211 unwind label %233

211:                                              ; preds = %210
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %16, i64 52, i1 false), !tbaa.struct !26
  %212 = invoke noundef i32 @_Z25eltwise_infer_output_sizeSt6vectorIP6TensorSaIS1_EE16EltwiseParamSpecS1_P8ArchInfo(ptr noundef %32, ptr noundef byval(%struct.EltwiseParamSpec) align 8 %33, ptr noundef %26, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %213 unwind label %237

213:                                              ; preds = %211
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #10
  store i32 %212, ptr %31, align 4, !tbaa !28
  %214 = load i32, ptr %31, align 4, !tbaa !28
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %245

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  %217 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %218 = trunc i64 %217 to i32
  store i32 %218, ptr %34, align 4, !tbaa !5
  %219 = load i32, ptr %34, align 4, !tbaa !5
  %220 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %219)
          to label %221 unwind label %241

221:                                              ; preds = %216
  %222 = load ptr, ptr @stdout, align 8, !tbaa !9
  %223 = invoke i32 @fflush(ptr noundef %222)
          to label %224 unwind label %241

224:                                              ; preds = %221
  %225 = load i32, ptr %31, align 4, !tbaa !28
  %226 = invoke ptr @ee2str(i32 noundef %225)
          to label %227 unwind label %241

227:                                              ; preds = %224
  %228 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %226)
          to label %229 unwind label %241

229:                                              ; preds = %227
  %230 = load ptr, ptr @stdout, align 8, !tbaa !9
  %231 = invoke i32 @fflush(ptr noundef %230)
          to label %232 unwind label %241

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

233:                                              ; preds = %210
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %19, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %20, align 4
  br label %264

237:                                              ; preds = %211
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %19, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %20, align 4
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #10
  br label %264

241:                                              ; preds = %229, %227, %224, %221, %216
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %19, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  br label %264

245:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  %246 = load i32, ptr %14, align 4, !tbaa !5
  %247 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %248 unwind label %265

248:                                              ; preds = %245
  %249 = icmp eq i32 %246, %247
  br i1 %249, label %273, label %250

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

255:                                              ; preds = %250
  %256 = load ptr, ptr @stdout, align 8, !tbaa !9
  %257 = invoke i32 @fflush(ptr noundef %256)
          to label %258 unwind label %269

258:                                              ; preds = %255
  %259 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1)
          to label %260 unwind label %269

260:                                              ; preds = %258
  %261 = load ptr, ptr @stdout, align 8, !tbaa !9
  %262 = invoke i32 @fflush(ptr noundef %261)
          to label %263 unwind label %269

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

264:                                              ; preds = %241, %237, %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  br label %544

265:                                              ; preds = %273, %245
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %19, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %20, align 4
  br label %544

269:                                              ; preds = %260, %258, %255, %250
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %19, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  br label %544

273:                                              ; preds = %248
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %274 unwind label %265

274:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #10
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %36, i32 noundef 1)
          to label %275 unwind label %301

275:                                              ; preds = %274
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %37, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %276 unwind label %305

276:                                              ; preds = %275
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef byval(%struct.TensorDesc) align 8 %37)
          to label %277 unwind label %305

277:                                              ; preds = %276
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %278 unwind label %305

278:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %279 unwind label %309

279:                                              ; preds = %278
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  %280 = invoke noundef i32 @_Z31eltwise_infer_forward_tmp_bytesSt6vectorI6TensorSaIS0_EES0_PjP8ArchInfo(ptr noundef %40, ptr noundef %41, ptr noundef %38, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %281 unwind label %313

281:                                              ; preds = %279
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #10
  store i32 %280, ptr %39, align 4, !tbaa !28
  %282 = load i32, ptr %39, align 4, !tbaa !28
  %283 = icmp ne i32 %282, 0
  br i1 %283, label %284, label %321

284:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #10
  %285 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %286 = trunc i64 %285 to i32
  store i32 %286, ptr %42, align 4, !tbaa !5
  %287 = load i32, ptr %42, align 4, !tbaa !5
  %288 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %287)
          to label %289 unwind label %317

289:                                              ; preds = %284
  %290 = load ptr, ptr @stdout, align 8, !tbaa !9
  %291 = invoke i32 @fflush(ptr noundef %290)
          to label %292 unwind label %317

292:                                              ; preds = %289
  %293 = load i32, ptr %39, align 4, !tbaa !28
  %294 = invoke ptr @ee2str(i32 noundef %293)
          to label %295 unwind label %317

295:                                              ; preds = %292
  %296 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %294)
          to label %297 unwind label %317

297:                                              ; preds = %295
  %298 = load ptr, ptr @stdout, align 8, !tbaa !9
  %299 = invoke i32 @fflush(ptr noundef %298)
          to label %300 unwind label %317

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

301:                                              ; preds = %274
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %19, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %20, align 4
  br label %543

305:                                              ; preds = %277, %276, %275
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %19, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %20, align 4
  br label %542

309:                                              ; preds = %278
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %19, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %20, align 4
  br label %349

313:                                              ; preds = %279
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %19, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #10
  br label %349

317:                                              ; preds = %297, %295, %292, %289, %284
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %19, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  br label %349

321:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #10
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %43, i32 noundef 1)
          to label %322 unwind label %350

322:                                              ; preds = %321
  %323 = load i32, ptr %38, align 4, !tbaa !5
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %44, i32 noundef 0, i32 noundef %323)
          to label %324 unwind label %354

324:                                              ; preds = %322
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef byval(%struct.TensorDesc) align 8 %44)
          to label %325 unwind label %354

325:                                              ; preds = %324
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %326 unwind label %354

326:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %327 unwind label %358

327:                                              ; preds = %326
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %16, i64 52, i1 false), !tbaa.struct !26
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  %328 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef %46, ptr noundef byval(%struct.EltwiseParamSpec) align 8 %47, ptr noundef %48, ptr noundef %49, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %329 unwind label %362

329:                                              ; preds = %327
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #10
  store i32 %328, ptr %45, align 4, !tbaa !28
  %330 = load i32, ptr %45, align 4, !tbaa !28
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %332, label %370

332:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #10
  %333 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %334 = trunc i64 %333 to i32
  store i32 %334, ptr %50, align 4, !tbaa !5
  %335 = load i32, ptr %50, align 4, !tbaa !5
  %336 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %335)
          to label %337 unwind label %366

337:                                              ; preds = %332
  %338 = load ptr, ptr @stdout, align 8, !tbaa !9
  %339 = invoke i32 @fflush(ptr noundef %338)
          to label %340 unwind label %366

340:                                              ; preds = %337
  %341 = load i32, ptr %45, align 4, !tbaa !28
  %342 = invoke ptr @ee2str(i32 noundef %341)
          to label %343 unwind label %366

343:                                              ; preds = %340
  %344 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %342)
          to label %345 unwind label %366

345:                                              ; preds = %343
  %346 = load ptr, ptr @stdout, align 8, !tbaa !9
  %347 = invoke i32 @fflush(ptr noundef %346)
          to label %348 unwind label %366

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

349:                                              ; preds = %317, %313, %309
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  br label %541

350:                                              ; preds = %321
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %19, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %20, align 4
  br label %540

354:                                              ; preds = %325, %324, %322
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %19, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %20, align 4
  br label %539

358:                                              ; preds = %326
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %19, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %20, align 4
  br label %393

362:                                              ; preds = %327
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %19, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #10
  br label %393

366:                                              ; preds = %345, %343, %340, %337, %332
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %19, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #10
  br label %393

370:                                              ; preds = %329
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %371 unwind label %394

371:                                              ; preds = %370
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %16, i64 52, i1 false), !tbaa.struct !26
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  %372 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef %52, ptr noundef byval(%struct.EltwiseParamSpec) align 8 %53, ptr noundef %54, ptr noundef %55, ptr noundef @_ZL18UT_SERIAL_ARCHINFO)
          to label %373 unwind label %398

373:                                              ; preds = %371
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #10
  store i32 %372, ptr %51, align 4, !tbaa !28
  %374 = load i32, ptr %51, align 4, !tbaa !28
  %375 = icmp ne i32 %374, 0
  br i1 %375, label %376, label %406

376:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #10
  %377 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %378 = trunc i64 %377 to i32
  store i32 %378, ptr %56, align 4, !tbaa !5
  %379 = load i32, ptr %56, align 4, !tbaa !5
  %380 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %379)
          to label %381 unwind label %402

381:                                              ; preds = %376
  %382 = load ptr, ptr @stdout, align 8, !tbaa !9
  %383 = invoke i32 @fflush(ptr noundef %382)
          to label %384 unwind label %402

384:                                              ; preds = %381
  %385 = load i32, ptr %51, align 4, !tbaa !28
  %386 = invoke ptr @ee2str(i32 noundef %385)
          to label %387 unwind label %402

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

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

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

393:                                              ; preds = %366, %362, %358
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #10
  br label %539

394:                                              ; preds = %370
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %19, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %20, align 4
  br label %420

398:                                              ; preds = %371
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %19, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #10
  br label %420

402:                                              ; preds = %389, %387, %384, %381, %376
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %19, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #10
  br label %420

406:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  %407 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %57, i32 noundef 1)
          to label %408 unwind label %421

408:                                              ; preds = %406
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  %409 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %58, i32 noundef 1)
          to label %410 unwind label %425

410:                                              ; preds = %408
  %411 = load i32, ptr %14, align 4, !tbaa !5
  %412 = load i32, ptr %6, align 4, !tbaa !11
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %407, ptr noundef %409, i32 noundef %411, i32 noundef %412, float noundef 1.000000e+00)
          to label %413 unwind label %425

413:                                              ; preds = %410
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #10
  %414 = invoke noundef double @_Z10ut_time_msv()
          to label %415 unwind label %430

415:                                              ; preds = %413
  store double %414, ptr %59, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #10
  store i32 0, ptr %60, align 4, !tbaa !5
  br label %416

416:                                              ; preds = %470, %415
  %417 = load i32, ptr %60, align 4, !tbaa !5
  %418 = icmp slt i32 %417, 6
  br i1 %418, label %434, label %419

419:                                              ; preds = %416
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #10
  br label %474

420:                                              ; preds = %402, %398, %394
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  br label %539

421:                                              ; preds = %406
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %19, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %20, align 4
  br label %429

425:                                              ; preds = %410, %408
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %19, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #10
  br label %429

429:                                              ; preds = %425, %421
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #10
  br label %539

430:                                              ; preds = %413
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %19, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %20, align 4
  br label %538

434:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #10
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %435 unwind label %457

435:                                              ; preds = %434
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %16, i64 52, i1 false), !tbaa.struct !26
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  %436 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef %62, ptr noundef byval(%struct.EltwiseParamSpec) align 8 %63, ptr noundef %64, ptr noundef %65, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %437 unwind label %461

437:                                              ; preds = %435
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #10
  store i32 %436, ptr %61, align 4, !tbaa !28
  %438 = load i32, ptr %61, align 4, !tbaa !28
  %439 = icmp ne i32 %438, 0
  br i1 %439, label %440, label %469

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

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

448:                                              ; preds = %445
  %449 = load i32, ptr %61, align 4, !tbaa !28
  %450 = invoke ptr @ee2str(i32 noundef %449)
          to label %451 unwind label %465

451:                                              ; preds = %448
  %452 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %450)
          to label %453 unwind label %465

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

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

457:                                              ; preds = %434
  %458 = landingpad { ptr, i32 }
          cleanup
  %459 = extractvalue { ptr, i32 } %458, 0
  store ptr %459, ptr %19, align 8
  %460 = extractvalue { ptr, i32 } %458, 1
  store i32 %460, ptr %20, align 4
  br label %473

461:                                              ; preds = %435
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %19, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #10
  br label %473

465:                                              ; preds = %453, %451, %448, %445, %440
  %466 = landingpad { ptr, i32 }
          cleanup
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %19, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #10
  br label %473

469:                                              ; preds = %437
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  br label %470

470:                                              ; preds = %469
  %471 = load i32, ptr %60, align 4, !tbaa !5
  %472 = add nsw i32 %471, 1
  store i32 %472, ptr %60, align 4, !tbaa !5
  br label %416, !llvm.loop !32

473:                                              ; preds = %465, %461, %457
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #10
  br label %538

474:                                              ; preds = %419
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #10
  %475 = invoke noundef double @_Z10ut_time_msv()
          to label %476 unwind label %520

476:                                              ; preds = %474
  store double %475, ptr %67, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #10
  %477 = load double, ptr %67, align 8, !tbaa !30
  %478 = load double, ptr %59, align 8, !tbaa !30
  %479 = fsub double %477, %478
  %480 = fdiv double %479, 6.000000e+00
  store double %480, ptr %68, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 150, ptr %69) #10
  call void @llvm.lifetime.start.p0(i64 120, ptr %70) #10
  %481 = getelementptr inbounds [120 x i8], ptr %70, i64 0, i64 0
  %482 = load i32, ptr %8, align 4, !tbaa !5
  %483 = load i32, ptr %9, align 4, !tbaa !5
  %484 = load i32, ptr %10, align 4, !tbaa !5
  %485 = load i32, ptr %11, align 4, !tbaa !5
  %486 = load i32, ptr %12, align 4, !tbaa !5
  %487 = load i32, ptr %9, align 4, !tbaa !5
  %488 = load i32, ptr %10, align 4, !tbaa !5
  %489 = load i32, ptr %11, align 4, !tbaa !5
  %490 = load i32, ptr %12, align 4, !tbaa !5
  %491 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %481, ptr noundef @.str.3, i32 noundef %482, i32 noundef %483, i32 noundef %484, i32 noundef %485, i32 noundef %486, i32 noundef %487, i32 noundef %488, i32 noundef %489, i32 noundef %490) #10
  %492 = getelementptr inbounds [150 x i8], ptr %69, i64 0, i64 0
  %493 = getelementptr inbounds [120 x i8], ptr %70, i64 0, i64 0
  %494 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %492, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %493) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #10
  %495 = load i32, ptr %8, align 4, !tbaa !5
  %496 = uitofp i32 %495 to double
  %497 = fmul double 1.000000e+00, %496
  %498 = load i32, ptr %9, align 4, !tbaa !5
  %499 = uitofp i32 %498 to double
  %500 = fmul double %497, %499
  %501 = load i32, ptr %10, align 4, !tbaa !5
  %502 = uitofp i32 %501 to double
  %503 = fmul double %500, %502
  %504 = load i32, ptr %11, align 4, !tbaa !5
  %505 = uitofp i32 %504 to double
  %506 = fmul double %503, %505
  %507 = load i32, ptr %12, align 4, !tbaa !5
  %508 = uitofp i32 %507 to double
  %509 = fmul double %506, %508
  store double %509, ptr %71, align 8, !tbaa !30
  %510 = load i32, ptr %6, align 4, !tbaa !11
  %511 = getelementptr inbounds [150 x i8], ptr %69, i64 0, i64 0
  %512 = load double, ptr %71, align 8, !tbaa !30
  %513 = load double, ptr %68, align 8, !tbaa !30
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %510, ptr noundef %511, double noundef %512, double noundef %513)
          to label %514 unwind label %524

514:                                              ; preds = %476
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #10
  store i32 0, ptr %72, align 4, !tbaa !5
  br label %515

515:                                              ; preds = %533, %514
  %516 = load i32, ptr %72, align 4, !tbaa !5
  %517 = load i32, ptr %8, align 4, !tbaa !5
  %518 = icmp ult i32 %516, %517
  br i1 %518, label %528, label %519

519:                                              ; preds = %515
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #10
  br label %536

520:                                              ; preds = %474
  %521 = landingpad { ptr, i32 }
          cleanup
  %522 = extractvalue { ptr, i32 } %521, 0
  store ptr %522, ptr %19, align 8
  %523 = extractvalue { ptr, i32 } %521, 1
  store i32 %523, ptr %20, align 4
  br label %537

524:                                              ; preds = %476
  %525 = landingpad { ptr, i32 }
          cleanup
  %526 = extractvalue { ptr, i32 } %525, 0
  store ptr %526, ptr %19, align 8
  %527 = extractvalue { ptr, i32 } %525, 1
  store i32 %527, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 120, ptr %70) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  br label %537

528:                                              ; preds = %515
  %529 = load i32, ptr %72, align 4, !tbaa !5
  %530 = zext i32 %529 to i64
  %531 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %530) #10
  %532 = load ptr, ptr %531, align 8, !tbaa !9
  call void @free(ptr noundef %532) #10
  br label %533

533:                                              ; preds = %528
  %534 = load i32, ptr %72, align 4, !tbaa !5
  %535 = add i32 %534, 1
  store i32 %535, ptr %72, align 4, !tbaa !5
  br label %515, !llvm.loop !33

536:                                              ; preds = %519
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 120, ptr %70) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %25) #10
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  call void @_ZNSt6vectorIPvSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 52, 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

537:                                              ; preds = %524, %520
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  br label %538

538:                                              ; preds = %537, %473, %430
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  br label %539

539:                                              ; preds = %538, %429, %420, %393, %354
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  br label %540

540:                                              ; preds = %539, %350
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #10
  br label %541

541:                                              ; preds = %540, %349
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  br label %542

542:                                              ; preds = %541, %305
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  br label %543

543:                                              ; preds = %542, %301
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #10
  br label %544

544:                                              ; preds = %543, %269, %265, %264, %209
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  br label %545

545:                                              ; preds = %544, %159
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  br label %546

546:                                              ; preds = %545, %155
  call void @llvm.lifetime.end.p0(i64 92, ptr %25) #10
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  br label %547

547:                                              ; preds = %546, %151
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #10
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  br label %548

548:                                              ; preds = %547, %147
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  call void @_ZNSt6vectorIPvSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  br label %549

549:                                              ; preds = %548, %143
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 52, 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 %550

550:                                              ; preds = %549
  %551 = load ptr, ptr %19, align 8
  %552 = load i32, ptr %20, align 4
  %553 = insertvalue { ptr, i32 } poison, ptr %551, 0
  %554 = insertvalue { ptr, i32 } %553, i32 %552, 1
  resume { ptr, i32 } %554
}

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIPvEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPvSaIS0_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 @_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

; 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 nounwind uwtable
declare dso_local void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #7

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

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

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

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

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

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

; 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 #7 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 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

declare noundef i32 @_Z25eltwise_infer_output_sizeSt6vectorIP6TensorSaIS1_EE16EltwiseParamSpecS1_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.EltwiseParamSpec) 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) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Tensor6lengthEv(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

declare noundef i32 @_Z31eltwise_infer_forward_tmp_bytesSt6vectorI6TensorSaIS0_EES0_PjP8ArchInfo(ptr noundef, 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 @_Z8tensor1d8DataTypej(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef) #8

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

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

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) #8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIPvED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 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 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 #8 = { 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 #9 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"_ZTS10DataFormat", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS11EltwiseMode", !7, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"_ZTS16EltwiseParamSpec", !16, i64 0, !19, i64 4, !20, i64 40, !7, i64 44}
!19 = !{!"_ZTS14EltwiseSumSpec", !7, i64 0, !6, i64 32}
!20 = !{!"_ZTS14ActivationMode", !7, i64 0}
!21 = !{!18, !20, i64 40}
!22 = !{i64 0, i64 4, !11, i64 4, i64 4, !13, i64 8, i64 4, !5, i64 12, i64 80, !23}
!23 = !{!7, !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{i64 0, i64 4, !15, i64 4, i64 32, !23, i64 36, i64 4, !5, i64 40, i64 4, !27, i64 44, i64 8, !23}
!27 = !{!20, !20, i64 0}
!28 = !{!29, !29, i64 0}
!29 = !{!"_ZTS2EE", !7, i64 0}
!30 = !{!31, !31, i64 0}
!31 = !{!"double", !7, i64 0}
!32 = distinct !{!32, !25}
!33 = distinct !{!33, !25}


; 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 }
%struct.EltwiseSumSpec = type { [8 x float], i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl" = type { %"struct.std::_Vector_base<void *, std::allocator<void *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<void *, std::allocator<void *>>::_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 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.7" = type { i8 }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.10" }
%"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.10" = type { %"class.std::__shared_ptr.11" }
%"class.std::__shared_ptr.11" = type { ptr, %"class.std::__shared_count" }
%struct.EltwiseParamSpec = type { i32, %struct.EltwiseSumSpec, i32, %union.ActivationSpec }
%union.ActivationSpec = type { %struct.ClipParamSpec }
%struct.ClipParamSpec = type { float, 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 [31 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1

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

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

48:                                               ; preds = %3
  %49 = getelementptr inbounds i8, ptr %1, i64 8
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = tail call i32 @atoi(ptr nocapture noundef %50) #14
  %52 = getelementptr inbounds i8, ptr %1, i64 16
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = tail call i32 @atoi(ptr nocapture noundef %53) #14
  %55 = getelementptr inbounds i8, ptr %1, i64 24
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = tail call i32 @atoi(ptr nocapture noundef %56) #14
  %58 = getelementptr inbounds i8, ptr %1, i64 32
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = tail call i32 @atoi(ptr nocapture noundef %59) #14
  %61 = getelementptr inbounds i8, ptr %1, i64 40
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = tail call i32 @atoi(ptr nocapture noundef %62) #14
  %64 = and i32 %57, 7
  %65 = icmp eq i32 %64, 0
  %spec.store.select = select i1 %65, i32 2, i32 0
  %66 = mul i32 %57, %54
  %67 = mul i32 %66, %60
  %68 = mul i32 %67, %63
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %.sroa.8)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #12
  %69 = zext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #12
  call void @_ZNSaIPvEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #12
  invoke void @_ZNSt6vectorIPvSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %69, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %70 unwind label %73

70:                                               ; preds = %48
  call void @_ZNSt15__new_allocatorIPvED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #12
  call void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %69, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %71 unwind label %75

71:                                               ; preds = %70
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #12
  call void @_ZNSaIP6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #12
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %69, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %72 unwind label %77

72:                                               ; preds = %71
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #12
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %10) #12
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %10, i32 noundef %2, i32 noundef %spec.store.select, i32 noundef %54, i32 noundef %57, i32 noundef %60, i32 noundef %63)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef 1)
          to label %.preheader158 unwind label %79

.preheader158:                                    ; preds = %72
  %.not164 = icmp eq i32 %51, 0
  br i1 %.not164, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %96, %.preheader158
  invoke void @_ZNSt6vectorIP6TensorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %103 unwind label %116

73:                                               ; preds = %48
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIPvED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #12
  br label %289

75:                                               ; preds = %70
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #12
  br label %288

77:                                               ; preds = %71
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIP6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #12
  br label %287

79:                                               ; preds = %72
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %286

.lr.ph:                                           ; preds = %.preheader158, %96
  %indvars.iv = phi i64 [ %indvars.iv.next, %96 ], [ 0, %.preheader158 ]
  %81 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %68, i32 noundef %2, i32 noundef 0)
          to label %82 unwind label %99

82:                                               ; preds = %.lr.ph
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #12
  store ptr %81, ptr %83, align 8, !tbaa !5
  %84 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #12
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %84, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10)
          to label %85 unwind label %99

85:                                               ; preds = %82
  %86 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #12
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
          to label %87 unwind label %99

87:                                               ; preds = %85
  %88 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %88) #12
  %89 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %12, i32 noundef 1)
          to label %90 unwind label %101

90:                                               ; preds = %87
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #12
  %92 = load ptr, ptr %91, align 8, !tbaa !5
  %93 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10)
          to label %94 unwind label %101

94:                                               ; preds = %90
  %95 = zext i32 %93 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %89, ptr noundef %92, i64 noundef %95)
          to label %96 unwind label %101

96:                                               ; preds = %94
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  %97 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #12
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP6TensorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv) #12
  store ptr %97, ptr %98, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %69
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

99:                                               ; preds = %85, %82, %.lr.ph
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %285

101:                                              ; preds = %94, %90, %87
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  br label %285

103:                                              ; preds = %._crit_edge
  store i32 1, ptr %14, align 8, !tbaa !11
  %.sroa.841.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 40
  store i32 0, ptr %.sroa.841.0..sroa_idx, align 8, !tbaa !13
  %104 = invoke noundef i32 @_Z25eltwise_infer_output_sizeSt6vectorIP6TensorSaIS1_EE16EltwiseParamSpecS1_P8ArchInfo(ptr noundef nonnull %13, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %14, ptr noundef nonnull %11, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %105 unwind label %118

105:                                              ; preds = %103
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #12
  %.not = icmp eq i32 %104, 0
  br i1 %.not, label %120, label %106

106:                                              ; preds = %105
  %107 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %108 = trunc i64 %107 to i32
  %109 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %108)
  %110 = load ptr, ptr @stdout, align 8, !tbaa !5
  %111 = call i32 @fflush(ptr noundef %110)
  %112 = call ptr @ee2str(i32 noundef %104)
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %112)
  %114 = load ptr, ptr @stdout, align 8, !tbaa !5
  %115 = call i32 @fflush(ptr noundef %114)
  call void @exit(i32 noundef 1) #13
  unreachable

116:                                              ; preds = %._crit_edge
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %285

118:                                              ; preds = %103
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #12
  br label %285

120:                                              ; preds = %105
  %121 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %122 unwind label %133

122:                                              ; preds = %120
  %123 = icmp eq i32 %68, %121
  br i1 %123, label %135, label %124

124:                                              ; preds = %122
  %125 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %126 = trunc i64 %125 to i32
  %127 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %126)
  %128 = load ptr, ptr @stdout, align 8, !tbaa !5
  %129 = call i32 @fflush(ptr noundef %128)
  %130 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %131 = load ptr, ptr @stdout, align 8, !tbaa !5
  %132 = call i32 @fflush(ptr noundef %131)
  call void @exit(i32 noundef 1) #13
  unreachable

133:                                              ; preds = %135, %120
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %285

135:                                              ; preds = %122
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %136 unwind label %133

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %15, i32 noundef 1)
          to label %137 unwind label %154

137:                                              ; preds = %136
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %16, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %138 unwind label %156

138:                                              ; preds = %137
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %16)
          to label %139 unwind label %156

139:                                              ; preds = %138
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %140 unwind label %156

140:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %141 unwind label %158

141:                                              ; preds = %140
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %142 = invoke noundef i32 @_Z31eltwise_infer_forward_tmp_bytesSt6vectorI6TensorSaIS0_EES0_PjP8ArchInfo(ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %17, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %143 unwind label %160

143:                                              ; preds = %141
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #12
  %.not127 = icmp eq i32 %142, 0
  br i1 %.not127, label %162, label %144

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

154:                                              ; preds = %136
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %284

156:                                              ; preds = %139, %138, %137
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %283

158:                                              ; preds = %140
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %282

160:                                              ; preds = %141
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #12
  br label %282

162:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef 1)
          to label %163 unwind label %181

163:                                              ; preds = %162
  %164 = load i32, ptr %17, align 4, !tbaa !15
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %21, i32 noundef 0, i32 noundef %164)
          to label %165 unwind label %183

165:                                              ; preds = %163
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %21)
          to label %166 unwind label %183

166:                                              ; preds = %165
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %167 unwind label %183

167:                                              ; preds = %166
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %168 unwind label %185

168:                                              ; preds = %167
  store i32 1, ptr %23, align 8, !tbaa !11
  %.sroa.841.0..sroa_idx42 = getelementptr inbounds i8, ptr %23, i64 40
  store i32 0, ptr %.sroa.841.0..sroa_idx42, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %169 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %22, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %23, ptr noundef nonnull %24, ptr noundef nonnull %25, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %170 unwind label %187

170:                                              ; preds = %168
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #12
  %.not130 = icmp eq i32 %169, 0
  br i1 %.not130, label %189, label %171

171:                                              ; preds = %170
  %172 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %173 = trunc i64 %172 to i32
  %174 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %173)
  %175 = load ptr, ptr @stdout, align 8, !tbaa !5
  %176 = call i32 @fflush(ptr noundef %175)
  %177 = call ptr @ee2str(i32 noundef %169)
  %178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %177)
  %179 = load ptr, ptr @stdout, align 8, !tbaa !5
  %180 = call i32 @fflush(ptr noundef %179)
  call void @exit(i32 noundef 1) #13
  unreachable

181:                                              ; preds = %162
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %281

183:                                              ; preds = %166, %165, %163
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %280

185:                                              ; preds = %167
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %280

187:                                              ; preds = %168
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #12
  br label %280

189:                                              ; preds = %170
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %190 unwind label %203

190:                                              ; preds = %189
  store i32 1, ptr %27, align 8, !tbaa !11
  %.sroa.841.0..sroa_idx44 = getelementptr inbounds i8, ptr %27, i64 40
  store i32 0, ptr %.sroa.841.0..sroa_idx44, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  %191 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %26, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %27, ptr noundef nonnull %28, ptr noundef nonnull %29, ptr noundef nonnull @_ZL18UT_SERIAL_ARCHINFO)
          to label %192 unwind label %205

192:                                              ; preds = %190
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #12
  %.not133 = icmp eq i32 %191, 0
  br i1 %.not133, label %207, label %193

193:                                              ; preds = %192
  %194 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %195 = trunc i64 %194 to i32
  %196 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %195)
  %197 = load ptr, ptr @stdout, align 8, !tbaa !5
  %198 = call i32 @fflush(ptr noundef %197)
  %199 = call ptr @ee2str(i32 noundef %191)
  %200 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %199)
  %201 = load ptr, ptr @stdout, align 8, !tbaa !5
  %202 = call i32 @fflush(ptr noundef %201)
  call void @exit(i32 noundef 1) #13
  unreachable

203:                                              ; preds = %189
  %204 = landingpad { ptr, i32 }
          cleanup
  br label %280

205:                                              ; preds = %190
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #12
  br label %280

207:                                              ; preds = %192
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %208 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %30, i32 noundef 1)
          to label %209 unwind label %236

209:                                              ; preds = %207
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  %210 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %31, i32 noundef 1)
          to label %211 unwind label %238

211:                                              ; preds = %209
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %208, ptr noundef %210, i32 noundef %68, i32 noundef %2, float noundef 1.000000e+00)
          to label %212 unwind label %238

212:                                              ; preds = %211
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #12
  %213 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader157 unwind label %241

.preheader157:                                    ; preds = %212
  %.sroa.8.0..sroa_idx40 = getelementptr inbounds i8, ptr %33, i64 4
  %.sroa.841.0..sroa_idx46 = getelementptr inbounds i8, ptr %33, i64 40
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %243 unwind label %256

214:                                              ; preds = %245
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %215 unwind label %256

215:                                              ; preds = %214
  store i32 1, ptr %33, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %.sroa.8.0..sroa_idx40, ptr noundef nonnull align 8 dereferenceable(36) %.sroa.8, i64 36, i1 false), !tbaa.struct !17
  store i32 0, ptr %.sroa.841.0..sroa_idx46, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %216 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %32, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %217 unwind label %258

217:                                              ; preds = %215
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  %.not146.1 = icmp eq i32 %216, 0
  br i1 %.not146.1, label %218, label %246

218:                                              ; preds = %217
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %219 unwind label %256

219:                                              ; preds = %218
  store i32 1, ptr %33, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %.sroa.8.0..sroa_idx40, ptr noundef nonnull align 8 dereferenceable(36) %.sroa.8, i64 36, i1 false), !tbaa.struct !17
  store i32 0, ptr %.sroa.841.0..sroa_idx46, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %220 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %32, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %221 unwind label %258

221:                                              ; preds = %219
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  %.not146.2 = icmp eq i32 %220, 0
  br i1 %.not146.2, label %222, label %246

222:                                              ; preds = %221
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %223 unwind label %256

223:                                              ; preds = %222
  store i32 1, ptr %33, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %.sroa.8.0..sroa_idx40, ptr noundef nonnull align 8 dereferenceable(36) %.sroa.8, i64 36, i1 false), !tbaa.struct !17
  store i32 0, ptr %.sroa.841.0..sroa_idx46, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %224 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %32, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %225 unwind label %258

225:                                              ; preds = %223
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  %.not146.3 = icmp eq i32 %224, 0
  br i1 %.not146.3, label %226, label %246

226:                                              ; preds = %225
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %227 unwind label %256

227:                                              ; preds = %226
  store i32 1, ptr %33, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %.sroa.8.0..sroa_idx40, ptr noundef nonnull align 8 dereferenceable(36) %.sroa.8, i64 36, i1 false), !tbaa.struct !17
  store i32 0, ptr %.sroa.841.0..sroa_idx46, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %228 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %32, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %229 unwind label %258

229:                                              ; preds = %227
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  %.not146.4 = icmp eq i32 %228, 0
  br i1 %.not146.4, label %230, label %246

230:                                              ; preds = %229
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %231 unwind label %256

231:                                              ; preds = %230
  store i32 1, ptr %33, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %.sroa.8.0..sroa_idx40, ptr noundef nonnull align 8 dereferenceable(36) %.sroa.8, i64 36, i1 false), !tbaa.struct !17
  store i32 0, ptr %.sroa.841.0..sroa_idx46, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %232 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %32, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %233 unwind label %258

233:                                              ; preds = %231
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  %.not146.5 = icmp eq i32 %232, 0
  br i1 %.not146.5, label %234, label %246

234:                                              ; preds = %233
  %235 = invoke noundef double @_Z10ut_time_msv()
          to label %260 unwind label %274

236:                                              ; preds = %207
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %240

238:                                              ; preds = %211, %209
  %239 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #12
  br label %240

240:                                              ; preds = %238, %236
  %.pn134 = phi { ptr, i32 } [ %239, %238 ], [ %237, %236 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #12
  br label %280

241:                                              ; preds = %212
  %242 = landingpad { ptr, i32 }
          cleanup
  br label %280

243:                                              ; preds = %.preheader157
  store i32 1, ptr %33, align 8, !tbaa !11
  store i32 0, ptr %.sroa.841.0..sroa_idx46, align 8, !tbaa !13
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %244 = invoke noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef nonnull %32, ptr noundef nonnull byval(%struct.EltwiseParamSpec) align 8 %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %245 unwind label %258

245:                                              ; preds = %243
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  %.not146 = icmp eq i32 %244, 0
  br i1 %.not146, label %214, label %246

246:                                              ; preds = %233, %229, %225, %221, %217, %245
  %.lcssa = phi i32 [ %244, %245 ], [ %216, %217 ], [ %220, %221 ], [ %224, %225 ], [ %228, %229 ], [ %232, %233 ]
  %247 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %248 = trunc i64 %247 to i32
  %249 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %248)
  %250 = load ptr, ptr @stdout, align 8, !tbaa !5
  %251 = call i32 @fflush(ptr noundef %250)
  %252 = call ptr @ee2str(i32 noundef %.lcssa)
  %253 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %252)
  %254 = load ptr, ptr @stdout, align 8, !tbaa !5
  %255 = call i32 @fflush(ptr noundef %254)
  call void @exit(i32 noundef 1) #13
  unreachable

256:                                              ; preds = %230, %226, %222, %218, %214, %.preheader157
  %257 = landingpad { ptr, i32 }
          cleanup
  br label %280

258:                                              ; preds = %231, %227, %223, %219, %215, %243
  %259 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  br label %280

260:                                              ; preds = %234
  %261 = fsub double %235, %213
  %262 = fdiv double %261, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %36) #12
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %37) #12
  %263 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %37, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %51, i32 noundef %54, i32 noundef %57, i32 noundef %60, i32 noundef %63, i32 noundef %54, i32 noundef %57, i32 noundef %60, i32 noundef %63) #12
  %264 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %36, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull %37) #12
  %265 = uitofp i32 %51 to double
  %266 = uitofp i32 %54 to double
  %267 = fmul double %265, %266
  %268 = uitofp i32 %57 to double
  %269 = fmul double %267, %268
  %270 = uitofp i32 %60 to double
  %271 = fmul double %269, %270
  %272 = uitofp i32 %63 to double
  %273 = fmul double %271, %272
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %2, ptr noundef nonnull %36, double noundef %273, double noundef %262)
          to label %.preheader unwind label %276

.preheader:                                       ; preds = %260
  br i1 %.not164, label %._crit_edge163, label %.lr.ph162

._crit_edge163:                                   ; preds = %.lr.ph162, %.preheader
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %37) #12
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %36) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #12
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  call void @_ZNSt6vectorIPvSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %.sroa.8)
  ret i32 0

274:                                              ; preds = %234
  %275 = landingpad { ptr, i32 }
          cleanup
  br label %280

276:                                              ; preds = %260
  %277 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %37) #12
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %36) #12
  br label %280

.lr.ph162:                                        ; preds = %.preheader, %.lr.ph162
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %.lr.ph162 ], [ 0, %.preheader ]
  %278 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPvSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv169) #12
  %279 = load ptr, ptr %278, align 8, !tbaa !5
  call void @free(ptr noundef %279) #12
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %exitcond173.not = icmp eq i64 %indvars.iv.next170, %69
  br i1 %exitcond173.not, label %._crit_edge163, label %.lr.ph162, !llvm.loop !19

280:                                              ; preds = %241, %258, %256, %276, %274, %203, %205, %185, %187, %240, %183
  %.pn138.pn.pn = phi { ptr, i32 } [ %.pn134, %240 ], [ %184, %183 ], [ %188, %187 ], [ %186, %185 ], [ %206, %205 ], [ %204, %203 ], [ %242, %241 ], [ %259, %258 ], [ %257, %256 ], [ %277, %276 ], [ %275, %274 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  br label %281

281:                                              ; preds = %280, %181
  %.pn138.pn.pn.pn = phi { ptr, i32 } [ %.pn138.pn.pn, %280 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #12
  br label %282

282:                                              ; preds = %158, %160, %281
  %.pn138.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn138.pn.pn.pn, %281 ], [ %161, %160 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #12
  br label %283

283:                                              ; preds = %282, %156
  %.pn138.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn138.pn.pn.pn.pn, %282 ], [ %157, %156 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  br label %284

284:                                              ; preds = %283, %154
  %.pn138.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn138.pn.pn.pn.pn.pn, %283 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #12
  br label %285

285:                                              ; preds = %116, %118, %99, %101, %284, %133
  %.pn147.pn = phi { ptr, i32 } [ %.pn138.pn.pn.pn.pn.pn.pn, %284 ], [ %134, %133 ], [ %102, %101 ], [ %100, %99 ], [ %119, %118 ], [ %117, %116 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  br label %286

286:                                              ; preds = %285, %79
  %.pn147.pn.pn = phi { ptr, i32 } [ %.pn147.pn, %285 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #12
  call void @_ZNSt6vectorIP6TensorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #12
  br label %287

287:                                              ; preds = %286, %77
  %.pn147.pn.pn.pn = phi { ptr, i32 } [ %.pn147.pn.pn, %286 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #12
  br label %288

288:                                              ; preds = %287, %75
  %.pn147.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn147.pn.pn.pn, %287 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  call void @_ZNSt6vectorIPvSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #12
  br label %289

289:                                              ; preds = %288, %73
  %.pn147.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn147.pn.pn.pn.pn, %288 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %.sroa.8)
  resume { ptr, i32 } %.pn147.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: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIPvEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPvSaIS0_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 @_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

; 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 nounwind uwtable
declare dso_local void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

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

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

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

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

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

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

; 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 #7 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 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

declare noundef i32 @_Z25eltwise_infer_output_sizeSt6vectorIP6TensorSaIS1_EE16EltwiseParamSpecS1_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.EltwiseParamSpec) align 8, ptr noundef, ptr noundef) local_unnamed_addr #10

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Tensor6lengthEv(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

declare noundef i32 @_Z31eltwise_infer_forward_tmp_bytesSt6vectorI6TensorSaIS0_EES0_PjP8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #10

; 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 @_Z8tensor1d8DataTypej(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef) local_unnamed_addr #8

declare noundef i32 @_Z7eltwiseSt6vectorI6TensorSaIS0_EE16EltwiseParamSpecS0_S0_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.EltwiseParamSpec) align 8, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #10

; 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 #8

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #10

; 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 #8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIPvED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 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 = { 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 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 #8 = { 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #10 = { "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 = { 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 #12 = { nounwind }
attributes #13 = { noreturn nounwind }
attributes #14 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS11EltwiseMode", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS14ActivationMode", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{i64 0, i64 32, !18, i64 32, i64 4, !15, i64 36, i64 4, !13, i64 40, i64 8, !18}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !10}


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