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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dX2P12ImageContentS0_(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
  store i32 %14, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %15)
  %17 = sub i32 %16, 1
  store i32 %17, ptr %8, align 4, !tbaa !9
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %class.ImageContent, ptr %18, i32 0, i32 4
  %20 = load ptr, ptr %19, align 8, !tbaa !11
  %21 = getelementptr inbounds ptr, ptr %20, i64 0
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %22, ptr %5, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %class.ImageContent, ptr %23, i32 0, i32 4
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds ptr, ptr %25, i64 %27
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %29, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %44, %2
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = icmp ult i32 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %47

35:                                               ; preds = %30
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = load i32, ptr %9, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds float, ptr %36, i64 %38
  store float 0.000000e+00, ptr %39, align 4, !tbaa !13
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds float, ptr %40, i64 %42
  store float 0.000000e+00, ptr %43, align 4, !tbaa !13
  br label %44

44:                                               ; preds = %35
  %45 = load i32, ptr %9, align 4, !tbaa !9
  %46 = add i32 %45, 1
  store i32 %46, ptr %9, align 4, !tbaa !9
  br label %30, !llvm.loop !15

47:                                               ; preds = %34
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = add i32 %48, -1
  store i32 %49, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %103, %47
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = load i32, ptr %8, align 4, !tbaa !9
  %53 = icmp ult i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %106

55:                                               ; preds = %50
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %class.ImageContent, ptr %56, i32 0, i32 4
  %58 = load ptr, ptr %57, align 8, !tbaa !11
  %59 = load i32, ptr %10, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds ptr, ptr %58, i64 %60
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  store ptr %62, ptr %6, align 8, !tbaa !5
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %class.ImageContent, ptr %63, i32 0, i32 4
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = load i32, ptr %10, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds ptr, ptr %65, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  store ptr %69, ptr %5, align 8, !tbaa !5
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds float, ptr %70, i64 0
  store float 0.000000e+00, ptr %71, align 4, !tbaa !13
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = load i32, ptr %7, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %72, i64 %74
  store float 0.000000e+00, ptr %75, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 1, ptr %12, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %99, %55
  %77 = load i32, ptr %12, align 4, !tbaa !9
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = icmp ult i32 %77, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %102

81:                                               ; preds = %76
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load i32, ptr %12, align 4, !tbaa !9
  %84 = add i32 %83, 1
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds float, ptr %82, i64 %85
  %87 = load float, ptr %86, align 4, !tbaa !13
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = sub i32 %89, 1
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds float, ptr %88, i64 %91
  %93 = load float, ptr %92, align 4, !tbaa !13
  %94 = fsub float %87, %93
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %95, i64 %97
  store float %94, ptr %98, align 4, !tbaa !13
  br label %99

99:                                               ; preds = %81
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = add i32 %100, 1
  store i32 %101, ptr %12, align 4, !tbaa !9
  br label %76, !llvm.loop !17

102:                                              ; preds = %80
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = add i32 %104, 1
  store i32 %105, ptr %10, align 4, !tbaa !9
  br label %50, !llvm.loop !18

