; LLVM IR from huawei-noah/bolt :: compute/tensor/tests (test_activation)

; 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.ActivationParamSpec = type { i32, [4 x float] }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.0" }
%"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.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z22activationFunctionTestjjjj8DataType19ActivationParamSpecPKc(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef byval(%struct.ActivationParamSpec) align 8 %5, ptr noundef %6) #0 personality ptr @__gxx_personality_v0 {
  %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 ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %struct.TensorDesc, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.TensorDesc, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %class.Tensor, align 8
  %20 = alloca %struct.TensorDesc, align 8
  %21 = alloca %class.Tensor, align 8
  %22 = alloca %struct.TensorDesc, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %class.Tensor, align 8
  %26 = alloca %struct.TensorDesc, align 8
  %27 = alloca %class.Tensor, align 8
  %28 = alloca %struct.TensorDesc, align 8
  %29 = alloca i32, align 4
  %30 = alloca %class.Tensor, align 8
  %31 = alloca %struct.ActivationParamSpec, align 8
  %32 = alloca %class.Tensor, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %class.Tensor, align 8
  %36 = alloca %struct.ActivationParamSpec, align 8
  %37 = alloca %class.Tensor, align 8
  %38 = alloca i32, align 4
  %39 = alloca %class.Tensor, align 8
  %40 = alloca %class.Tensor, align 8
  %41 = alloca double, align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %class.Tensor, align 8
  %45 = alloca %struct.ActivationParamSpec, align 8
  %46 = alloca %class.Tensor, align 8
  %47 = alloca i32, align 4
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca [150 x i8], align 16
  %51 = alloca [120 x i8], align 16
  %52 = alloca double, align 8
  store i32 %0, ptr %8, align 4, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !5
  store i32 %3, ptr %11, align 4, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store ptr %6, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 2, ptr %14, align 4, !tbaa !13
  %53 = getelementptr inbounds %struct.ActivationParamSpec, ptr %5, i32 0, i32 1
  %54 = getelementptr inbounds [4 x float], ptr %53, i64 0, i64 0
  call void @_Z10UNI_MEMSETPvim(ptr noundef %54, i32 noundef 0, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 92, ptr %15) #8
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !13
  %57 = load i32, ptr %8, align 4, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !5
  %59 = load i32, ptr %10, align 4, !tbaa !5
  %60 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %15, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !15
  %61 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %17)
  store i32 %61, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %62 = load i32, ptr %16, align 4, !tbaa !5
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %62, i32 noundef %63, i32 noundef 0)
  store ptr %64, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !15
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %19, ptr noundef byval(%struct.TensorDesc) align 8 %20)
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !15
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %21, ptr noundef byval(%struct.TensorDesc) align 8 %22)
          to label %65 unwind label %101

65:                                               ; preds = %7
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  %66 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %25, i32 noundef 1)
          to label %67 unwind label %105

67:                                               ; preds = %65
  %68 = load ptr, ptr %18, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !15
  %69 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %26)
          to label %70 unwind label %105

70:                                               ; preds = %67
  %71 = zext i32 %69 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %66, ptr noundef %68, i64 noundef %71)
          to label %72 unwind label %105

72:                                               ; preds = %70
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  %73 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %27, i32 noundef 1)
          to label %74 unwind label %109

74:                                               ; preds = %72
  %75 = load ptr, ptr %18, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !15
  %76 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %28)
          to label %77 unwind label %109

77:                                               ; preds = %74
  %78 = zext i32 %76 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %73, ptr noundef %75, i64 noundef %78)
          to label %79 unwind label %109

79:                                               ; preds = %77
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 8 %5, i64 20, i1 false), !tbaa.struct !17
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  %80 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef %30, ptr noundef byval(%struct.ActivationParamSpec) align 8 %31, ptr noundef %32, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %81 unwind label %113

81:                                               ; preds = %79
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  store i32 %80, ptr %29, align 4, !tbaa !20
  %82 = load i32, ptr %29, align 4, !tbaa !20
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %121

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %85 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %86 = trunc i64 %85 to i32
  store i32 %86, ptr %33, align 4, !tbaa !5
  %87 = load i32, ptr %33, align 4, !tbaa !5
  %88 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %87)
          to label %89 unwind label %117

