; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/descriptor/CornerDetecto_1933e037 (fff)

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

%class.ImageContent = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

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

; Function Attrs: nounwind
declare void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6harrisP12ImageContentS0_fff(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4) #6 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca float, align 4
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store float %2, ptr %8, align 4, !tbaa !9
  store float %3, ptr %9, align 4, !tbaa !9
  store float %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %32)
  store i32 %33, ptr %12, align 4, !tbaa !11
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %34)
  store i32 %35, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %36 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #9
  %37 = load i32, ptr %12, align 4, !tbaa !11
  %38 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %36, i32 noundef %37, i32 noundef %38)
          to label %39 unwind label %133

39:                                               ; preds = %5
  store ptr %36, ptr %20, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load ptr, ptr %20, align 8, !tbaa !5
  %42 = load float, ptr %8, align 4, !tbaa !9
  call void @_Z2dXP12ImageContentS0_f(ptr noundef %40, ptr noundef %41, float noundef %42)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %43 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #9
  %44 = load i32, ptr %12, align 4, !tbaa !11
  %45 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %43, i32 noundef %44, i32 noundef %45)
          to label %46 unwind label %137

46:                                               ; preds = %39
  store ptr %43, ptr %23, align 8, !tbaa !5
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load ptr, ptr %23, align 8, !tbaa !5
  %49 = load float, ptr %8, align 4, !tbaa !9
  call void @_Z2dYP12ImageContentS0_f(ptr noundef %47, ptr noundef %48, float noundef %49)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %50 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #9
  %51 = load i32, ptr %12, align 4, !tbaa !11
  %52 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %50, i32 noundef %51, i32 noundef %52)
          to label %53 unwind label %141

53:                                               ; preds = %46
  store ptr %50, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %54 = load float, ptr %8, align 4, !tbaa !9
  store float %54, ptr %27, align 4, !tbaa !9
  store i32 0, ptr %25, align 4, !tbaa !11
  br label %55

55:                                               ; preds = %146, %53
  %56 = load i32, ptr %25, align 4, !tbaa !11
  %57 = load i32, ptr %12, align 4, !tbaa !11
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %59, label %149

59:                                               ; preds = %55
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %60

60:                                               ; preds = %130, %59
  %61 = load i32, ptr %26, align 4, !tbaa !11
  %62 = load i32, ptr %11, align 4, !tbaa !11
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %64, label %145

64:                                               ; preds = %60
  %65 = load float, ptr %27, align 4, !tbaa !9
  %66 = load ptr, ptr %20, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.ImageContent, ptr %66, i32 0, i32 4
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = load i32, ptr %25, align 4, !tbaa !11
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds ptr, ptr %68, i64 %70
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = load i32, ptr %26, align 4, !tbaa !11
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %72, i64 %74
  %76 = load float, ptr %75, align 4, !tbaa !9
  %77 = fmul float %65, %76
  store float %77, ptr %18, align 4, !tbaa !9
  %78 = load float, ptr %27, align 4, !tbaa !9
  %79 = load ptr, ptr %23, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.ImageContent, ptr %79, i32 0, i32 4
  %81 = load ptr, ptr %80, align 8, !tbaa !13
  %82 = load i32, ptr %25, align 4, !tbaa !11
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds ptr, ptr %81, i64 %83
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = load i32, ptr %26, align 4, !tbaa !11
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds float, ptr %85, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !9
  %90 = fmul float %78, %89
  store float %90, ptr %19, align 4, !tbaa !9
  %91 = load float, ptr %18, align 4, !tbaa !9
  %92 = load float, ptr %18, align 4, !tbaa !9
  %93 = fmul float %91, %92
  %94 = load ptr, ptr %20, align 8, !tbaa !5
  %95 = getelementptr inbounds %class.ImageContent, ptr %94, i32 0, i32 4
  %96 = load ptr, ptr %95, align 8, !tbaa !13
  %97 = load i32, ptr %25, align 4, !tbaa !11
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds ptr, ptr %96, i64 %98
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  %101 = load i32, ptr %26, align 4, !tbaa !11
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds float, ptr %100, i64 %102
  store float %93, ptr %103, align 4, !tbaa !9
  %104 = load float, ptr %19, align 4, !tbaa !9
  %105 = load float, ptr %19, align 4, !tbaa !9
  %106 = fmul float %104, %105
  %107 = load ptr, ptr %23, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.ImageContent, ptr %107, i32 0, i32 4
  %109 = load ptr, ptr %108, align 8, !tbaa !13
  %110 = load i32, ptr %25, align 4, !tbaa !11
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = load i32, ptr %26, align 4, !tbaa !11
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds float, ptr %113, i64 %115
  store float %106, ptr %116, align 4, !tbaa !9
  %117 = load float, ptr %18, align 4, !tbaa !9
  %118 = load float, ptr %19, align 4, !tbaa !9
  %119 = fmul float %117, %118
  %120 = load ptr, ptr %24, align 8, !tbaa !5
  %121 = getelementptr inbounds %class.ImageContent, ptr %120, i32 0, i32 4
  %122 = load ptr, ptr %121, align 8, !tbaa !13
  %123 = load i32, ptr %25, align 4, !tbaa !11
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds ptr, ptr %122, i64 %124
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = load i32, ptr %26, align 4, !tbaa !11
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds float, ptr %126, i64 %128
  store float %119, ptr %129, align 4, !tbaa !9
  br label %130

