; 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 @_Z3dY2P12ImageContentS0_(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  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 4, ptr %5) #3
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %11)
  %13 = sub i32 %12, 1
  store i32 %13, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %14)
  store i32 %15, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %16

16:                                               ; preds = %40, %2
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = load i32, ptr %6, align 4, !tbaa !9
  %19 = icmp ult i32 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %43

21:                                               ; preds = %16
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %class.ImageContent, ptr %22, i32 0, i32 4
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds ptr, ptr %24, i64 %26
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds float, ptr %28, i64 0
  store float 0.000000e+00, ptr %29, align 4, !tbaa !13
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %class.ImageContent, ptr %30, i32 0, i32 4
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds ptr, ptr %32, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = load i32, ptr %5, 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
  br label %40

40:                                               ; preds = %21
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = add i32 %41, 1
  store i32 %42, ptr %7, align 4, !tbaa !9
  br label %16, !llvm.loop !15

43:                                               ; preds = %20
  %44 = load i32, ptr %6, align 4, !tbaa !9
  %45 = add i32 %44, -1
  store i32 %45, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 1, ptr %8, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %115, %43
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = icmp ult i32 %47, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %118

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

70:                                               ; preds = %111, %51
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = load i32, ptr %6, align 4, !tbaa !9
  %73 = icmp ult i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %114

75:                                               ; preds = %70
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %class.ImageContent, ptr %76, i32 0, i32 4
  %78 = load ptr, ptr %77, align 8, !tbaa !11
  %79 = load i32, ptr %10, align 4, !tbaa !9
  %80 = add i32 %79, 1
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds ptr, ptr %78, i64 %81
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = load i32, ptr %8, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds float, ptr %83, i64 %85
  %87 = load float, ptr %86, align 4, !tbaa !13
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %class.ImageContent, ptr %88, i32 0, i32 4
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = sub i32 %91, 1
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds ptr, ptr %90, i64 %93
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %95, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !13
  %100 = fsub float %87, %99
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %class.ImageContent, ptr %101, i32 0, i32 4
  %103 = load ptr, ptr %102, align 8, !tbaa !11
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = getelementptr inbounds ptr, ptr %103, i64 %105
  %107 = load ptr, ptr %106, align 8, !tbaa !5
  %108 = load i32, ptr %8, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds float, ptr %107, i64 %109
  store float %100, ptr %110, align 4, !tbaa !13
  br label %111

111:                                              ; preds = %75
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = add i32 %112, 1
  store i32 %113, ptr %10, align 4, !tbaa !9
  br label %70, !llvm.loop !17

114:                                              ; preds = %74
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %8, align 4, !tbaa !9
  %117 = add i32 %116, 1
  store i32 %117, ptr %8, align 4, !tbaa !9
  br label %46, !llvm.loop !18

