; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/ImageContent/ImageConten_ab34e44d (ZN12ImageContent7RGB2xyYEv)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.ImageContent = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.27 = external hidden unnamed_addr constant [34 x i8], align 1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12ImageContent7RGB2xyYEv(ptr noundef nonnull align 8 dereferenceable(80) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8
  %10 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 3
  %11 = load i32, ptr %10, align 4, !tbaa !9
  %12 = icmp eq i32 %11, 8
  br i1 %12, label %13, label %20

13:                                               ; preds = %1
  %14 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 3
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = icmp eq i32 %15, 12
  br i1 %16, label %17, label %20

17:                                               ; preds = %13
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.27)
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %216

20:                                               ; preds = %13, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !12
  br label %21

21:                                               ; preds = %61, %20
  %22 = load i32, ptr %3, align 4, !tbaa !12
  %23 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 2
  %24 = load i32, ptr %23, align 8, !tbaa !13
  %25 = icmp ult i32 %22, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %64

27:                                               ; preds = %21
  %28 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 5
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  %30 = getelementptr inbounds ptr, ptr %29, i64 0
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  %32 = load i32, ptr %3, align 4, !tbaa !12
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds float, ptr %31, i64 %33
  %35 = load float, ptr %34, align 4, !tbaa !15
  %36 = fpext float %35 to double
  %37 = fdiv double %36, 2.550000e+02
  %38 = fptrunc double %37 to float
  store float %38, ptr %34, align 4, !tbaa !15
  %39 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 6
  %40 = load ptr, ptr %39, align 8, !tbaa !17
  %41 = getelementptr inbounds ptr, ptr %40, i64 0
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  %43 = load i32, ptr %3, align 4, !tbaa !12
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds float, ptr %42, i64 %44
  %46 = load float, ptr %45, align 4, !tbaa !15
  %47 = fpext float %46 to double
  %48 = fdiv double %47, 2.550000e+02
  %49 = fptrunc double %48 to float
  store float %49, ptr %45, align 4, !tbaa !15
  %50 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 7
  %51 = load ptr, ptr %50, align 8, !tbaa !18
  %52 = getelementptr inbounds ptr, ptr %51, i64 0
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = load i32, ptr %3, align 4, !tbaa !12
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds float, ptr %53, i64 %55
  %57 = load float, ptr %56, align 4, !tbaa !15
  %58 = fpext float %57 to double
  %59 = fdiv double %58, 2.550000e+02
  %60 = fptrunc double %59 to float
  store float %60, ptr %56, align 4, !tbaa !15
  br label %61

61:                                               ; preds = %27
  %62 = load i32, ptr %3, align 4, !tbaa !12
  %63 = add i32 %62, 1
  store i32 %63, ptr %3, align 4, !tbaa !12
  br label %21, !llvm.loop !19

64:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !12
  br label %65

65:                                               ; preds = %212, %64
  %66 = load i32, ptr %8, align 4, !tbaa !12
  %67 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 2
  %68 = load i32, ptr %67, align 8, !tbaa !13
  %69 = icmp ult i32 %66, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %215