106:                                              ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTS12ImageContent", !10, i64 0, !10, i64 4, !10, i64 8, !10, 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}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z3dX2P12ImageContentS0_(ptr noundef nonnull %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %3 = tail call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %4 = tail call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %5 = add i32 %4, -1
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = load ptr, ptr %7, align 8, !tbaa !11
  %9 = zext i32 %5 to i64
  %10 = getelementptr inbounds ptr, ptr %7, i64 %9
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %2
  %12 = ptrtoint ptr %11 to i64
  %13 = ptrtoint ptr %8 to i64
  %wide.trip.count = zext i32 %3 to i64
  %min.iters.check = icmp ult i32 %3, 8
  %14 = sub i64 %12, %13
  %diff.check = icmp ult i64 %14, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %.lr.ph.preheader80, label %vector.ph

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

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader80, %.lr.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.lr.ph.prol ], [ %indvars.iv.ph, %.lr.ph.preheader80 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader80 ]
  %15 = getelementptr inbounds float, ptr %8, i64 %indvars.iv.prol
  store float 0.000000e+00, ptr %15, align 4, !tbaa !12
  %16 = getelementptr inbounds float, ptr %11, i64 %indvars.iv.prol
  store float 0.000000e+00, ptr %16, align 4, !tbaa !12
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !14

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader80
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader80 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %17 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %18 = icmp ugt i64 %17, -4
  br i1 %18, label %._crit_edge, label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 4294967288
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %19 = getelementptr inbounds float, ptr %8, i64 %index
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  store <4 x float> zeroinitializer, ptr %19, align 4, !tbaa !12
  store <4 x float> zeroinitializer, ptr %20, align 4, !tbaa !12
  %21 = getelementptr inbounds float, ptr %11, i64 %index
  %22 = getelementptr inbounds i8, ptr %21, i64 16
  store <4 x float> zeroinitializer, ptr %21, align 4, !tbaa !12
  store <4 x float> zeroinitializer, ptr %22, align 4, !tbaa !12
  %index.next = add nuw i64 %index, 8
  %23 = icmp eq i64 %index.next, %n.vec
  br i1 %23, label %middle.block, label %vector.body, !llvm.loop !16

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

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %2
  %24 = icmp ugt i32 %5, 1
  br i1 %24, label %.lr.ph41, label %._crit_edge42

.lr.ph41:                                         ; preds = %._crit_edge
  %25 = add i32 %3, -1
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = zext i32 %25 to i64
  %29 = icmp ugt i32 %25, 1
  br i1 %29, label %.lr.ph37.us.preheader, label %.lr.ph41.split.preheader

.lr.ph41.split.preheader:                         ; preds = %.lr.ph41
  %30 = add nsw i64 %9, -1
  %31 = add nsw i64 %9, -2
  %xtraiter81 = and i64 %30, 3
  %32 = icmp ult i64 %31, 3
  br i1 %32, label %._crit_edge42.loopexit79.unr-lcssa, label %.lr.ph41.split.preheader.new

.lr.ph41.split.preheader.new:                     ; preds = %.lr.ph41.split.preheader
  %unroll_iter = and i64 %30, -4
  %invariant.gep86 = getelementptr inbounds i8, ptr %7, i64 8
  %invariant.gep88 = getelementptr inbounds i8, ptr %7, i64 16
  %invariant.gep90 = getelementptr inbounds i8, ptr %7, i64 24
  br label %.lr.ph41.split

.lr.ph37.us.preheader:                            ; preds = %.lr.ph41
  %33 = shl nuw nsw i64 %28, 2
  %34 = add nsw i64 %28, -1
  %min.iters.check67 = icmp ult i32 %25, 9
  %n.vec70 = and i64 %34, -8
  %ind.end = or disjoint i64 %n.vec70, 1
  %cmp.n78 = icmp eq i64 %34, %n.vec70
  br label %.lr.ph37.us

.lr.ph37.us:                                      ; preds = %.lr.ph37.us.preheader, %._crit_edge38.us
  %indvars.iv55 = phi i64 [ %indvars.iv.next56, %._crit_edge38.us ], [ 1, %.lr.ph37.us.preheader ]
  %35 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv55
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = getelementptr inbounds ptr, ptr %27, i64 %indvars.iv55
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  store float 0.000000e+00, ptr %36, align 4, !tbaa !12
  %39 = getelementptr inbounds float, ptr %36, i64 %28
  store float 0.000000e+00, ptr %39, align 4, !tbaa !12
  %invariant.gep = getelementptr i8, ptr %38, i64 -4
  br i1 %min.iters.check67, label %scalar.ph66.preheader, label %vector.memcheck62

vector.memcheck62:                                ; preds = %.lr.ph37.us
  %scevgep63 = getelementptr i8, ptr %36, i64 %33
  %40 = getelementptr i8, ptr %38, i64 %33
  %bound0 = icmp ult ptr %36, %40
  %bound1 = icmp ult ptr %38, %scevgep63
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph66.preheader, label %vector.body72