118:                                              ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, 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 @_Z3dY2P12ImageContentS0_(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 = add i32 %3, -1
  %5 = tail call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = zext i32 %4 to i64
  %wide.trip.count = zext i32 %5 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %9 = icmp ult i32 %5, 4
  br i1 %9, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 4294967292
  br label %74

._crit_edge.loopexit.unr-lcssa:                   ; preds = %74, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %74 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %10 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv.epil
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  store float 0.000000e+00, ptr %11, align 4, !tbaa !12
  %12 = getelementptr inbounds float, ptr %11, i64 %8
  store float 0.000000e+00, ptr %12, align 4, !tbaa !12
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !14

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %2
  %13 = icmp ugt i32 %4, 1
  br i1 %13, label %.lr.ph40, label %._crit_edge41

.lr.ph40:                                         ; preds = %._crit_edge
  %14 = add i32 %5, -1
  %15 = getelementptr inbounds i8, ptr %1, i64 16
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = zext i32 %14 to i64
  %19 = getelementptr inbounds ptr, ptr %16, i64 %18
  %20 = load ptr, ptr %19, align 8, !tbaa !11
  %21 = icmp ugt i32 %14, 1
  br i1 %21, label %.lr.ph40.split.us, label %.lr.ph40.split.preheader

.lr.ph40.split.preheader:                         ; preds = %.lr.ph40
  %22 = ptrtoint ptr %20 to i64
  %23 = ptrtoint ptr %17 to i64
  %wide.trip.count47 = zext i32 %4 to i64
  %24 = add nsw i64 %wide.trip.count47, -1
  %min.iters.check = icmp ult i32 %4, 9
  %25 = sub i64 %22, %23
  %diff.check = icmp ult i64 %25, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %.lr.ph40.split.preheader61, label %vector.ph

.lr.ph40.split.preheader61:                       ; preds = %middle.block, %.lr.ph40.split.preheader
  %indvars.iv44.ph = phi i64 [ 1, %.lr.ph40.split.preheader ], [ %ind.end, %middle.block ]
  %26 = sub nsw i64 %wide.trip.count47, %indvars.iv44.ph
  %xtraiter63 = and i64 %26, 3
  %lcmp.mod64.not = icmp eq i64 %xtraiter63, 0
  br i1 %lcmp.mod64.not, label %.lr.ph40.split.prol.loopexit, label %.lr.ph40.split.prol

.lr.ph40.split.prol:                              ; preds = %.lr.ph40.split.preheader61, %.lr.ph40.split.prol
  %indvars.iv44.prol = phi i64 [ %indvars.iv.next45.prol, %.lr.ph40.split.prol ], [ %indvars.iv44.ph, %.lr.ph40.split.preheader61 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph40.split.prol ], [ 0, %.lr.ph40.split.preheader61 ]
  %27 = getelementptr inbounds float, ptr %17, i64 %indvars.iv44.prol
  store float 0.000000e+00, ptr %27, align 4, !tbaa !12
  %28 = getelementptr inbounds float, ptr %20, i64 %indvars.iv44.prol
  store float 0.000000e+00, ptr %28, align 4, !tbaa !12
  %indvars.iv.next45.prol = add nuw nsw i64 %indvars.iv44.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter63
  br i1 %prol.iter.cmp.not, label %.lr.ph40.split.prol.loopexit, label %.lr.ph40.split.prol, !llvm.loop !16

.lr.ph40.split.prol.loopexit:                     ; preds = %.lr.ph40.split.prol, %.lr.ph40.split.preheader61
  %indvars.iv44.unr = phi i64 [ %indvars.iv44.ph, %.lr.ph40.split.preheader61 ], [ %indvars.iv.next45.prol, %.lr.ph40.split.prol ]
  %29 = sub nsw i64 %indvars.iv44.ph, %wide.trip.count47
  %30 = icmp ugt i64 %29, -4
  br i1 %30, label %._crit_edge41, label %.lr.ph40.split

vector.ph:                                        ; preds = %.lr.ph40.split.preheader
  %n.vec = and i64 %24, -8
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %31 = getelementptr inbounds float, ptr %17, i64 %offset.idx
  %32 = getelementptr inbounds i8, ptr %31, i64 16
  store <4 x float> zeroinitializer, ptr %31, align 4, !tbaa !12
  store <4 x float> zeroinitializer, ptr %32, align 4, !tbaa !12
  %33 = getelementptr inbounds float, ptr %20, i64 %offset.idx
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  store <4 x float> zeroinitializer, ptr %33, align 4, !tbaa !12
  store <4 x float> zeroinitializer, ptr %34, align 4, !tbaa !12
  %index.next = add nuw i64 %index, 8
  %35 = icmp eq i64 %index.next, %n.vec
  br i1 %35, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %24, %n.vec
  br i1 %cmp.n, label %._crit_edge41, label %.lr.ph40.split.preheader61

.lr.ph40.split.us:                                ; preds = %.lr.ph40
  %36 = getelementptr inbounds i8, ptr %0, i64 16
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %wide.trip.count57 = zext i32 %4 to i64
  %invariant.gep = getelementptr i8, ptr %37, i64 -8
  %38 = add nsw i64 %18, -1
  %xtraiter66 = and i64 %38, 1
  %39 = icmp eq i32 %14, 2
  %unroll_iter69 = and i64 %38, -2
  %lcmp.mod68.not = icmp eq i64 %xtraiter66, 0
  %invariant.gep71 = getelementptr i8, ptr %37, i64 8
  br label %.lr.ph36.us

.lr.ph36.us:                                      ; preds = %._crit_edge37.us, %.lr.ph40.split.us
  %indvars.iv54 = phi i64 [ %indvars.iv.next55, %._crit_edge37.us ], [ 1, %.lr.ph40.split.us ]
  %40 = getelementptr inbounds float, ptr %17, i64 %indvars.iv54
  store float 0.000000e+00, ptr %40, align 4, !tbaa !12
  %41 = getelementptr inbounds float, ptr %20, i64 %indvars.iv54
  store float 0.000000e+00, ptr %41, align 4, !tbaa !12
  br i1 %39, label %._crit_edge37.us.unr-lcssa, label %.lr.ph36.us.new

.lr.ph36.us.new:                                  ; preds = %.lr.ph36.us, %.lr.ph36.us.new
  %indvars.iv49 = phi i64 [ %indvars.iv.next50.1, %.lr.ph36.us.new ], [ 1, %.lr.ph36.us ]
  %niter70 = phi i64 [ %niter70.next.1, %.lr.ph36.us.new ], [ 0, %.lr.ph36.us ]
  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 1
  %42 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv.next50
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds float, ptr %43, i64 %indvars.iv54
  %45 = load float, ptr %44, align 4, !tbaa !12
  %gep = getelementptr ptr, ptr %invariant.gep, i64 %indvars.iv49
  %46 = load ptr, ptr %gep, align 8, !tbaa !11
  %47 = getelementptr inbounds float, ptr %46, i64 %indvars.iv54
  %48 = load float, ptr %47, align 4, !tbaa !12
  %49 = fsub float %45, %48
  %50 = getelementptr inbounds ptr, ptr %16, i64 %indvars.iv49
  %51 = load ptr, ptr %50, align 8, !tbaa !11
  %52 = getelementptr inbounds float, ptr %51, i64 %indvars.iv54
  store float %49, ptr %52, align 4, !tbaa !12
  %indvars.iv.next50.1 = add nuw nsw i64 %indvars.iv49, 2
  %53 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv.next50.1
  %54 = load ptr, ptr %53, align 8, !tbaa !11
  %55 = getelementptr inbounds float, ptr %54, i64 %indvars.iv54
  %56 = load float, ptr %55, align 4, !tbaa !12
  %gep.1 = getelementptr ptr, ptr %37, i64 %indvars.iv49
  %57 = load ptr, ptr %gep.1, align 8, !tbaa !11
  %58 = getelementptr inbounds float, ptr %57, i64 %indvars.iv54
  %59 = load float, ptr %58, align 4, !tbaa !12
  %60 = fsub float %56, %59
  %61 = getelementptr inbounds ptr, ptr %16, i64 %indvars.iv.next50
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = getelementptr inbounds float, ptr %62, i64 %indvars.iv54
  store float %60, ptr %63, align 4, !tbaa !12
  %niter70.next.1 = add i64 %niter70, 2
  %niter70.ncmp.1 = icmp eq i64 %niter70.next.1, %unroll_iter69
  br i1 %niter70.ncmp.1, label %._crit_edge37.us.unr-lcssa, label %.lr.ph36.us.new, !llvm.loop !21

._crit_edge37.us.unr-lcssa:                       ; preds = %.lr.ph36.us.new, %.lr.ph36.us
  %indvars.iv49.unr = phi i64 [ 1, %.lr.ph36.us ], [ %indvars.iv.next50.1, %.lr.ph36.us.new ]
  br i1 %lcmp.mod68.not, label %._crit_edge37.us, label %._crit_edge37.us.epilog-lcssa

._crit_edge37.us.epilog-lcssa:                    ; preds = %._crit_edge37.us.unr-lcssa
  %gep72 = getelementptr ptr, ptr %invariant.gep71, i64 %indvars.iv49.unr
  %64 = load ptr, ptr %gep72, align 8, !tbaa !11
  %65 = getelementptr inbounds float, ptr %64, i64 %indvars.iv54
  %66 = load float, ptr %65, align 4, !tbaa !12
  %gep.epil = getelementptr ptr, ptr %invariant.gep, i64 %indvars.iv49.unr
  %67 = load ptr, ptr %gep.epil, align 8, !tbaa !11
  %68 = getelementptr inbounds float, ptr %67, i64 %indvars.iv54
  %69 = load float, ptr %68, align 4, !tbaa !12
  %70 = fsub float %66, %69
  %71 = getelementptr inbounds ptr, ptr %16, i64 %indvars.iv49.unr
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = getelementptr inbounds float, ptr %72, i64 %indvars.iv54
  store float %70, ptr %73, align 4, !tbaa !12
  br label %._crit_edge37.us

._crit_edge37.us:                                 ; preds = %._crit_edge37.us.unr-lcssa, %._crit_edge37.us.epilog-lcssa
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %exitcond58.not = icmp eq i64 %indvars.iv.next55, %wide.trip.count57
  br i1 %exitcond58.not, label %._crit_edge41, label %.lr.ph36.us, !llvm.loop !22

74:                                               ; preds = %74, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %74 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %74 ]
  %75 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  store float 0.000000e+00, ptr %76, align 4, !tbaa !12
  %77 = getelementptr inbounds float, ptr %76, i64 %8
  store float 0.000000e+00, ptr %77, align 4, !tbaa !12
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %78 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv.next
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  store float 0.000000e+00, ptr %79, align 4, !tbaa !12
  %80 = getelementptr inbounds float, ptr %79, i64 %8
  store float 0.000000e+00, ptr %80, align 4, !tbaa !12
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %81 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv.next.1
  %82 = load ptr, ptr %81, align 8, !tbaa !11
  store float 0.000000e+00, ptr %82, align 4, !tbaa !12
  %83 = getelementptr inbounds float, ptr %82, i64 %8
  store float 0.000000e+00, ptr %83, align 4, !tbaa !12
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %84 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv.next.2
  %85 = load ptr, ptr %84, align 8, !tbaa !11
  store float 0.000000e+00, ptr %85, align 4, !tbaa !12
  %86 = getelementptr inbounds float, ptr %85, i64 %8
  store float 0.000000e+00, ptr %86, align 4, !tbaa !12
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 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_edge.loopexit.unr-lcssa, label %74, !llvm.loop !23