71:                                               ; preds = %65
  %72 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 5
  %73 = load ptr, ptr %72, align 8, !tbaa !14
  %74 = getelementptr inbounds ptr, ptr %73, i64 0
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = load i32, ptr %8, align 4, !tbaa !12
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %75, i64 %77
  %79 = load float, ptr %78, align 4, !tbaa !15
  store float %79, ptr %4, align 4, !tbaa !15
  %80 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 6
  %81 = load ptr, ptr %80, align 8, !tbaa !17
  %82 = getelementptr inbounds ptr, ptr %81, i64 0
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = load i32, ptr %8, align 4, !tbaa !12
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds float, ptr %83, i64 %85
  %87 = load float, ptr %86, align 4, !tbaa !15
  store float %87, ptr %5, align 4, !tbaa !15
  %88 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 7
  %89 = load ptr, ptr %88, align 8, !tbaa !18
  %90 = getelementptr inbounds ptr, ptr %89, i64 0
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = load i32, ptr %8, align 4, !tbaa !12
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds float, ptr %91, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !15
  store float %95, ptr %6, align 4, !tbaa !15
  %96 = load float, ptr %4, align 4, !tbaa !15
  %97 = fpext float %96 to double
  %98 = load float, ptr %5, align 4, !tbaa !15
  %99 = fpext float %98 to double
  %100 = fmul double 3.575800e-01, %99
  %101 = call double @llvm.fmuladd.f64(double 4.124530e-01, double %97, double %100)
  %102 = load float, ptr %6, align 4, !tbaa !15
  %103 = fpext float %102 to double
  %104 = call double @llvm.fmuladd.f64(double 1.804230e-01, double %103, double %101)
  %105 = fptrunc double %104 to float
  %106 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 5
  %107 = load ptr, ptr %106, align 8, !tbaa !14
  %108 = getelementptr inbounds ptr, ptr %107, i64 0
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = load i32, ptr %8, align 4, !tbaa !12
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds float, ptr %109, i64 %111
  store float %105, ptr %112, align 4, !tbaa !15
  %113 = load float, ptr %4, align 4, !tbaa !15
  %114 = fpext float %113 to double
  %115 = load float, ptr %5, align 4, !tbaa !15
  %116 = fpext float %115 to double
  %117 = fmul double 7.151600e-01, %116
  %118 = call double @llvm.fmuladd.f64(double 2.126710e-01, double %114, double %117)
  %119 = load float, ptr %6, align 4, !tbaa !15
  %120 = fpext float %119 to double
  %121 = call double @llvm.fmuladd.f64(double 0x3FB279AAE6C8F755, double %120, double %118)
  %122 = fptrunc double %121 to float
  %123 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 6
  %124 = load ptr, ptr %123, align 8, !tbaa !17
  %125 = getelementptr inbounds ptr, ptr %124, i64 0
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = load i32, ptr %8, align 4, !tbaa !12
  %128 = zext i32 %127 to i64
  %129 = getelementptr inbounds float, ptr %126, i64 %128
  store float %122, ptr %129, align 4, !tbaa !15
  %130 = load float, ptr %4, align 4, !tbaa !15
  %131 = fpext float %130 to double
  %132 = load float, ptr %5, align 4, !tbaa !15
  %133 = fpext float %132 to double
  %134 = fmul double 1.191930e-01, %133
  %135 = call double @llvm.fmuladd.f64(double 1.933400e-02, double %131, double %134)
  %136 = load float, ptr %6, align 4, !tbaa !15
  %137 = fpext float %136 to double
  %138 = call double @llvm.fmuladd.f64(double 9.502270e-01, double %137, double %135)
  %139 = fptrunc double %138 to float
  %140 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 7
  %141 = load ptr, ptr %140, align 8, !tbaa !18
  %142 = getelementptr inbounds ptr, ptr %141, i64 0
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = load i32, ptr %8, align 4, !tbaa !12
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds float, ptr %143, i64 %145
  store float %139, ptr %146, align 4, !tbaa !15
  %147 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 5
  %148 = load ptr, ptr %147, align 8, !tbaa !14
  %149 = getelementptr inbounds ptr, ptr %148, i64 0
  %150 = load ptr, ptr %149, align 8, !tbaa !5
  %151 = load i32, ptr %8, align 4, !tbaa !12
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds float, ptr %150, i64 %152
  %154 = load float, ptr %153, align 4, !tbaa !15
  %155 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 6
  %156 = load ptr, ptr %155, align 8, !tbaa !17
  %157 = getelementptr inbounds ptr, ptr %156, i64 0
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  %159 = load i32, ptr %8, align 4, !tbaa !12
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds float, ptr %158, i64 %160
  %162 = load float, ptr %161, align 4, !tbaa !15
  %163 = fadd float %154, %162
  %164 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 7
  %165 = load ptr, ptr %164, align 8, !tbaa !18
  %166 = getelementptr inbounds ptr, ptr %165, i64 0
  %167 = load ptr, ptr %166, align 8, !tbaa !5
  %168 = load i32, ptr %8, align 4, !tbaa !12
  %169 = zext i32 %168 to i64
  %170 = getelementptr inbounds float, ptr %167, i64 %169
  %171 = load float, ptr %170, align 4, !tbaa !15
  %172 = fadd float %163, %171
  store float %172, ptr %7, align 4, !tbaa !15
  %173 = load float, ptr %7, align 4, !tbaa !15
  %174 = fcmp une float %173, 0.000000e+00
  br i1 %174, label %175, label %211