130:                                              ; preds = %64
  %131 = load i32, ptr %26, align 4, !tbaa !11
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %26, align 4, !tbaa !11
  br label %60, !llvm.loop !15

133:                                              ; preds = %5
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %21, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %22, align 4
  call void @_ZdlPvm(ptr noundef %36, i64 noundef 80) #10
  br label %290

137:                                              ; preds = %39
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %21, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %22, align 4
  call void @_ZdlPvm(ptr noundef %43, i64 noundef 80) #10
  br label %289

141:                                              ; preds = %46
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %21, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %22, align 4
  call void @_ZdlPvm(ptr noundef %50, i64 noundef 80) #10
  br label %288

145:                                              ; preds = %60
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %25, align 4, !tbaa !11
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %25, align 4, !tbaa !11
  br label %55, !llvm.loop !17

149:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %150 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #9
  %151 = load i32, ptr %12, align 4, !tbaa !11
  %152 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %150, i32 noundef %151, i32 noundef %152)
          to label %153 unwind label %193

153:                                              ; preds = %149
  store ptr %150, ptr %28, align 8, !tbaa !5
  %154 = load ptr, ptr %20, align 8, !tbaa !5
  %155 = load ptr, ptr %28, align 8, !tbaa !5
  %156 = load float, ptr %9, align 4, !tbaa !9
  call void @_Z6smoothP12ImageContentS0_f(ptr noundef %154, ptr noundef %155, float noundef %156)
  %157 = load ptr, ptr %20, align 8, !tbaa !5
  %158 = icmp eq ptr %157, null
  br i1 %158, label %160, label %159

159:                                              ; preds = %153
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %157) #8
  call void @_ZdlPvm(ptr noundef %157, i64 noundef 80) #10
  br label %160

160:                                              ; preds = %159, %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %161 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #9
  %162 = load i32, ptr %12, align 4, !tbaa !11
  %163 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %161, i32 noundef %162, i32 noundef %163)
          to label %164 unwind label %197

164:                                              ; preds = %160
  store ptr %161, ptr %29, align 8, !tbaa !5
  %165 = load ptr, ptr %23, align 8, !tbaa !5
  %166 = load ptr, ptr %29, align 8, !tbaa !5
  %167 = load float, ptr %9, align 4, !tbaa !9
  call void @_Z6smoothP12ImageContentS0_f(ptr noundef %165, ptr noundef %166, float noundef %167)
  %168 = load ptr, ptr %23, align 8, !tbaa !5
  %169 = icmp eq ptr %168, null
  br i1 %169, label %171, label %170