._crit_edge41:                                    ; preds = %.lr.ph40.split.prol.loopexit, %.lr.ph40.split, %._crit_edge37.us, %middle.block, %._crit_edge
  ret void

.lr.ph40.split:                                   ; preds = %.lr.ph40.split.prol.loopexit, %.lr.ph40.split
  %indvars.iv44 = phi i64 [ %indvars.iv.next45.3, %.lr.ph40.split ], [ %indvars.iv44.unr, %.lr.ph40.split.prol.loopexit ]
  %87 = getelementptr inbounds float, ptr %17, i64 %indvars.iv44
  store float 0.000000e+00, ptr %87, align 4, !tbaa !12
  %88 = getelementptr inbounds float, ptr %20, i64 %indvars.iv44
  store float 0.000000e+00, ptr %88, align 4, !tbaa !12
  %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44, 1
  %89 = getelementptr inbounds float, ptr %17, i64 %indvars.iv.next45
  store float 0.000000e+00, ptr %89, align 4, !tbaa !12
  %90 = getelementptr inbounds float, ptr %20, i64 %indvars.iv.next45
  store float 0.000000e+00, ptr %90, align 4, !tbaa !12
  %indvars.iv.next45.1 = add nuw nsw i64 %indvars.iv44, 2
  %91 = getelementptr inbounds float, ptr %17, i64 %indvars.iv.next45.1
  store float 0.000000e+00, ptr %91, align 4, !tbaa !12
  %92 = getelementptr inbounds float, ptr %20, i64 %indvars.iv.next45.1
  store float 0.000000e+00, ptr %92, align 4, !tbaa !12
  %indvars.iv.next45.2 = add nuw nsw i64 %indvars.iv44, 3
  %93 = getelementptr inbounds float, ptr %17, i64 %indvars.iv.next45.2
  store float 0.000000e+00, ptr %93, align 4, !tbaa !12
  %94 = getelementptr inbounds float, ptr %20, i64 %indvars.iv.next45.2
  store float 0.000000e+00, ptr %94, align 4, !tbaa !12
  %indvars.iv.next45.3 = add nuw nsw i64 %indvars.iv44, 4
  %exitcond48.not.3 = icmp eq i64 %indvars.iv.next45.3, %wide.trip.count47
  br i1 %exitcond48.not.3, label %._crit_edge41, label %.lr.ph40.split, !llvm.loop !24
}

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, !15}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18, !19}


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