175:                                              ; preds = %71
  %176 = load float, ptr %7, align 4, !tbaa !15
  %177 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 5
  %178 = load ptr, ptr %177, align 8, !tbaa !14
  %179 = getelementptr inbounds ptr, ptr %178, i64 0
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = load i32, ptr %8, align 4, !tbaa !12
  %182 = zext i32 %181 to i64
  %183 = getelementptr inbounds float, ptr %180, i64 %182
  %184 = load float, ptr %183, align 4, !tbaa !15
  %185 = fdiv float %184, %176
  store float %185, ptr %183, align 4, !tbaa !15
  %186 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 6
  %187 = load ptr, ptr %186, align 8, !tbaa !17
  %188 = getelementptr inbounds ptr, ptr %187, i64 0
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = load i32, ptr %8, align 4, !tbaa !12
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds float, ptr %189, i64 %191
  %193 = load float, ptr %192, align 4, !tbaa !15
  %194 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 6
  %195 = load ptr, ptr %194, align 8, !tbaa !17
  %196 = getelementptr inbounds ptr, ptr %195, i64 0
  %197 = load ptr, ptr %196, align 8, !tbaa !5
  %198 = load i32, ptr %8, align 4, !tbaa !12
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds float, ptr %197, i64 %199
  store float %193, ptr %200, align 4, !tbaa !15
  %201 = load float, ptr %7, align 4, !tbaa !15
  %202 = getelementptr inbounds %class.ImageContent, ptr %9, i32 0, i32 7
  %203 = load ptr, ptr %202, align 8, !tbaa !18
  %204 = getelementptr inbounds ptr, ptr %203, i64 0
  %205 = load ptr, ptr %204, align 8, !tbaa !5
  %206 = load i32, ptr %8, align 4, !tbaa !12
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds float, ptr %205, i64 %207
  %209 = load float, ptr %208, align 4, !tbaa !15
  %210 = fdiv float %209, %201
  store float %210, ptr %208, align 4, !tbaa !15
  br label %211

211:                                              ; preds = %175, %71
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %8, align 4, !tbaa !12
  %214 = add i32 %213, 1
  store i32 %214, ptr %8, align 4, !tbaa !12
  br label %65, !llvm.loop !21

215:                                              ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %216