170:                                              ; preds = %164
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %168) #8
  call void @_ZdlPvm(ptr noundef %168, i64 noundef 80) #10
  br label %171

171:                                              ; preds = %170, %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %172 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #9
  %173 = load i32, ptr %12, align 4, !tbaa !11
  %174 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %172, i32 noundef %173, i32 noundef %174)
          to label %175 unwind label %201

175:                                              ; preds = %171
  store ptr %172, ptr %30, align 8, !tbaa !5
  %176 = load ptr, ptr %24, align 8, !tbaa !5
  %177 = load ptr, ptr %30, align 8, !tbaa !5
  %178 = load float, ptr %9, align 4, !tbaa !9
  call void @_Z6smoothP12ImageContentS0_f(ptr noundef %176, ptr noundef %177, float noundef %178)
  %179 = load ptr, ptr %24, align 8, !tbaa !5
  %180 = icmp eq ptr %179, null
  br i1 %180, label %182, label %181

181:                                              ; preds = %175
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %179) #8
  call void @_ZdlPvm(ptr noundef %179, i64 noundef 80) #10
  br label %182

182:                                              ; preds = %181, %175
  store i32 0, ptr %25, align 4, !tbaa !11
  br label %183

183:                                              ; preds = %270, %182
  %184 = load i32, ptr %25, align 4, !tbaa !11
  %185 = load i32, ptr %12, align 4, !tbaa !11
  %186 = icmp slt i32 %184, %185
  br i1 %186, label %187, label %273

187:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !11
  br label %188

188:                                              ; preds = %266, %187
  %189 = load i32, ptr %31, align 4, !tbaa !11
  %190 = load i32, ptr %11, align 4, !tbaa !11
  %191 = icmp slt i32 %189, %190
  br i1 %191, label %205, label %192

192:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %269

193:                                              ; preds = %149
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %21, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %22, align 4
  call void @_ZdlPvm(ptr noundef %150, i64 noundef 80) #10
  br label %287

197:                                              ; preds = %160
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %21, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %22, align 4
  call void @_ZdlPvm(ptr noundef %161, i64 noundef 80) #10
  br label %286

201:                                              ; preds = %171
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %21, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %22, align 4
  call void @_ZdlPvm(ptr noundef %172, i64 noundef 80) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %286

205:                                              ; preds = %188
  %206 = load ptr, ptr %28, align 8, !tbaa !5
  %207 = getelementptr inbounds %class.ImageContent, ptr %206, i32 0, i32 4
  %208 = load ptr, ptr %207, align 8, !tbaa !13
  %209 = load i32, ptr %25, align 4, !tbaa !11
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds ptr, ptr %208, i64 %210
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = load i32, ptr %31, align 4, !tbaa !11
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds float, ptr %212, i64 %214
  %216 = load float, ptr %215, align 4, !tbaa !9
  store float %216, ptr %13, align 4, !tbaa !9
  %217 = load ptr, ptr %29, align 8, !tbaa !5
  %218 = getelementptr inbounds %class.ImageContent, ptr %217, i32 0, i32 4
  %219 = load ptr, ptr %218, align 8, !tbaa !13
  %220 = load i32, ptr %25, align 4, !tbaa !11
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds ptr, ptr %219, i64 %221
  %223 = load ptr, ptr %222, align 8, !tbaa !5
  %224 = load i32, ptr %31, align 4, !tbaa !11
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds float, ptr %223, i64 %225
  %227 = load float, ptr %226, align 4, !tbaa !9
  store float %227, ptr %14, align 4, !tbaa !9
  %228 = load ptr, ptr %30, align 8, !tbaa !5
  %229 = getelementptr inbounds %class.ImageContent, ptr %228, i32 0, i32 4
  %230 = load ptr, ptr %229, align 8, !tbaa !13
  %231 = load i32, ptr %25, align 4, !tbaa !11
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds ptr, ptr %230, i64 %232
  %234 = load ptr, ptr %233, align 8, !tbaa !5
  %235 = load i32, ptr %31, align 4, !tbaa !11
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds float, ptr %234, i64 %236
  %238 = load float, ptr %237, align 4, !tbaa !9
  store float %238, ptr %15, align 4, !tbaa !9
  %239 = load float, ptr %13, align 4, !tbaa !9
  %240 = load float, ptr %14, align 4, !tbaa !9
  %241 = load float, ptr %15, align 4, !tbaa !9
  %242 = load float, ptr %15, align 4, !tbaa !9
  %243 = fmul float %241, %242
  %244 = fneg float %243
  %245 = call float @llvm.fmuladd.f32(float %239, float %240, float %244)
  store float %245, ptr %16, align 4, !tbaa !9
  %246 = load float, ptr %13, align 4, !tbaa !9
  %247 = load float, ptr %14, align 4, !tbaa !9
  %248 = fadd float %246, %247
  store float %248, ptr %17, align 4, !tbaa !9
  %249 = load float, ptr %16, align 4, !tbaa !9
  %250 = load float, ptr %10, align 4, !tbaa !9
  %251 = load float, ptr %17, align 4, !tbaa !9
  %252 = load float, ptr %17, align 4, !tbaa !9
  %253 = fmul float %251, %252
  %254 = fneg float %250
  %255 = call float @llvm.fmuladd.f32(float %254, float %253, float %249)
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = getelementptr inbounds %class.ImageContent, ptr %256, i32 0, i32 4
  %258 = load ptr, ptr %257, align 8, !tbaa !13
  %259 = load i32, ptr %25, align 4, !tbaa !11
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds ptr, ptr %258, i64 %260
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  %263 = load i32, ptr %31, align 4, !tbaa !11
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds float, ptr %262, i64 %264
  store float %255, ptr %265, align 4, !tbaa !9
  br label %266

