; LLVM IR from QiaoLiuHit/LSOTB-TIR :: vlfeat-0.9.19/vl (aib)

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

%union.anon = type { i64 }
%struct._VlAIB = type { ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, ptr, ptr, i32 }

@.str = external hidden unnamed_addr constant [59 x i8], align 1
@vl_nan_d = external hidden constant %union.anon, align 8

; 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: nounwind uwtable
declare dso_local void @vl_aib_min_beta(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @vl_aib_merge_nodes(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @vl_aib_update_beta(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @vl_aib_calculate_information(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @vl_aib_process(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  call void @vl_aib_calculate_information(ptr noundef %12, ptr noundef %9, ptr noundef %10)
  %13 = load double, ptr %9, align 8, !tbaa !9
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._VlAIB, ptr %14, i32 0, i32 12
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = getelementptr inbounds double, ptr %16, i64 0
  store double %13, ptr %17, align 8, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !14
  br label %18

18:                                               ; preds = %101, %1
  %19 = load i32, ptr %3, align 4, !tbaa !14
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._VlAIB, ptr %20, i32 0, i32 9
  %22 = load i32, ptr %21, align 8, !tbaa !15
  %23 = sub i32 %22, 1
  %24 = icmp ult i32 %19, %23
  br i1 %24, label %25, label %104

25:                                               ; preds = %18
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  call void @vl_aib_update_beta(ptr noundef %26)
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  call void @vl_aib_min_beta(ptr noundef %27, ptr noundef %4, ptr noundef %5, ptr noundef %11)
  %28 = load double, ptr %11, align 8, !tbaa !9
  %29 = fcmp oeq double %28, 0x7FEFFFFFFFFFFFFF
  br i1 %29, label %30, label %31

30:                                               ; preds = %25
  br label %104

31:                                               ; preds = %25
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._VlAIB, ptr %32, i32 0, i32 9
  %34 = load i32, ptr %33, align 8, !tbaa !15
  %35 = load i32, ptr %3, align 4, !tbaa !14
  %36 = add i32 %34, %35
  store i32 %36, ptr %6, align 4, !tbaa !14
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._VlAIB, ptr %37, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %40 = load i32, ptr %4, align 4, !tbaa !14
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds i32, ptr %39, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !14
  store i32 %43, ptr %7, align 4, !tbaa !14
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._VlAIB, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !16
  %47 = load i32, ptr %5, align 4, !tbaa !14
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds i32, ptr %46, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !14
  store i32 %50, ptr %8, align 4, !tbaa !14
  %51 = load i32, ptr %6, align 4, !tbaa !14
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct._VlAIB, ptr %52, i32 0, i32 11
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = load i32, ptr %7, align 4, !tbaa !14
  %56 = zext i32 %55 to i64
  %57 = getelementptr inbounds i32, ptr %54, i64 %56
  store i32 %51, ptr %57, align 4, !tbaa !14
  %58 = load i32, ptr %6, align 4, !tbaa !14
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._VlAIB, ptr %59, i32 0, i32 11
  %61 = load ptr, ptr %60, align 8, !tbaa !17
  %62 = load i32, ptr %8, align 4, !tbaa !14
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds i32, ptr %61, i64 %63
  store i32 %58, ptr %64, align 4, !tbaa !14
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct._VlAIB, ptr %65, i32 0, i32 11
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  %68 = load i32, ptr %6, align 4, !tbaa !14
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %67, i64 %69
  store i32 0, ptr %70, align 4, !tbaa !14
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = load i32, ptr %4, align 4, !tbaa !14
  %73 = load i32, ptr %5, align 4, !tbaa !14
  %74 = load i32, ptr %6, align 4, !tbaa !14
  call void @vl_aib_merge_nodes(ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  call void @vl_aib_calculate_information(ptr noundef %75, ptr noundef %9, ptr noundef %10)
  %76 = load double, ptr %9, align 8, !tbaa !9
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct._VlAIB, ptr %77, i32 0, i32 12
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = load i32, ptr %3, align 4, !tbaa !14
  %81 = add i32 %80, 1
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %79, i64 %82
  store double %76, ptr %83, align 8, !tbaa !9
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._VlAIB, ptr %84, i32 0, i32 13
  %86 = load i32, ptr %85, align 8, !tbaa !18
  %87 = icmp ugt i32 %86, 0
  br i1 %87, label %88, label %100

88:                                               ; preds = %31
  %89 = call ptr @vl_get_printf_func()
  %90 = load i32, ptr %7, align 4, !tbaa !14
  %91 = load i32, ptr %8, align 4, !tbaa !14
  %92 = load i32, ptr %6, align 4, !tbaa !14
  %93 = load double, ptr %11, align 8, !tbaa !9
  %94 = load double, ptr %9, align 8, !tbaa !9
  %95 = load double, ptr %10, align 8, !tbaa !9
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._VlAIB, ptr %96, i32 0, i32 5
  %98 = load i32, ptr %97, align 8, !tbaa !19
  %99 = call i32 (ptr, ...) %89(ptr noundef @.str, i32 noundef %90, i32 noundef %91, i32 noundef %92, double noundef %93, double noundef %94, double noundef %95, i32 noundef %98)
  br label %100

100:                                              ; preds = %88, %31
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %3, align 4, !tbaa !14
  %103 = add i32 %102, 1
  store i32 %103, ptr %3, align 4, !tbaa !14
  br label %18, !llvm.loop !20

104:                                              ; preds = %30, %18
  br label %105

105:                                              ; preds = %121, %104
  %106 = load i32, ptr %3, align 4, !tbaa !14
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct._VlAIB, ptr %107, i32 0, i32 9
  %109 = load i32, ptr %108, align 8, !tbaa !15
  %110 = sub i32 %109, 1
  %111 = icmp ult i32 %106, %110
  br i1 %111, label %112, label %124

112:                                              ; preds = %105
  %113 = load double, ptr @vl_nan_d, align 8, !tbaa !22
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._VlAIB, ptr %114, i32 0, i32 12
  %116 = load ptr, ptr %115, align 8, !tbaa !11
  %117 = load i32, ptr %3, align 4, !tbaa !14
  %118 = add i32 %117, 1
  %119 = zext i32 %118 to i64
  %120 = getelementptr inbounds double, ptr %116, i64 %119
  store double %113, ptr %120, align 8, !tbaa !9
  br label %121

121:                                              ; preds = %112
  %122 = load i32, ptr %3, align 4, !tbaa !14
  %123 = add i32 %122, 1
  store i32 %123, ptr %3, align 4, !tbaa !14
  br label %105, !llvm.loop !23

124:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  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 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

declare ptr @vl_get_printf_func() #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !6, i64 88}
!12 = !{!"_VlAIB", !6, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !13, i64 76, !6, i64 80, !6, i64 88, !13, i64 96}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 72}
!16 = !{!12, !6, i64 0}
!17 = !{!12, !6, i64 80}
!18 = !{!12, !13, i64 96}
!19 = !{!12, !13, i64 40}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !21}


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

%union.anon = type { i64 }

@.str = external hidden unnamed_addr constant [59 x i8], align 1
@vl_nan_d = external hidden local_unnamed_addr constant %union.anon, align 8

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @vl_aib_min_beta(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @vl_aib_merge_nodes(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @vl_aib_calculate_information(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @vl_aib_process(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @vl_aib_calculate_information(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %7 = load double, ptr %4, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 88
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  store double %7, ptr %9, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  %11 = load i32, ptr %10, align 8, !tbaa !13
  %.not42 = icmp eq i32 %11, 1
  br i1 %.not42, label %._crit_edge41, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %12 = getelementptr inbounds i8, ptr %0, i64 80
  %13 = getelementptr inbounds i8, ptr %0, i64 96
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  br label %15

15:                                               ; preds = %.lr.ph, %50
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %50 ]
  call void @vl_aib_update_beta(ptr noundef nonnull %0)
  call void @vl_aib_min_beta(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %6)
  %16 = load double, ptr %6, align 8, !tbaa !5
  %17 = fcmp oeq double %16, 0x7FEFFFFFFFFFFFFF
  %18 = trunc nuw i64 %indvars.iv to i32
  %.pre.pre = load i32, ptr %10, align 8, !tbaa !13
  br i1 %17, label %._crit_edge, label %19

19:                                               ; preds = %15
  %20 = add i32 %.pre.pre, %18
  %21 = load ptr, ptr %0, align 8, !tbaa !14
  %22 = load i32, ptr %2, align 4, !tbaa !15
  %23 = zext i32 %22 to i64
  %24 = getelementptr inbounds i32, ptr %21, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !15
  %26 = load i32, ptr %3, align 4, !tbaa !15
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds i32, ptr %21, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !15
  %30 = load ptr, ptr %12, align 8, !tbaa !16
  %31 = zext i32 %25 to i64
  %32 = getelementptr inbounds i32, ptr %30, i64 %31
  store i32 %20, ptr %32, align 4, !tbaa !15
  %33 = zext i32 %29 to i64
  %34 = getelementptr inbounds i32, ptr %30, i64 %33
  store i32 %20, ptr %34, align 4, !tbaa !15
  %35 = zext i32 %20 to i64
  %36 = getelementptr inbounds i32, ptr %30, i64 %35
  store i32 0, ptr %36, align 4, !tbaa !15
  %37 = load i32, ptr %2, align 4, !tbaa !15
  %38 = load i32, ptr %3, align 4, !tbaa !15
  call void @vl_aib_merge_nodes(ptr noundef nonnull %0, i32 noundef %37, i32 noundef %38, i32 noundef %20)
  call void @vl_aib_calculate_information(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %39 = load double, ptr %4, align 8, !tbaa !5
  %40 = load ptr, ptr %8, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %41 = getelementptr inbounds double, ptr %40, i64 %indvars.iv.next
  store double %39, ptr %41, align 8, !tbaa !5
  %42 = load i32, ptr %13, align 8, !tbaa !17
  %.not = icmp eq i32 %42, 0
  br i1 %.not, label %50, label %43

43:                                               ; preds = %19
  %44 = call ptr @vl_get_printf_func() #3
  %45 = load double, ptr %6, align 8, !tbaa !5
  %46 = load double, ptr %4, align 8, !tbaa !5
  %47 = load double, ptr %5, align 8, !tbaa !5
  %48 = load i32, ptr %14, align 8, !tbaa !18
  %49 = call i32 (ptr, ...) %44(ptr noundef nonnull @.str, i32 noundef %25, i32 noundef %29, i32 noundef %20, double noundef %45, double noundef %46, double noundef %47, i32 noundef %48) #3
  br label %50

50:                                               ; preds = %19, %43
  %51 = load i32, ptr %10, align 8, !tbaa !13
  %52 = add i32 %51, -1
  %53 = zext i32 %52 to i64
  %54 = icmp ult i64 %indvars.iv.next, %53
  br i1 %54, label %15, label %._crit_edge.split.loop.exit, !llvm.loop !19

._crit_edge.split.loop.exit:                      ; preds = %50
  %indvars.le = trunc i64 %indvars.iv.next to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %15, %._crit_edge.split.loop.exit
  %.pre = phi i32 [ %51, %._crit_edge.split.loop.exit ], [ %.pre.pre, %15 ]
  %.0.lcssa.ph = phi i32 [ %indvars.le, %._crit_edge.split.loop.exit ], [ %18, %15 ]
  %55 = add i32 %.pre, -1
  %56 = icmp ult i32 %.0.lcssa.ph, %55
  br i1 %56, label %.lr.ph40, label %._crit_edge41

.lr.ph40:                                         ; preds = %._crit_edge
  %57 = load double, ptr @vl_nan_d, align 8, !tbaa !21
  %58 = load ptr, ptr %8, align 8, !tbaa !9
  %59 = zext i32 %.0.lcssa.ph to i64
  %wide.trip.count = zext i32 %55 to i64
  %60 = sub nsw i64 %wide.trip.count, %59
  %min.iters.check = icmp ult i64 %60, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph40
  %n.vec = and i64 %60, -4
  %ind.end = add nsw i64 %n.vec, %59
  %broadcast.splatinsert = insertelement <2 x double> poison, double %57, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %invariant.gep = getelementptr double, ptr %58, i64 %59
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %gep = getelementptr double, ptr %invariant.gep, i64 %index
  %61 = getelementptr i8, ptr %gep, i64 8
  %62 = getelementptr i8, ptr %gep, i64 24
  store <2 x double> %broadcast.splat, ptr %61, align 8, !tbaa !5
  store <2 x double> %broadcast.splat, ptr %62, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %63 = icmp eq i64 %index.next, %n.vec
  br i1 %63, label %middle.block, label %vector.body, !llvm.loop !22

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

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph40
  %indvars.iv44.ph = phi i64 [ %59, %.lr.ph40 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv44 = phi i64 [ %indvars.iv.next45, %scalar.ph ], [ %indvars.iv44.ph, %scalar.ph.preheader ]
  %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44, 1
  %64 = getelementptr inbounds double, ptr %58, i64 %indvars.iv.next45
  store double %57, ptr %64, align 8, !tbaa !5
  %exitcond.not = icmp eq i64 %indvars.iv.next45, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge41, label %scalar.ph, !llvm.loop !25

._crit_edge41:                                    ; preds = %scalar.ph, %middle.block, %1, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
  ret void
}

declare ptr @vl_get_printf_func() local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 88}
!10 = !{!"_VlAIB", !11, i64 0, !12, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !12, i64 76, !11, i64 80, !11, i64 88, !12, i64 96}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !12, i64 72}
!14 = !{!10, !11, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!10, !11, i64 80}
!17 = !{!10, !12, i64 96}
!18 = !{!10, !12, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !20, !23, !24}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = distinct !{!25, !20, !24, !23}


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