vector.body72:                                    ; preds = %vector.memcheck62, %vector.body72
  %index73 = phi i64 [ %index.next77, %vector.body72 ], [ 0, %vector.memcheck62 ]
  %offset.idx = or disjoint i64 %index73, 1
  %41 = or disjoint i64 %index73, 2
  %42 = getelementptr inbounds float, ptr %38, i64 %41
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %wide.load = load <4 x float>, ptr %42, align 4, !tbaa !12, !alias.scope !20
  %wide.load74 = load <4 x float>, ptr %43, align 4, !tbaa !12, !alias.scope !20
  %44 = getelementptr float, ptr %38, i64 %index73
  %45 = getelementptr i8, ptr %44, i64 16
  %wide.load75 = load <4 x float>, ptr %44, align 4, !tbaa !12, !alias.scope !20
  %wide.load76 = load <4 x float>, ptr %45, align 4, !tbaa !12, !alias.scope !20
  %46 = fsub <4 x float> %wide.load, %wide.load75
  %47 = fsub <4 x float> %wide.load74, %wide.load76
  %48 = getelementptr inbounds float, ptr %36, i64 %offset.idx
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  store <4 x float> %46, ptr %48, align 4, !tbaa !12, !alias.scope !23, !noalias !20
  store <4 x float> %47, ptr %49, align 4, !tbaa !12, !alias.scope !23, !noalias !20
  %index.next77 = add nuw i64 %index73, 8
  %50 = icmp eq i64 %index.next77, %n.vec70
  br i1 %50, label %middle.block65, label %vector.body72, !llvm.loop !25

middle.block65:                                   ; preds = %vector.body72
  br i1 %cmp.n78, label %._crit_edge38.us, label %scalar.ph66.preheader

scalar.ph66.preheader:                            ; preds = %middle.block65, %vector.memcheck62, %.lr.ph37.us
  %indvars.iv50.ph = phi i64 [ 1, %vector.memcheck62 ], [ 1, %.lr.ph37.us ], [ %ind.end, %middle.block65 ]
  %51 = sub nsw i64 %28, %indvars.iv50.ph
  %xtraiter83 = and i64 %51, 3
  %lcmp.mod84.not = icmp eq i64 %xtraiter83, 0
  br i1 %lcmp.mod84.not, label %scalar.ph66.prol.loopexit, label %scalar.ph66.prol

scalar.ph66.prol:                                 ; preds = %scalar.ph66.preheader, %scalar.ph66.prol
  %indvars.iv50.prol = phi i64 [ %indvars.iv.next51.prol, %scalar.ph66.prol ], [ %indvars.iv50.ph, %scalar.ph66.preheader ]
  %prol.iter85 = phi i64 [ %prol.iter85.next, %scalar.ph66.prol ], [ 0, %scalar.ph66.preheader ]
  %indvars.iv.next51.prol = add nuw nsw i64 %indvars.iv50.prol, 1
  %52 = getelementptr inbounds float, ptr %38, i64 %indvars.iv.next51.prol
  %53 = load float, ptr %52, align 4, !tbaa !12
  %gep.prol = getelementptr float, ptr %invariant.gep, i64 %indvars.iv50.prol
  %54 = load float, ptr %gep.prol, align 4, !tbaa !12
  %55 = fsub float %53, %54
  %56 = getelementptr inbounds float, ptr %36, i64 %indvars.iv50.prol
  store float %55, ptr %56, align 4, !tbaa !12
  %prol.iter85.next = add i64 %prol.iter85, 1
  %prol.iter85.cmp.not = icmp eq i64 %prol.iter85.next, %xtraiter83
  br i1 %prol.iter85.cmp.not, label %scalar.ph66.prol.loopexit, label %scalar.ph66.prol, !llvm.loop !26

scalar.ph66.prol.loopexit:                        ; preds = %scalar.ph66.prol, %scalar.ph66.preheader
  %indvars.iv50.unr = phi i64 [ %indvars.iv50.ph, %scalar.ph66.preheader ], [ %indvars.iv.next51.prol, %scalar.ph66.prol ]
  %57 = sub nsw i64 %indvars.iv50.ph, %28
  %58 = icmp ugt i64 %57, -4
  br i1 %58, label %._crit_edge38.us, label %scalar.ph66