266:                                              ; preds = %205
  %267 = load i32, ptr %31, align 4, !tbaa !11
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %31, align 4, !tbaa !11
  br label %188, !llvm.loop !18

269:                                              ; preds = %192
  br label %270

270:                                              ; preds = %269
  %271 = load i32, ptr %25, align 4, !tbaa !11
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %25, align 4, !tbaa !11
  br label %183, !llvm.loop !19

273:                                              ; preds = %183
  %274 = load ptr, ptr %28, align 8, !tbaa !5
  %275 = icmp eq ptr %274, null
  br i1 %275, label %277, label %276

276:                                              ; preds = %273
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %274) #8
  call void @_ZdlPvm(ptr noundef %274, i64 noundef 80) #10
  br label %277

277:                                              ; preds = %276, %273
  %278 = load ptr, ptr %29, align 8, !tbaa !5
  %279 = icmp eq ptr %278, null
  br i1 %279, label %281, label %280

280:                                              ; preds = %277
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %278) #8
  call void @_ZdlPvm(ptr noundef %278, i64 noundef 80) #10
  br label %281

281:                                              ; preds = %280, %277
  %282 = load ptr, ptr %30, align 8, !tbaa !5
  %283 = icmp eq ptr %282, null
  br i1 %283, label %285, label %284

284:                                              ; preds = %281
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %282) #8
  call void @_ZdlPvm(ptr noundef %282, i64 noundef 80) #10
  br label %285

285:                                              ; preds = %284, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  ret void

286:                                              ; preds = %201, %197
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %287

287:                                              ; preds = %286, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %288

288:                                              ; preds = %287, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %289

289:                                              ; preds = %288, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %290

290:                                              ; preds = %289, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %291

291:                                              ; preds = %290
  %292 = load ptr, ptr %21, align 8
  %293 = load i32, ptr %22, align 4
  %294 = insertvalue { ptr, i32 } poison, ptr %292, 0
  %295 = insertvalue { ptr, i32 } %294, i32 %293, 1
  resume { ptr, i32 } %295
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef, i32 noundef) unnamed_addr #6 align 2

declare void @_Z2dXP12ImageContentS0_f(ptr noundef, ptr noundef, float noundef) #7

declare void @_Z2dYP12ImageContentS0_f(ptr noundef, ptr noundef, float noundef) #7