216:                                              ; preds = %215, %17
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { 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 #4 = { 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, !11, i64 12}
!10 = !{!"_ZTS12ImageContent", !11, i64 0, !11, i64 4, !11, i64 8, !11, 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}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !6, i64 24}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!10, !6, i64 32}
!18 = !{!10, !6, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


; 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: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @_ZN12ImageContent7RGB2xyYEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(80) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load ptr, ptr %4, align 8, !tbaa !11
  %6 = load ptr, ptr %5, align 8, !tbaa !12
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = load ptr, ptr %7, align 8, !tbaa !13
  %9 = load ptr, ptr %8, align 8, !tbaa !12
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %12 = load ptr, ptr %11, align 8, !tbaa !12
  %wide.trip.count = zext i32 %3 to i64
  %min.iters.check = icmp ult i32 %3, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %13 = getelementptr inbounds float, ptr %6, i64 %indvars.iv.ph
  %14 = load float, ptr %13, align 4, !tbaa !15
  %15 = fdiv float %14, 2.550000e+02
  store float %15, ptr %13, align 4, !tbaa !15
  %16 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.ph
  %17 = load float, ptr %16, align 4, !tbaa !15
  %18 = fdiv float %17, 2.550000e+02
  store float %18, ptr %16, align 4, !tbaa !15
  %19 = getelementptr inbounds float, ptr %12, i64 %indvars.iv.ph
  %20 = load float, ptr %19, align 4, !tbaa !15
  %21 = fdiv float %20, 2.550000e+02
  store float %21, ptr %19, align 4, !tbaa !15
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %22 = add nsw i64 %wide.trip.count, -1
  %23 = icmp eq i64 %indvars.iv.ph, %22
  br i1 %23, label %.preheader, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %24 = shl nuw nsw i64 %wide.trip.count, 2
  %scevgep = getelementptr i8, ptr %6, i64 %24
  %scevgep44 = getelementptr i8, ptr %9, i64 %24
  %scevgep45 = getelementptr i8, ptr %12, i64 %24
  %bound0 = icmp ult ptr %6, %scevgep44
  %bound1 = icmp ult ptr %9, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound046 = icmp ult ptr %6, %scevgep45
  %bound147 = icmp ult ptr %12, %scevgep
  %found.conflict48 = and i1 %bound046, %bound147
  %conflict.rdx = or i1 %found.conflict, %found.conflict48
  %bound049 = icmp ult ptr %9, %scevgep45
  %bound150 = icmp ult ptr %12, %scevgep44
  %found.conflict51 = and i1 %bound049, %bound150
  %conflict.rdx52 = or i1 %conflict.rdx, %found.conflict51
  br i1 %conflict.rdx52, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %25 = getelementptr inbounds float, ptr %6, i64 %index
  %wide.load = load <4 x float>, ptr %25, align 4, !tbaa !15, !alias.scope !17, !noalias !20
  %26 = fdiv <4 x float> %wide.load, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  store <4 x float> %26, ptr %25, align 4, !tbaa !15, !alias.scope !17, !noalias !20
  %27 = getelementptr inbounds float, ptr %9, i64 %index
  %wide.load53 = load <4 x float>, ptr %27, align 4, !tbaa !15, !alias.scope !23, !noalias !24
  %28 = fdiv <4 x float> %wide.load53, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  store <4 x float> %28, ptr %27, align 4, !tbaa !15, !alias.scope !23, !noalias !24
  %29 = getelementptr inbounds float, ptr %12, i64 %index
  %wide.load54 = load <4 x float>, ptr %29, align 4, !tbaa !15, !alias.scope !24
  %30 = fdiv <4 x float> %wide.load54, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  store <4 x float> %30, ptr %29, align 4, !tbaa !15, !alias.scope !24
  %index.next = add nuw i64 %index, 4
  %31 = icmp eq i64 %index.next, %n.vec
  br i1 %31, label %middle.block, label %vector.body, !llvm.loop !25

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader, label %scalar.ph.preheader

.preheader:                                       ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  br i1 %.not, label %._crit_edge, label %.lr.ph36

.lr.ph36:                                         ; preds = %.preheader
  %32 = getelementptr inbounds i8, ptr %0, i64 24
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = load ptr, ptr %33, align 8, !tbaa !12
  %35 = getelementptr inbounds i8, ptr %0, i64 32
  %36 = load ptr, ptr %35, align 8, !tbaa !13
  %37 = load ptr, ptr %36, align 8, !tbaa !12
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  %39 = load ptr, ptr %38, align 8, !tbaa !14
  %40 = load ptr, ptr %39, align 8, !tbaa !12
  %wide.trip.count42 = zext i32 %3 to i64
  br label %59

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %41 = getelementptr inbounds float, ptr %6, i64 %indvars.iv
  %42 = load float, ptr %41, align 4, !tbaa !15
  %43 = fdiv float %42, 2.550000e+02
  store float %43, ptr %41, align 4, !tbaa !15
  %44 = getelementptr inbounds float, ptr %9, i64 %indvars.iv
  %45 = load float, ptr %44, align 4, !tbaa !15
  %46 = fdiv float %45, 2.550000e+02
  store float %46, ptr %44, align 4, !tbaa !15
  %47 = getelementptr inbounds float, ptr %12, i64 %indvars.iv
  %48 = load float, ptr %47, align 4, !tbaa !15
  %49 = fdiv float %48, 2.550000e+02
  store float %49, ptr %47, align 4, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %50 = getelementptr inbounds float, ptr %6, i64 %indvars.iv.next
  %51 = load float, ptr %50, align 4, !tbaa !15
  %52 = fdiv float %51, 2.550000e+02
  store float %52, ptr %50, align 4, !tbaa !15
  %53 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next
  %54 = load float, ptr %53, align 4, !tbaa !15
  %55 = fdiv float %54, 2.550000e+02
  store float %55, ptr %53, align 4, !tbaa !15
  %56 = getelementptr inbounds float, ptr %12, i64 %indvars.iv.next
  %57 = load float, ptr %56, align 4, !tbaa !15
  %58 = fdiv float %57, 2.550000e+02
  store float %58, ptr %56, align 4, !tbaa !15
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.preheader, label %scalar.ph, !llvm.loop !29

59:                                               ; preds = %.lr.ph36, %90
  %indvars.iv39 = phi i64 [ 0, %.lr.ph36 ], [ %indvars.iv.next40, %90 ]
  %60 = getelementptr inbounds float, ptr %34, i64 %indvars.iv39
  %61 = load float, ptr %60, align 4, !tbaa !15
  %62 = getelementptr inbounds float, ptr %37, i64 %indvars.iv39
  %63 = load float, ptr %62, align 4, !tbaa !15
  %64 = getelementptr inbounds float, ptr %40, i64 %indvars.iv39
  %65 = load float, ptr %64, align 4, !tbaa !15
  %66 = fpext float %61 to double
  %67 = fpext float %63 to double
  %68 = fmul double %67, 3.575800e-01
  %69 = tail call double @llvm.fmuladd.f64(double %66, double 4.124530e-01, double %68)
  %70 = fpext float %65 to double
  %71 = tail call double @llvm.fmuladd.f64(double %70, double 1.804230e-01, double %69)
  %72 = fptrunc double %71 to float
  store float %72, ptr %60, align 4, !tbaa !15
  %73 = fmul double %67, 7.151600e-01
  %74 = tail call double @llvm.fmuladd.f64(double %66, double 2.126710e-01, double %73)
  %75 = tail call double @llvm.fmuladd.f64(double %70, double 0x3FB279AAE6C8F755, double %74)
  %76 = fptrunc double %75 to float
  store float %76, ptr %62, align 4, !tbaa !15
  %77 = fmul double %67, 1.191930e-01
  %78 = tail call double @llvm.fmuladd.f64(double %66, double 1.933400e-02, double %77)
  %79 = tail call double @llvm.fmuladd.f64(double %70, double 9.502270e-01, double %78)
  %80 = fptrunc double %79 to float
  store float %80, ptr %64, align 4, !tbaa !15
  %81 = load float, ptr %60, align 4, !tbaa !15
  %82 = load float, ptr %62, align 4, !tbaa !15
  %83 = fadd float %81, %82
  %84 = fadd float %83, %80
  %85 = fcmp une float %84, 0.000000e+00
  br i1 %85, label %86, label %90

86:                                               ; preds = %59
  %87 = fdiv float %81, %84
  store float %87, ptr %60, align 4, !tbaa !15
  %88 = load float, ptr %64, align 4, !tbaa !15
  %89 = fdiv float %88, %84
  store float %89, ptr %64, align 4, !tbaa !15
  br label %90

90:                                               ; preds = %59, %86
  %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39, 1
  %exitcond43.not = icmp eq i64 %indvars.iv.next40, %wide.trip.count42
  br i1 %exitcond43.not, label %._crit_edge, label %59, !llvm.loop !30

._crit_edge:                                      ; preds = %90, %1, %.preheader
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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" }

!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, !7, i64 8}
!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 = !{!6, !10, i64 24}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 32}
!14 = !{!6, !10, i64 40}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !8, i64 0}
!17 = !{!18}
!18 = distinct !{!18, !19}
!19 = distinct !{!19, !"LVerDomain"}
!20 = !{!21, !22}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = !{!21}
!24 = !{!22}
!25 = distinct !{!25, !26, !27, !28}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!"llvm.loop.isvectorized", i32 1}
!28 = !{!"llvm.loop.unroll.runtime.disable"}
!29 = distinct !{!29, !26, !27}
!30 = distinct !{!30, !26}


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