scalar.ph66:                                      ; preds = %scalar.ph66.prol.loopexit, %scalar.ph66
  %indvars.iv50 = phi i64 [ %indvars.iv.next51.3, %scalar.ph66 ], [ %indvars.iv50.unr, %scalar.ph66.prol.loopexit ]
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %59 = getelementptr inbounds float, ptr %38, i64 %indvars.iv.next51
  %60 = load float, ptr %59, align 4, !tbaa !12
  %gep = getelementptr float, ptr %invariant.gep, i64 %indvars.iv50
  %61 = load float, ptr %gep, align 4, !tbaa !12
  %62 = fsub float %60, %61
  %63 = getelementptr inbounds float, ptr %36, i64 %indvars.iv50
  store float %62, ptr %63, align 4, !tbaa !12
  %indvars.iv.next51.1 = add nuw nsw i64 %indvars.iv50, 2
  %64 = getelementptr inbounds float, ptr %38, i64 %indvars.iv.next51.1
  %65 = load float, ptr %64, align 4, !tbaa !12
  %gep.1 = getelementptr float, ptr %38, i64 %indvars.iv50
  %66 = load float, ptr %gep.1, align 4, !tbaa !12
  %67 = fsub float %65, %66
  %68 = getelementptr inbounds float, ptr %36, i64 %indvars.iv.next51
  store float %67, ptr %68, align 4, !tbaa !12
  %indvars.iv.next51.2 = add nuw nsw i64 %indvars.iv50, 3
  %69 = getelementptr inbounds float, ptr %38, i64 %indvars.iv.next51.2
  %70 = load float, ptr %69, align 4, !tbaa !12
  %gep.2 = getelementptr float, ptr %invariant.gep, i64 %indvars.iv.next51.1
  %71 = load float, ptr %gep.2, align 4, !tbaa !12
  %72 = fsub float %70, %71
  %73 = getelementptr inbounds float, ptr %36, i64 %indvars.iv.next51.1
  store float %72, ptr %73, align 4, !tbaa !12
  %indvars.iv.next51.3 = add nuw nsw i64 %indvars.iv50, 4
  %74 = getelementptr inbounds float, ptr %38, i64 %indvars.iv.next51.3
  %75 = load float, ptr %74, align 4, !tbaa !12
  %gep.3 = getelementptr float, ptr %invariant.gep, i64 %indvars.iv.next51.2
  %76 = load float, ptr %gep.3, align 4, !tbaa !12
  %77 = fsub float %75, %76
  %78 = getelementptr inbounds float, ptr %36, i64 %indvars.iv.next51.2
  store float %77, ptr %78, align 4, !tbaa !12
  %exitcond54.not.3 = icmp eq i64 %indvars.iv.next51.3, %28
  br i1 %exitcond54.not.3, label %._crit_edge38.us, label %scalar.ph66, !llvm.loop !27

._crit_edge38.us:                                 ; preds = %scalar.ph66.prol.loopexit, %scalar.ph66, %middle.block65
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %exitcond59.not = icmp eq i64 %indvars.iv.next56, %9
  br i1 %exitcond59.not, label %._crit_edge42, label %.lr.ph37.us, !llvm.loop !28

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %79 = getelementptr inbounds float, ptr %8, i64 %indvars.iv
  store float 0.000000e+00, ptr %79, align 4, !tbaa !12
  %80 = getelementptr inbounds float, ptr %11, i64 %indvars.iv
  store float 0.000000e+00, ptr %80, align 4, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %81 = getelementptr inbounds float, ptr %8, i64 %indvars.iv.next
  store float 0.000000e+00, ptr %81, align 4, !tbaa !12
  %82 = getelementptr inbounds float, ptr %11, i64 %indvars.iv.next
  store float 0.000000e+00, ptr %82, align 4, !tbaa !12
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %83 = getelementptr inbounds float, ptr %8, i64 %indvars.iv.next.1
  store float 0.000000e+00, ptr %83, align 4, !tbaa !12
  %84 = getelementptr inbounds float, ptr %11, i64 %indvars.iv.next.1
  store float 0.000000e+00, ptr %84, align 4, !tbaa !12
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %85 = getelementptr inbounds float, ptr %8, i64 %indvars.iv.next.2
  store float 0.000000e+00, ptr %85, align 4, !tbaa !12
  %86 = getelementptr inbounds float, ptr %11, i64 %indvars.iv.next.2
  store float 0.000000e+00, ptr %86, align 4, !tbaa !12
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %._crit_edge, label %.lr.ph, !llvm.loop !29