89:                                               ; preds = %84
  %90 = load ptr, ptr @stdout, align 8, !tbaa !11
  %91 = invoke i32 @fflush(ptr noundef %90)
          to label %92 unwind label %117

92:                                               ; preds = %89
  %93 = load i32, ptr %29, align 4, !tbaa !20
  %94 = invoke ptr @ee2str(i32 noundef %93)
          to label %95 unwind label %117

95:                                               ; preds = %92
  %96 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %94)
          to label %97 unwind label %117

97:                                               ; preds = %95
  %98 = load ptr, ptr @stdout, align 8, !tbaa !11
  %99 = invoke i32 @fflush(ptr noundef %98)
          to label %100 unwind label %117

100:                                              ; preds = %97
  call void @exit(i32 noundef 1) #9
  unreachable

101:                                              ; preds = %7
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %23, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %24, align 4
  br label %267

105:                                              ; preds = %70, %67, %65
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %23, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  br label %266

109:                                              ; preds = %77, %74, %72
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %23, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  br label %266

113:                                              ; preds = %79
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %23, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  br label %143

117:                                              ; preds = %97, %95, %92, %89, %84
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %23, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %143

121:                                              ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 8 %5, i64 20, i1 false), !tbaa.struct !17
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  %122 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef %35, ptr noundef byval(%struct.ActivationParamSpec) align 8 %36, ptr noundef %37, ptr noundef @_ZL18UT_SERIAL_ARCHINFO)
          to label %123 unwind label %144

123:                                              ; preds = %121
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  store i32 %122, ptr %34, align 4, !tbaa !20
  %124 = load i32, ptr %34, align 4, !tbaa !20
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %152

126:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  %127 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %128 = trunc i64 %127 to i32
  store i32 %128, ptr %38, align 4, !tbaa !5
  %129 = load i32, ptr %38, align 4, !tbaa !5
  %130 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %129)
          to label %131 unwind label %148

131:                                              ; preds = %126
  %132 = load ptr, ptr @stdout, align 8, !tbaa !11
  %133 = invoke i32 @fflush(ptr noundef %132)
          to label %134 unwind label %148

134:                                              ; preds = %131
  %135 = load i32, ptr %34, align 4, !tbaa !20
  %136 = invoke ptr @ee2str(i32 noundef %135)
          to label %137 unwind label %148

137:                                              ; preds = %134
  %138 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %136)
          to label %139 unwind label %148

139:                                              ; preds = %137
  %140 = load ptr, ptr @stdout, align 8, !tbaa !11
  %141 = invoke i32 @fflush(ptr noundef %140)
          to label %142 unwind label %148

142:                                              ; preds = %139
  call void @exit(i32 noundef 1) #9
  unreachable

143:                                              ; preds = %117, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %266

144:                                              ; preds = %121
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %23, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  br label %167

148:                                              ; preds = %139, %137, %134, %131, %126
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %23, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  br label %167

152:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  %153 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %39, i32 noundef 1)
          to label %154 unwind label %168

154:                                              ; preds = %152
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  %155 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %40, i32 noundef 1)
          to label %156 unwind label %172

156:                                              ; preds = %154
  %157 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %158 unwind label %172

158:                                              ; preds = %156
  %159 = load i32, ptr %12, align 4, !tbaa !9
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %153, ptr noundef %155, i32 noundef %157, i32 noundef %159, float noundef 0x3F847AE140000000)
          to label %160 unwind label %172

160:                                              ; preds = %158
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %161 = invoke noundef double @_Z10ut_time_msv()
          to label %162 unwind label %177

162:                                              ; preds = %160
  store double %161, ptr %41, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %212, %162
  %164 = load i32, ptr %42, align 4, !tbaa !5
  %165 = icmp slt i32 %164, 6
  br i1 %165, label %181, label %166

166:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %216

167:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %266

168:                                              ; preds = %152
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %23, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %24, align 4
  br label %176