declare void @_Z6smoothP12ImageContentS0_f(ptr noundef, ptr noundef, float noundef) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nobuiltin 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #7 = { "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 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"_ZTS12ImageContent", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}


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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6harrisP12ImageContentS0_fff(ptr noundef nonnull %0, ptr nocapture noundef readonly %1, float noundef %2, float noundef %3, float noundef %4) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %6 = tail call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %7 = tail call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %8 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #8
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %8, i32 noundef %6, i32 noundef %7)
          to label %9 unwind label %47

9:                                                ; preds = %5
  tail call void @_Z2dXP12ImageContentS0_f(ptr noundef nonnull %0, ptr noundef nonnull %8, float noundef %2)
  %10 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #8
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %10, i32 noundef %6, i32 noundef %7)
          to label %11 unwind label %49

11:                                               ; preds = %9
  tail call void @_Z2dYP12ImageContentS0_f(ptr noundef nonnull %0, ptr noundef nonnull %10, float noundef %2)
  %12 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #8
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %12, i32 noundef %6, i32 noundef %7)
          to label %.preheader110 unwind label %51

.preheader110:                                    ; preds = %11
  %13 = icmp sgt i32 %6, 0
  %14 = icmp sgt i32 %7, 0
  %or.cond = and i1 %13, %14
  br i1 %or.cond, label %.preheader109.lr.ph.split.us, label %._crit_edge113

.preheader109.lr.ph.split.us:                     ; preds = %.preheader110
  %15 = getelementptr inbounds i8, ptr %12, i64 16
  %16 = getelementptr inbounds i8, ptr %10, i64 16
  %17 = getelementptr inbounds i8, ptr %8, i64 16
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = load ptr, ptr %16, align 8, !tbaa !5
  %20 = load ptr, ptr %15, align 8, !tbaa !5
  %wide.trip.count124 = zext nneg i32 %6 to i64
  %wide.trip.count = zext nneg i32 %7 to i64
  %21 = shl nuw nsw i64 %wide.trip.count, 2
  %min.iters.check = icmp ult i32 %7, 4
  %n.vec = and i64 %wide.trip.count, 2147483644
  %broadcast.splatinsert = insertelement <4 x float> poison, float %2, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br label %.preheader109.us

.preheader109.us:                                 ; preds = %._crit_edge.us, %.preheader109.lr.ph.split.us
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %._crit_edge.us ], [ 0, %.preheader109.lr.ph.split.us ]
  %22 = getelementptr inbounds ptr, ptr %18, i64 %indvars.iv121
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds ptr, ptr %19, i64 %indvars.iv121
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv121
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.preheader109.us
  %scevgep = getelementptr i8, ptr %23, i64 %21
  %scevgep136 = getelementptr i8, ptr %25, i64 %21
  %scevgep137 = getelementptr i8, ptr %27, i64 %21
  %bound0 = icmp ult ptr %23, %scevgep136
  %bound1 = icmp ult ptr %25, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound0138 = icmp ult ptr %23, %scevgep137
  %bound1139 = icmp ult ptr %27, %scevgep
  %found.conflict140 = and i1 %bound0138, %bound1139
  %conflict.rdx = or i1 %found.conflict, %found.conflict140
  %bound0141 = icmp ult ptr %25, %scevgep137
  %bound1142 = icmp ult ptr %27, %scevgep136
  %found.conflict143 = and i1 %bound0141, %bound1142
  %conflict.rdx144 = or i1 %conflict.rdx, %found.conflict143
  br i1 %conflict.rdx144, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %vector.memcheck, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.memcheck ]
  %28 = getelementptr inbounds float, ptr %23, i64 %index
  %wide.load = load <4 x float>, ptr %28, align 4, !tbaa !12, !alias.scope !14, !noalias !17
  %29 = fmul <4 x float> %wide.load, %broadcast.splat
  %30 = getelementptr inbounds float, ptr %25, i64 %index
  %wide.load145 = load <4 x float>, ptr %30, align 4, !tbaa !12, !alias.scope !20, !noalias !21
  %31 = fmul <4 x float> %wide.load145, %broadcast.splat
  %32 = fmul <4 x float> %29, %29
  store <4 x float> %32, ptr %28, align 4, !tbaa !12, !alias.scope !14, !noalias !17
  %33 = fmul <4 x float> %31, %31
  store <4 x float> %33, ptr %30, align 4, !tbaa !12, !alias.scope !20, !noalias !21
  %34 = fmul <4 x float> %29, %31
  %35 = getelementptr inbounds float, ptr %27, i64 %index
  store <4 x float> %34, ptr %35, align 4, !tbaa !12, !alias.scope !21
  %index.next = add nuw i64 %index, 4
  %36 = icmp eq i64 %index.next, %n.vec
  br i1 %36, label %middle.block, label %vector.body, !llvm.loop !22

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader109.us
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader109.us ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %37 = getelementptr inbounds float, ptr %23, i64 %indvars.iv
  %38 = load float, ptr %37, align 4, !tbaa !12
  %39 = fmul float %38, %2
  %40 = getelementptr inbounds float, ptr %25, i64 %indvars.iv
  %41 = load float, ptr %40, align 4, !tbaa !12
  %42 = fmul float %41, %2
  %43 = fmul float %39, %39
  store float %43, ptr %37, align 4, !tbaa !12
  %44 = fmul float %42, %42
  store float %44, ptr %40, align 4, !tbaa !12
  %45 = fmul float %39, %42
  %46 = getelementptr inbounds float, ptr %27, i64 %indvars.iv
  store float %45, ptr %46, align 4, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.us, label %scalar.ph, !llvm.loop !26

