; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_MatNd)

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

%struct._MatNd = type { ptr, i32, i32, i32, i8 }

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [59 x i8], align 1
@__func__.MatNd_columnLength = external hidden unnamed_addr constant [19 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

declare void @print_trace() #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_setZero(ptr noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @MatNd_getRowPtr(ptr noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local void @MatNd_columnLength(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  br label %10

10:                                               ; preds = %2
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct._MatNd, ptr %11, i32 0, i32 1
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._MatNd, ptr %14, i32 0, i32 2
  %16 = load i32, ptr %15, align 4, !tbaa !13
  %17 = icmp ne i32 %13, %16
  br i1 %17, label %18, label %29

18:                                               ; preds = %10
  %19 = load ptr, ptr @stderr, align 8, !tbaa !5
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._MatNd, ptr %20, i32 0, i32 1
  %22 = load i32, ptr %21, align 8, !tbaa !9
  %23 = uitofp i32 %22 to double
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._MatNd, ptr %24, i32 0, i32 2
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %27 = uitofp i32 %26 to double
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.155, ptr noundef @.str.1, ptr noundef @__func__.MatNd_columnLength, i32 noundef 3737, ptr noundef @.str.227, double noundef %23, ptr noundef @.str.228, double noundef %27) #6
  call void @print_trace()
  call void @exit(i32 noundef 1) #7
  unreachable

29:                                               ; preds = %10
  br label %30

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._MatNd, ptr %32, i32 0, i32 2
  %34 = load i32, ptr %33, align 4, !tbaa !13
  %35 = icmp ne i32 %34, 1
  br i1 %35, label %36, label %43

36:                                               ; preds = %31
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._MatNd, ptr %38, i32 0, i32 2
  %40 = load i32, ptr %39, align 4, !tbaa !13
  %41 = uitofp i32 %40 to double
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.155, ptr noundef @.str.1, ptr noundef @__func__.MatNd_columnLength, i32 noundef 3738, ptr noundef @.str.229, double noundef %41, ptr noundef @.str.230, double noundef 1.000000e+00) #6
  call void @print_trace()
  call void @exit(i32 noundef 1) #7
  unreachable

43:                                               ; preds = %31
  br label %44

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

46:                                               ; preds = %93, %44
  %47 = load i32, ptr %5, align 4, !tbaa !14
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct._MatNd, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 8, !tbaa !9
  %51 = icmp ult i32 %47, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %46
  store i32 6, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %96

53:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = load i32, ptr %5, align 4, !tbaa !14
  %56 = call ptr @MatNd_getRowPtr(ptr noundef %54, i32 noundef %55)
  store ptr %56, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load i32, ptr %5, align 4, !tbaa !14
  %59 = sub i32 %58, 1
  %60 = call ptr @MatNd_getRowPtr(ptr noundef %57, i32 noundef %59)
  store ptr %60, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !14
  br label %61

61:                                               ; preds = %89, %53
  %62 = load i32, ptr %9, align 4, !tbaa !14
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._MatNd, ptr %63, i32 0, i32 2
  %65 = load i32, ptr %64, align 4, !tbaa !13
  %66 = icmp ult i32 %62, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %61
  store i32 9, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %92

68:                                               ; preds = %61
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load i32, ptr %9, align 4, !tbaa !14
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds double, ptr %69, i64 %71
  %73 = load double, ptr %72, align 8, !tbaa !15
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load i32, ptr %9, align 4, !tbaa !14
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %74, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !15
  %79 = fsub double %73, %78
  %80 = call double @llvm.fabs.f64(double %79)
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._MatNd, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !17
  %84 = load i32, ptr %9, align 4, !tbaa !14
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds double, ptr %83, i64 %85
  %87 = load double, ptr %86, align 8, !tbaa !15
  %88 = fadd double %87, %80
  store double %88, ptr %86, align 8, !tbaa !15
  br label %89

89:                                               ; preds = %68
  %90 = load i32, ptr %9, align 4, !tbaa !14
  %91 = add i32 %90, 1
  store i32 %91, ptr %9, align 4, !tbaa !14
  br label %61, !llvm.loop !18

92:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %5, align 4, !tbaa !14
  %95 = add i32 %94, 1
  store i32 %95, ptr %5, align 4, !tbaa !14
  br label %46, !llvm.loop !20

96:                                               ; preds = %52
  ret void
}

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

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

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


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [59 x i8], align 1
@__func__.MatNd_columnLength = external hidden unnamed_addr constant [19 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [2 x i8], align 1

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

declare void @print_trace() local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @MatNd_setZero(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @MatNd_getRowPtr(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

; Function Attrs: nounwind uwtable
define dso_local void @MatNd_columnLength(ptr noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %1, i64 12
  %6 = load i32, ptr %5, align 4, !tbaa !12
  %.not = icmp eq i32 %4, %6
  br i1 %.not, label %12, label %7

7:                                                ; preds = %2
  %8 = load ptr, ptr @stderr, align 8, !tbaa !13
  %9 = uitofp i32 %4 to double
  %10 = uitofp i32 %6 to double
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.155, ptr noundef nonnull @.str.1, ptr noundef nonnull @__func__.MatNd_columnLength, i32 noundef 3737, ptr noundef nonnull @.str.227, double noundef %9, ptr noundef nonnull @.str.228, double noundef %10) #6
  tail call void @print_trace() #7
  tail call void @exit(i32 noundef 1) #8
  unreachable

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %0, i64 12
  %14 = load i32, ptr %13, align 4, !tbaa !12
  %.not26 = icmp eq i32 %14, 1
  br i1 %.not26, label %19, label %15

15:                                               ; preds = %12
  %16 = load ptr, ptr @stderr, align 8, !tbaa !13
  %17 = uitofp i32 %14 to double
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str.155, ptr noundef nonnull @.str.1, ptr noundef nonnull @__func__.MatNd_columnLength, i32 noundef 3738, ptr noundef nonnull @.str.229, double noundef %17, ptr noundef nonnull @.str.230, double noundef 1.000000e+00) #6
  tail call void @print_trace() #7
  tail call void @exit(i32 noundef 1) #8
  unreachable

19:                                               ; preds = %12
  tail call void @MatNd_setZero(ptr noundef nonnull %0)
  %20 = getelementptr inbounds i8, ptr %1, i64 8
  %21 = load i32, ptr %20, align 8, !tbaa !5
  %22 = icmp ugt i32 %21, 1
  br i1 %22, label %.lr.ph30, label %._crit_edge31

._crit_edge31:                                    ; preds = %._crit_edge, %19
  ret void

.lr.ph30:                                         ; preds = %19, %._crit_edge
  %.02228 = phi i32 [ %53, %._crit_edge ], [ 1, %19 ]
  %23 = tail call ptr @MatNd_getRowPtr(ptr noundef nonnull %1, i32 noundef %.02228)
  %24 = add i32 %.02228, -1
  %25 = tail call ptr @MatNd_getRowPtr(ptr noundef nonnull %1, i32 noundef %24)
  %26 = load i32, ptr %5, align 4, !tbaa !12
  %.not32 = icmp eq i32 %26, 0
  br i1 %.not32, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph30
  %27 = load ptr, ptr %0, align 8, !tbaa !14
  %wide.trip.count = zext i32 %26 to i64
  %min.iters.check = icmp ult i32 %26, 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
  %28 = getelementptr inbounds double, ptr %23, i64 %indvars.iv.ph
  %29 = load double, ptr %28, align 8, !tbaa !15
  %30 = getelementptr inbounds double, ptr %25, i64 %indvars.iv.ph
  %31 = load double, ptr %30, align 8, !tbaa !15
  %32 = fsub double %29, %31
  %33 = tail call double @llvm.fabs.f64(double %32)
  %34 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.ph
  %35 = load double, ptr %34, align 8, !tbaa !15
  %36 = fadd double %35, %33
  store double %36, ptr %34, align 8, !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 ]
  %37 = add nsw i64 %wide.trip.count, -1
  %38 = icmp eq i64 %indvars.iv.ph, %37
  br i1 %38, label %._crit_edge, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %39 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %27, i64 %39
  %scevgep34 = getelementptr i8, ptr %23, i64 %39
  %scevgep35 = getelementptr i8, ptr %25, i64 %39
  %bound0 = icmp ult ptr %27, %scevgep34
  %bound1 = icmp ult ptr %23, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound036 = icmp ult ptr %27, %scevgep35
  %bound137 = icmp ult ptr %25, %scevgep
  %found.conflict38 = and i1 %bound036, %bound137
  %conflict.rdx = or i1 %found.conflict, %found.conflict38
  br i1 %conflict.rdx, 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 ]
  %40 = getelementptr inbounds double, ptr %23, i64 %index
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  %wide.load = load <2 x double>, ptr %40, align 8, !tbaa !15, !alias.scope !17
  %wide.load39 = load <2 x double>, ptr %41, align 8, !tbaa !15, !alias.scope !17
  %42 = getelementptr inbounds double, ptr %25, i64 %index
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %wide.load40 = load <2 x double>, ptr %42, align 8, !tbaa !15, !alias.scope !20
  %wide.load41 = load <2 x double>, ptr %43, align 8, !tbaa !15, !alias.scope !20
  %44 = fsub <2 x double> %wide.load, %wide.load40
  %45 = fsub <2 x double> %wide.load39, %wide.load41
  %46 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %44)
  %47 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %45)
  %48 = getelementptr inbounds double, ptr %27, i64 %index
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  %wide.load42 = load <2 x double>, ptr %48, align 8, !tbaa !15, !alias.scope !22, !noalias !24
  %wide.load43 = load <2 x double>, ptr %49, align 8, !tbaa !15, !alias.scope !22, !noalias !24
  %50 = fadd <2 x double> %wide.load42, %46
  %51 = fadd <2 x double> %wide.load43, %47
  store <2 x double> %50, ptr %48, align 8, !tbaa !15, !alias.scope !22, !noalias !24
  store <2 x double> %51, ptr %49, align 8, !tbaa !15, !alias.scope !22, !noalias !24
  %index.next = add nuw i64 %index, 4
  %52 = icmp eq i64 %index.next, %n.vec
  br i1 %52, 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 %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %.lr.ph30
  %53 = add nuw i32 %.02228, 1
  %54 = load i32, ptr %20, align 8, !tbaa !5
  %55 = icmp ult i32 %53, %54
  br i1 %55, label %.lr.ph30, label %._crit_edge31, !llvm.loop !29

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 ]
  %56 = getelementptr inbounds double, ptr %23, i64 %indvars.iv
  %57 = load double, ptr %56, align 8, !tbaa !15
  %58 = getelementptr inbounds double, ptr %25, i64 %indvars.iv
  %59 = load double, ptr %58, align 8, !tbaa !15
  %60 = fsub double %57, %59
  %61 = tail call double @llvm.fabs.f64(double %60)
  %62 = getelementptr inbounds double, ptr %27, i64 %indvars.iv
  %63 = load double, ptr %62, align 8, !tbaa !15
  %64 = fadd double %63, %61
  store double %64, ptr %62, align 8, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %65 = getelementptr inbounds double, ptr %23, i64 %indvars.iv.next
  %66 = load double, ptr %65, align 8, !tbaa !15
  %67 = getelementptr inbounds double, ptr %25, i64 %indvars.iv.next
  %68 = load double, ptr %67, align 8, !tbaa !15
  %69 = fsub double %66, %68
  %70 = tail call double @llvm.fabs.f64(double %69)
  %71 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next
  %72 = load double, ptr %71, align 8, !tbaa !15
  %73 = fadd double %72, %70
  store double %73, ptr %71, align 8, !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 %._crit_edge, label %scalar.ph, !llvm.loop !30
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fabs.v2f64(<2 x double>) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"_MatNd", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{!6, !10, i64 12}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !8, i64 0}
!17 = !{!18}
!18 = distinct !{!18, !19}
!19 = distinct !{!19, !"LVerDomain"}
!20 = !{!21}
!21 = distinct !{!21, !19}
!22 = !{!23}
!23 = distinct !{!23, !19}
!24 = !{!18, !21}
!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}
!30 = distinct !{!30, !26, !27}


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