._crit_edge42.loopexit79.unr-lcssa:               ; preds = %.lr.ph41.split, %.lr.ph41.split.preheader
  %indvars.iv45.unr = phi i64 [ 1, %.lr.ph41.split.preheader ], [ %indvars.iv.next46.3, %.lr.ph41.split ]
  %lcmp.mod82.not = icmp eq i64 %xtraiter81, 0
  br i1 %lcmp.mod82.not, label %._crit_edge42, label %.lr.ph41.split.epil

.lr.ph41.split.epil:                              ; preds = %._crit_edge42.loopexit79.unr-lcssa, %.lr.ph41.split.epil
  %indvars.iv45.epil = phi i64 [ %indvars.iv.next46.epil, %.lr.ph41.split.epil ], [ %indvars.iv45.unr, %._crit_edge42.loopexit79.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph41.split.epil ], [ 0, %._crit_edge42.loopexit79.unr-lcssa ]
  %87 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv45.epil
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  store float 0.000000e+00, ptr %88, align 4, !tbaa !12
  %89 = getelementptr inbounds float, ptr %88, i64 %28
  store float 0.000000e+00, ptr %89, align 4, !tbaa !12
  %indvars.iv.next46.epil = add nuw nsw i64 %indvars.iv45.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter81
  br i1 %epil.iter.cmp.not, label %._crit_edge42, label %.lr.ph41.split.epil, !llvm.loop !30

._crit_edge42:                                    ; preds = %._crit_edge42.loopexit79.unr-lcssa, %.lr.ph41.split.epil, %._crit_edge38.us, %._crit_edge
  ret void

.lr.ph41.split:                                   ; preds = %.lr.ph41.split, %.lr.ph41.split.preheader.new
  %indvars.iv45 = phi i64 [ 1, %.lr.ph41.split.preheader.new ], [ %indvars.iv.next46.3, %.lr.ph41.split ]
  %niter = phi i64 [ 0, %.lr.ph41.split.preheader.new ], [ %niter.next.3, %.lr.ph41.split ]
  %90 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv45
  %91 = load ptr, ptr %90, align 8, !tbaa !11
  store float 0.000000e+00, ptr %91, align 4, !tbaa !12
  %92 = getelementptr inbounds float, ptr %91, i64 %28
  store float 0.000000e+00, ptr %92, align 4, !tbaa !12
  %gep87 = getelementptr inbounds ptr, ptr %invariant.gep86, i64 %indvars.iv45
  %93 = load ptr, ptr %gep87, align 8, !tbaa !11
  store float 0.000000e+00, ptr %93, align 4, !tbaa !12
  %94 = getelementptr inbounds float, ptr %93, i64 %28
  store float 0.000000e+00, ptr %94, align 4, !tbaa !12
  %gep89 = getelementptr inbounds ptr, ptr %invariant.gep88, i64 %indvars.iv45
  %95 = load ptr, ptr %gep89, align 8, !tbaa !11
  store float 0.000000e+00, ptr %95, align 4, !tbaa !12
  %96 = getelementptr inbounds float, ptr %95, i64 %28
  store float 0.000000e+00, ptr %96, align 4, !tbaa !12
  %gep91 = getelementptr inbounds ptr, ptr %invariant.gep90, i64 %indvars.iv45
  %97 = load ptr, ptr %gep91, align 8, !tbaa !11
  store float 0.000000e+00, ptr %97, align 4, !tbaa !12
  %98 = getelementptr inbounds float, ptr %97, i64 %28
  store float 0.000000e+00, ptr %98, align 4, !tbaa !12
  %indvars.iv.next46.3 = add nuw nsw i64 %indvars.iv45, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge42.loopexit79.unr-lcssa, label %.lr.ph41.split, !llvm.loop !28
}

attributes #0 = { 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 #1 = { 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" }

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


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