._crit_edge.us:                                   ; preds = %scalar.ph, %middle.block
  %indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
  %exitcond125.not = icmp eq i64 %indvars.iv.next122, %wide.trip.count124
  br i1 %exitcond125.not, label %._crit_edge113, label %.preheader109.us, !llvm.loop !27

47:                                               ; preds = %5
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %114

49:                                               ; preds = %9
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %114

51:                                               ; preds = %11
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %114

._crit_edge113:                                   ; preds = %._crit_edge.us, %.preheader110
  %53 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #8
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %53, i32 noundef %6, i32 noundef %7)
          to label %54 unwind label %108

54:                                               ; preds = %._crit_edge113
  tail call void @_Z6smoothP12ImageContentS0_f(ptr noundef nonnull %8, ptr noundef nonnull %53, float noundef %3)
  tail call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #9
  tail call void @_ZdlPvm(ptr noundef nonnull %8, i64 noundef 80) #10
  %55 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #8
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %55, i32 noundef %6, i32 noundef %7)
          to label %56 unwind label %110

56:                                               ; preds = %54
  tail call void @_Z6smoothP12ImageContentS0_f(ptr noundef nonnull %10, ptr noundef nonnull %55, float noundef %3)
  tail call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %10) #9
  tail call void @_ZdlPvm(ptr noundef nonnull %10, i64 noundef 80) #10
  %57 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #8
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %57, i32 noundef %6, i32 noundef %7)
          to label %58 unwind label %112

58:                                               ; preds = %56
  tail call void @_Z6smoothP12ImageContentS0_f(ptr noundef nonnull %12, ptr noundef nonnull %57, float noundef %3)
  tail call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #9
  tail call void @_ZdlPvm(ptr noundef nonnull %12, i64 noundef 80) #10
  br i1 %13, label %.preheader.lr.ph, label %._crit_edge116

.preheader.lr.ph:                                 ; preds = %58
  %59 = icmp sgt i32 %7, 0
  %60 = fneg float %4
  br i1 %59, label %.preheader.lr.ph.split.us, label %._crit_edge116