172:                                              ; preds = %158, %156, %154
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %23, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %176

176:                                              ; preds = %172, %168
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  br label %266

177:                                              ; preds = %160
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %23, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %24, align 4
  br label %265

181:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 8 %5, i64 20, i1 false), !tbaa.struct !17
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  %182 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef %44, ptr noundef byval(%struct.ActivationParamSpec) align 8 %45, ptr noundef %46, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %183 unwind label %203

183:                                              ; preds = %181
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #8
  store i32 %182, ptr %43, align 4, !tbaa !20
  %184 = load i32, ptr %43, align 4, !tbaa !20
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %211

186:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  %187 = call i64 (i64, ...) @syscall(i64 noundef 186) #8
  %188 = trunc i64 %187 to i32
  store i32 %188, ptr %47, align 4, !tbaa !5
  %189 = load i32, ptr %47, align 4, !tbaa !5
  %190 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %189)
          to label %191 unwind label %207

191:                                              ; preds = %186
  %192 = load ptr, ptr @stdout, align 8, !tbaa !11
  %193 = invoke i32 @fflush(ptr noundef %192)
          to label %194 unwind label %207

194:                                              ; preds = %191
  %195 = load i32, ptr %43, align 4, !tbaa !20
  %196 = invoke ptr @ee2str(i32 noundef %195)
          to label %197 unwind label %207

197:                                              ; preds = %194
  %198 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %196)
          to label %199 unwind label %207

199:                                              ; preds = %197
  %200 = load ptr, ptr @stdout, align 8, !tbaa !11
  %201 = invoke i32 @fflush(ptr noundef %200)
          to label %202 unwind label %207

202:                                              ; preds = %199
  call void @exit(i32 noundef 1) #9
  unreachable

203:                                              ; preds = %181
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %23, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #8
  br label %215

207:                                              ; preds = %199, %197, %194, %191, %186
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %23, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  br label %215

211:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %42, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %42, align 4, !tbaa !5
  br label %163, !llvm.loop !24

215:                                              ; preds = %207, %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %265

216:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %217 = invoke noundef double @_Z10ut_time_msv()
          to label %218 unwind label %256

218:                                              ; preds = %216
  store double %217, ptr %48, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %219 = load double, ptr %48, align 8, !tbaa !22
  %220 = load double, ptr %41, align 8, !tbaa !22
  %221 = fsub double %219, %220
  %222 = fdiv double %221, 6.000000e+00
  store double %222, ptr %49, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 150, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr %51) #8
  %223 = getelementptr inbounds [120 x i8], ptr %51, i64 0, i64 0
  %224 = load i32, ptr %8, align 4, !tbaa !5
  %225 = load i32, ptr %9, align 4, !tbaa !5
  %226 = load i32, ptr %10, align 4, !tbaa !5
  %227 = load i32, ptr %11, align 4, !tbaa !5
  %228 = load i32, ptr %8, align 4, !tbaa !5
  %229 = load i32, ptr %9, align 4, !tbaa !5
  %230 = load i32, ptr %10, align 4, !tbaa !5
  %231 = load i32, ptr %11, align 4, !tbaa !5
  %232 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %223, ptr noundef @.str.2, i32 noundef %224, i32 noundef %225, i32 noundef %226, i32 noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef %231) #8
  %233 = getelementptr inbounds [150 x i8], ptr %50, i64 0, i64 0
  %234 = load ptr, ptr %13, align 8, !tbaa !11
  %235 = getelementptr inbounds [120 x i8], ptr %51, i64 0, i64 0
  %236 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %233, ptr noundef @.str.3, ptr noundef %234, ptr noundef %235) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %237 = load i32, ptr %8, align 4, !tbaa !5
  %238 = uitofp i32 %237 to double
  %239 = fmul double 1.000000e+00, %238
  %240 = load i32, ptr %9, align 4, !tbaa !5
  %241 = uitofp i32 %240 to double
  %242 = fmul double %239, %241
  %243 = load i32, ptr %10, align 4, !tbaa !5
  %244 = uitofp i32 %243 to double
  %245 = fmul double %242, %244
  %246 = load i32, ptr %11, align 4, !tbaa !5
  %247 = uitofp i32 %246 to double
  %248 = fmul double %245, %247
  store double %248, ptr %52, align 8, !tbaa !22
  %249 = load i32, ptr %12, align 4, !tbaa !9
  %250 = getelementptr inbounds [150 x i8], ptr %50, i64 0, i64 0
  %251 = load double, ptr %52, align 8, !tbaa !22
  %252 = load double, ptr %49, align 8, !tbaa !22
  %253 = fdiv double %252, 6.000000e+00
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %249, ptr noundef %250, double noundef %251, double noundef %253)
          to label %254 unwind label %260