.preheader.lr.ph.split.us:                        ; preds = %.preheader.lr.ph
  %61 = getelementptr inbounds i8, ptr %1, i64 16
  %62 = getelementptr inbounds i8, ptr %57, i64 16
  %63 = getelementptr inbounds i8, ptr %55, i64 16
  %64 = getelementptr inbounds i8, ptr %53, i64 16
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = load ptr, ptr %63, align 8, !tbaa !5
  %67 = load ptr, ptr %62, align 8, !tbaa !5
  %68 = load ptr, ptr %61, align 8, !tbaa !5
  %wide.trip.count134 = zext nneg i32 %6 to i64
  %wide.trip.count129 = zext nneg i32 %7 to i64
  %min.iters.check153 = icmp ult i32 %7, 4
  %n.vec156 = and i64 %wide.trip.count129, 2147483644
  %broadcast.splatinsert163 = insertelement <4 x float> poison, float %60, i64 0
  %broadcast.splat164 = shufflevector <4 x float> %broadcast.splatinsert163, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n166 = icmp eq i64 %n.vec156, %wide.trip.count129
  br label %.preheader.us

.preheader.us:                                    ; preds = %._crit_edge.us117, %.preheader.lr.ph.split.us
  %indvars.iv131 = phi i64 [ %indvars.iv.next132, %._crit_edge.us117 ], [ 0, %.preheader.lr.ph.split.us ]
  %69 = getelementptr inbounds ptr, ptr %65, i64 %indvars.iv131
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds ptr, ptr %66, i64 %indvars.iv131
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = getelementptr inbounds ptr, ptr %67, i64 %indvars.iv131
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv131
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  br i1 %min.iters.check153, label %scalar.ph152.preheader, label %vector.memcheck146

vector.memcheck146:                               ; preds = %.preheader.us
  %77 = ptrtoint ptr %76 to i64
  %78 = ptrtoint ptr %74 to i64
  %79 = ptrtoint ptr %72 to i64
  %80 = ptrtoint ptr %70 to i64
  %81 = sub i64 %77, %80
  %diff.check = icmp ult i64 %81, 16
  %82 = sub i64 %77, %79
  %diff.check147 = icmp ult i64 %82, 16
  %conflict.rdx148 = or i1 %diff.check, %diff.check147
  %83 = sub i64 %77, %78
  %diff.check149 = icmp ult i64 %83, 16
  %conflict.rdx150 = or i1 %conflict.rdx148, %diff.check149
  br i1 %conflict.rdx150, label %scalar.ph152.preheader, label %vector.body158

vector.body158:                                   ; preds = %vector.memcheck146, %vector.body158
  %index159 = phi i64 [ %index.next165, %vector.body158 ], [ 0, %vector.memcheck146 ]
  %84 = getelementptr inbounds float, ptr %70, i64 %index159
  %wide.load160 = load <4 x float>, ptr %84, align 4, !tbaa !12
  %85 = getelementptr inbounds float, ptr %72, i64 %index159
  %wide.load161 = load <4 x float>, ptr %85, align 4, !tbaa !12
  %86 = getelementptr inbounds float, ptr %74, i64 %index159
  %wide.load162 = load <4 x float>, ptr %86, align 4, !tbaa !12
  %87 = fneg <4 x float> %wide.load162
  %88 = fmul <4 x float> %wide.load162, %87
  %89 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load160, <4 x float> %wide.load161, <4 x float> %88)
  %90 = fadd <4 x float> %wide.load160, %wide.load161
  %91 = fmul <4 x float> %90, %90
  %92 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat164, <4 x float> %91, <4 x float> %89)
  %93 = getelementptr inbounds float, ptr %76, i64 %index159
  store <4 x float> %92, ptr %93, align 4, !tbaa !12
  %index.next165 = add nuw i64 %index159, 4
  %94 = icmp eq i64 %index.next165, %n.vec156
  br i1 %94, label %middle.block151, label %vector.body158, !llvm.loop !28

middle.block151:                                  ; preds = %vector.body158
  br i1 %cmp.n166, label %._crit_edge.us117, label %scalar.ph152.preheader

scalar.ph152.preheader:                           ; preds = %middle.block151, %vector.memcheck146, %.preheader.us
  %indvars.iv126.ph = phi i64 [ 0, %vector.memcheck146 ], [ 0, %.preheader.us ], [ %n.vec156, %middle.block151 ]
  br label %scalar.ph152

scalar.ph152:                                     ; preds = %scalar.ph152.preheader, %scalar.ph152
  %indvars.iv126 = phi i64 [ %indvars.iv.next127, %scalar.ph152 ], [ %indvars.iv126.ph, %scalar.ph152.preheader ]
  %95 = getelementptr inbounds float, ptr %70, i64 %indvars.iv126
  %96 = load float, ptr %95, align 4, !tbaa !12
  %97 = getelementptr inbounds float, ptr %72, i64 %indvars.iv126
  %98 = load float, ptr %97, align 4, !tbaa !12
  %99 = getelementptr inbounds float, ptr %74, i64 %indvars.iv126
  %100 = load float, ptr %99, align 4, !tbaa !12
  %101 = fneg float %100
  %102 = fmul float %100, %101
  %103 = tail call float @llvm.fmuladd.f32(float %96, float %98, float %102)
  %104 = fadd float %96, %98
  %105 = fmul float %104, %104
  %106 = tail call float @llvm.fmuladd.f32(float %60, float %105, float %103)
  %107 = getelementptr inbounds float, ptr %76, i64 %indvars.iv126
  store float %106, ptr %107, align 4, !tbaa !12
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %exitcond130.not = icmp eq i64 %indvars.iv.next127, %wide.trip.count129
  br i1 %exitcond130.not, label %._crit_edge.us117, label %scalar.ph152, !llvm.loop !29

._crit_edge.us117:                                ; preds = %scalar.ph152, %middle.block151
  %indvars.iv.next132 = add nuw nsw i64 %indvars.iv131, 1
  %exitcond135.not = icmp eq i64 %indvars.iv.next132, %wide.trip.count134
  br i1 %exitcond135.not, label %._crit_edge116, label %.preheader.us, !llvm.loop !30

108:                                              ; preds = %._crit_edge113
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %114

110:                                              ; preds = %54
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %56
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %114

._crit_edge116:                                   ; preds = %._crit_edge.us117, %.preheader.lr.ph, %58
  tail call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %53) #9
  tail call void @_ZdlPvm(ptr noundef nonnull %53, i64 noundef 80) #10
  tail call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %55) #9
  tail call void @_ZdlPvm(ptr noundef nonnull %55, i64 noundef 80) #10
  tail call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %57) #9
  tail call void @_ZdlPvm(ptr noundef nonnull %57, i64 noundef 80) #10
  ret void

114:                                              ; preds = %49, %108, %112, %110, %51, %47
  %.sink = phi ptr [ %10, %49 ], [ %53, %108 ], [ %57, %112 ], [ %55, %110 ], [ %12, %51 ], [ %8, %47 ]
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %50, %49 ], [ %109, %108 ], [ %113, %112 ], [ %111, %110 ], [ %52, %51 ], [ %48, %47 ]
  tail call void @_ZdlPvm(ptr noundef nonnull %.sink, i64 noundef 80) #10
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef, i32 noundef) unnamed_addr #5 align 2

declare void @_Z2dXP12ImageContentS0_f(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #6

declare void @_Z2dYP12ImageContentS0_f(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #6

declare void @_Z6smoothP12ImageContentS0_f(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #7

attributes #0 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { nobuiltin 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 = { 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { nounwind }
attributes #10 = { builtin 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, !10, i64 16}
!6 = !{!"_ZTS12ImageContent", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}
!14 = !{!15}
!15 = distinct !{!15, !16}
!16 = distinct !{!16, !"LVerDomain"}
!17 = !{!18, !19}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = !{!18}
!21 = !{!19}
!22 = distinct !{!22, !23, !24, !25}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!"llvm.loop.isvectorized", i32 1}
!25 = !{!"llvm.loop.unroll.runtime.disable"}
!26 = distinct !{!26, !23, !24}
!27 = distinct !{!27, !23}
!28 = distinct !{!28, !23, !24, !25}
!29 = distinct !{!29, !23, !24}
!30 = distinct !{!30, !23}


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