254:                                              ; preds = %218
  %255 = load ptr, ptr %18, align 8, !tbaa !11
  call void @free(ptr noundef %255) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 150, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 92, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  ret i32 0

256:                                              ; preds = %216
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %23, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %24, align 4
  br label %264

260:                                              ; preds = %218
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %23, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 150, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %264

264:                                              ; preds = %260, %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %265

265:                                              ; preds = %264, %215, %177
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %266

266:                                              ; preds = %265, %176, %167, %143, %109, %105
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %267

267:                                              ; preds = %266, %101
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 92, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %268

268:                                              ; preds = %267
  %269 = load ptr, ptr %23, align 8
  %270 = load i32, ptr %24, align 4
  %271 = insertvalue { ptr, i32 } poison, ptr %269, 0
  %272 = insertvalue { ptr, i32 } %271, i32 %270, 1
  resume { ptr, i32 } %272
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z10UNI_MEMSETPvim(ptr noundef, i32 noundef, i64 noundef) #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) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #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) #3

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.ActivationParamSpec) align 8, ptr noundef, ptr noundef) #5

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

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

declare i32 @fflush(ptr noundef) #5

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

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

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

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

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

declare noundef double @_Z10ut_time_msv() #5

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

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

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

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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { "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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS8DataType", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS10DataFormat", !7, i64 0}
!15 = !{i64 0, i64 4, !9, i64 4, i64 4, !13, i64 8, i64 4, !5, i64 12, i64 80, !16}
!16 = !{!7, !7, i64 0}
!17 = !{i64 0, i64 4, !18, i64 4, i64 16, !16}
!18 = !{!19, !19, i64 0}
!19 = !{!"_ZTS14ActivationMode", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS2EE", !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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

%struct.ArchInfo = type { i32, ptr }
%struct.ActivationParamSpec = type { i32, [4 x float] }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.0" }
%"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.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }

@_ZL15UT_CPU_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.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 [18 x i8], align 1
@_ZL18UT_SERIAL_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z22activationFunctionTestjjjj8DataType19ActivationParamSpecPKc(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef byval(%struct.ActivationParamSpec) align 8 %5, ptr noundef %6) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %8 = alloca %struct.TensorDesc, align 8
  %9 = alloca %class.Tensor, align 8
  %10 = alloca %class.Tensor, align 8
  %11 = alloca %class.Tensor, align 8
  %12 = alloca %class.Tensor, align 8
  %13 = alloca %class.Tensor, align 8
  %14 = alloca %struct.ActivationParamSpec, align 8
  %15 = alloca %class.Tensor, align 8
  %16 = alloca %class.Tensor, align 8
  %17 = alloca %struct.ActivationParamSpec, align 8
  %18 = alloca %class.Tensor, align 8
  %19 = alloca %class.Tensor, align 8
  %20 = alloca %class.Tensor, align 8
  %21 = alloca %class.Tensor, align 8
  %22 = alloca %struct.ActivationParamSpec, align 8
  %23 = alloca %class.Tensor, align 8
  %24 = alloca [150 x i8], align 16
  %25 = alloca [120 x i8], align 16
  %26 = getelementptr inbounds i8, ptr %5, i64 4
  call void @_Z10UNI_MEMSETPvim(ptr noundef nonnull %26, i32 noundef 0, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %8) #10
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %8, i32 noundef %4, i32 noundef 2, i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3)
  %27 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
  %28 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %27, i32 noundef %4, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #10
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %9, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #10
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %10, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %29 unwind label %54

29:                                               ; preds = %7
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %30 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %11, i32 noundef 1)
          to label %31 unwind label %56

31:                                               ; preds = %29
  %32 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %33 unwind label %56

33:                                               ; preds = %31
  %34 = zext i32 %32 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %30, ptr noundef %28, i64 noundef %34)
          to label %35 unwind label %56

35:                                               ; preds = %33
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  %36 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %12, i32 noundef 1)
          to label %37 unwind label %58

37:                                               ; preds = %35
  %38 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %39 unwind label %58

39:                                               ; preds = %37
  %40 = zext i32 %38 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %36, ptr noundef %28, i64 noundef %40)
          to label %41 unwind label %58

41:                                               ; preds = %39
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %14, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %42 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %13, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %14, ptr noundef nonnull %15, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %43 unwind label %60

43:                                               ; preds = %41
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  %.not = icmp eq i32 %42, 0
  br i1 %.not, label %62, label %44

44:                                               ; preds = %43
  %45 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %46 = trunc i64 %45 to i32
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %46)
  %48 = load ptr, ptr @stdout, align 8, !tbaa !11
  %49 = call i32 @fflush(ptr noundef %48)
  %50 = call ptr @ee2str(i32 noundef %42)
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %50)
  %52 = load ptr, ptr @stdout, align 8, !tbaa !11
  %53 = call i32 @fflush(ptr noundef %52)
  call void @exit(i32 noundef 1) #11
  unreachable

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

56:                                               ; preds = %33, %31, %29
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  br label %137

58:                                               ; preds = %39, %37, %35
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  br label %137

60:                                               ; preds = %41
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %137

62:                                               ; preds = %43
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %17, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  %63 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %16, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %17, ptr noundef nonnull %18, ptr noundef nonnull @_ZL18UT_SERIAL_ARCHINFO)
          to label %64 unwind label %75

64:                                               ; preds = %62
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  %.not51 = icmp eq i32 %63, 0
  br i1 %.not51, label %77, label %65

65:                                               ; preds = %64
  %66 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %67 = trunc i64 %66 to i32
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %67)
  %69 = load ptr, ptr @stdout, align 8, !tbaa !11
  %70 = call i32 @fflush(ptr noundef %69)
  %71 = call ptr @ee2str(i32 noundef %63)
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %71)
  %73 = load ptr, ptr @stdout, align 8, !tbaa !11
  %74 = call i32 @fflush(ptr noundef %73)
  call void @exit(i32 noundef 1) #11
  unreachable

75:                                               ; preds = %62
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br label %137

77:                                               ; preds = %64
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %78 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %19, i32 noundef 1)
          to label %79 unwind label %99

79:                                               ; preds = %77
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  %80 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %20, i32 noundef 1)
          to label %81 unwind label %101

81:                                               ; preds = %79
  %82 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %83 unwind label %101

83:                                               ; preds = %81
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %78, ptr noundef %80, i32 noundef %82, i32 noundef %4, float noundef 0x3F847AE140000000)
          to label %84 unwind label %101

84:                                               ; preds = %83
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  %85 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader.preheader unwind label %104

.preheader.preheader:                             ; preds = %84
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %22, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %86 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %22, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %106 unwind label %117

.preheader.1:                                     ; preds = %106
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %22, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %87 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %22, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %88 unwind label %117

88:                                               ; preds = %.preheader.1
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %.not59.1 = icmp eq i32 %87, 0
  br i1 %.not59.1, label %.preheader.2, label %107

.preheader.2:                                     ; preds = %88
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %22, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %89 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %22, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %90 unwind label %117

90:                                               ; preds = %.preheader.2
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %.not59.2 = icmp eq i32 %89, 0
  br i1 %.not59.2, label %.preheader.3, label %107

.preheader.3:                                     ; preds = %90
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %22, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %91 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %22, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %92 unwind label %117

92:                                               ; preds = %.preheader.3
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %.not59.3 = icmp eq i32 %91, 0
  br i1 %.not59.3, label %.preheader.4, label %107

.preheader.4:                                     ; preds = %92
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %22, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %93 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %22, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %94 unwind label %117

94:                                               ; preds = %.preheader.4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %.not59.4 = icmp eq i32 %93, 0
  br i1 %.not59.4, label %.preheader.5, label %107

.preheader.5:                                     ; preds = %94
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %22, ptr noundef nonnull align 8 dereferenceable(20) %5, i64 20, i1 false), !tbaa.struct !5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %95 = invoke noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull byval(%struct.ActivationParamSpec) align 8 %22, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %96 unwind label %117

96:                                               ; preds = %.preheader.5
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %.not59.5 = icmp eq i32 %95, 0
  br i1 %.not59.5, label %97, label %107

97:                                               ; preds = %96
  %98 = invoke noundef double @_Z10ut_time_msv()
          to label %119 unwind label %133

99:                                               ; preds = %77
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %103

101:                                              ; preds = %83, %81, %79
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  br label %103

103:                                              ; preds = %101, %99
  %.pn = phi { ptr, i32 } [ %102, %101 ], [ %100, %99 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  br label %137

104:                                              ; preds = %84
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %137

106:                                              ; preds = %.preheader.preheader
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %.not59 = icmp eq i32 %86, 0
  br i1 %.not59, label %.preheader.1, label %107

107:                                              ; preds = %96, %94, %92, %90, %88, %106
  %.lcssa = phi i32 [ %86, %106 ], [ %87, %88 ], [ %89, %90 ], [ %91, %92 ], [ %93, %94 ], [ %95, %96 ]
  %108 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %109 = trunc i64 %108 to i32
  %110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %109)
  %111 = load ptr, ptr @stdout, align 8, !tbaa !11
  %112 = call i32 @fflush(ptr noundef %111)
  %113 = call ptr @ee2str(i32 noundef %.lcssa)
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %113)
  %115 = load ptr, ptr @stdout, align 8, !tbaa !11
  %116 = call i32 @fflush(ptr noundef %115)
  call void @exit(i32 noundef 1) #11
  unreachable

117:                                              ; preds = %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  br label %137

119:                                              ; preds = %97
  %120 = fsub double %98, %85
  %121 = fdiv double %120, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %25) #10
  %122 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %25, ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #10
  %123 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %6, ptr noundef nonnull %25) #10
  %124 = uitofp i32 %0 to double
  %125 = uitofp i32 %1 to double
  %126 = fmul double %124, %125
  %127 = uitofp i32 %2 to double
  %128 = fmul double %126, %127
  %129 = uitofp i32 %3 to double
  %130 = fmul double %128, %129
  %131 = fdiv double %121, 6.000000e+00
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %4, ptr noundef nonnull %24, double noundef %130, double noundef %131)
          to label %132 unwind label %135

132:                                              ; preds = %119
  call void @free(ptr noundef %28) #10
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %24) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #10
  ret i32 0

133:                                              ; preds = %97
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %137

135:                                              ; preds = %119
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %24) #10
  br label %137

137:                                              ; preds = %104, %117, %135, %133, %103, %75, %60, %58, %56
  %.pn55.pn = phi { ptr, i32 } [ %.pn, %103 ], [ %76, %75 ], [ %61, %60 ], [ %59, %58 ], [ %57, %56 ], [ %118, %117 ], [ %105, %104 ], [ %136, %135 ], [ %134, %133 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  br label %138

138:                                              ; preds = %137, %54
  %.pn55.pn.pn = phi { ptr, i32 } [ %.pn55.pn, %137 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #10
  resume { ptr, i32 } %.pn55.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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z10UNI_MEMSETPvim(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #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 #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #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) #3

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare noundef i32 @_Z10activation6Tensor19ActivationParamSpecS_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.ActivationParamSpec) align 8, ptr noundef, ptr noundef) local_unnamed_addr #5

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

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

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

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

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

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

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

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

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #5

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 4, !6, i64 4, i64 16, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"_ZTS14ActivationMode", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,SROAPass,SimplifyCFGPass