; LLVM IR from tangjz/acm-icpc :: Summer_Training/2016-07-17 (F - Card Collector - tjz)

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

@n = external dso_local global i32, align 4
@p = external dso_local global [20 x double], align 16
@f = external dso_local global [1048576 x double], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  br label %9

9:                                                ; preds = %86, %0
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  %11 = icmp eq i32 %10, 1
  br i1 %11, label %12, label %89

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

13:                                               ; preds = %23, %12
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = load i32, ptr @n, align 4, !tbaa !5
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %26

18:                                               ; preds = %13
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds double, ptr @p, i64 %20
  %22 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %21)
  br label %23

23:                                               ; preds = %18
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %2, align 4, !tbaa !5
  br label %13, !llvm.loop !9

26:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %27 = load i32, ptr @n, align 4, !tbaa !5
  %28 = shl i32 1, %27
  %29 = sub nsw i32 %28, 1
  store i32 %29, ptr %3, align 4, !tbaa !5
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %31
  store double 0.000000e+00, ptr %32, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = sub nsw i32 %33, 1
  store i32 %34, ptr %4, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %83, %26
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = icmp sge i32 %36, 0
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  store i32 7, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %86

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store double 1.000000e+00, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store double 0.000000e+00, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %73, %39
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = load i32, ptr @n, align 4, !tbaa !5
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  store i32 10, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %76

45:                                               ; preds = %40
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = load i32, ptr %8, align 4, !tbaa !5
  %48 = ashr i32 %46, %47
  %49 = xor i32 %48, -1
  %50 = and i32 %49, 1
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %72

52:                                               ; preds = %45
  %53 = load i32, ptr %8, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [20 x double], ptr @p, i64 0, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !11
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = load i32, ptr %8, align 4, !tbaa !5
  %59 = shl i32 1, %58
  %60 = or i32 %57, %59
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !11
  %64 = load double, ptr %6, align 8, !tbaa !11
  %65 = call double @llvm.fmuladd.f64(double %56, double %63, double %64)
  store double %65, ptr %6, align 8, !tbaa !11
  %66 = load i32, ptr %8, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [20 x double], ptr @p, i64 0, i64 %67
  %69 = load double, ptr %68, align 8, !tbaa !11
  %70 = load double, ptr %7, align 8, !tbaa !11
  %71 = fadd double %70, %69
  store double %71, ptr %7, align 8, !tbaa !11
  br label %72

72:                                               ; preds = %52, %45
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %8, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %8, align 4, !tbaa !5
  br label %40, !llvm.loop !13

76:                                               ; preds = %44
  %77 = load double, ptr %6, align 8, !tbaa !11
  %78 = load double, ptr %7, align 8, !tbaa !11
  %79 = fdiv double %77, %78
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %81
  store double %79, ptr %82, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %83

83:                                               ; preds = %76
  %84 = load i32, ptr %4, align 4, !tbaa !5
  %85 = add nsw i32 %84, -1
  store i32 %85, ptr %4, align 4, !tbaa !5
  br label %35, !llvm.loop !14

86:                                               ; preds = %38
  %87 = load double, ptr @f, align 16, !tbaa !11
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %87)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %9, !llvm.loop !15

89:                                               ; preds = %9
  ret i32 0
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #1

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

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

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

declare i32 @printf(ptr noundef, ...) #1

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

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

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


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

@n = external dso_local global i32, align 4
@p = external dso_local global [20 x double], align 16
@f = external dso_local local_unnamed_addr global [1048576 x double], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = icmp eq i32 %1, 1
  br i1 %2, label %.preheader25, label %._crit_edge36

.preheader25:                                     ; preds = %0, %._crit_edge35
  %3 = load i32, ptr @n, align 4, !tbaa !5
  %4 = icmp sgt i32 %3, 0
  br i1 %4, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader25
  %.lcssa = phi i32 [ %3, %.preheader25 ], [ %64, %.lr.ph ]
  %notmask = shl nsw i32 -1, %.lcssa
  %5 = xor i32 %notmask, -1
  %6 = zext nneg i32 %5 to i64
  %7 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %6
  store double 0.000000e+00, ptr %7, align 8, !tbaa !9
  %.not = icmp eq i32 %.lcssa, 0
  br i1 %.not, label %._crit_edge35, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %._crit_edge
  %8 = sub nsw i32 -2, %notmask
  %9 = icmp sgt i32 %.lcssa, 0
  %10 = zext i32 %8 to i64
  br i1 %9, label %.preheader.us.preheader, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader.lr.ph
  %smin = tail call i32 @llvm.smin.i32(i32 %8, i32 0)
  %11 = add i32 %notmask, %smin
  %12 = sub i32 -2, %11
  %13 = zext i32 %12 to i64
  %14 = add nuw nsw i64 %13, 1
  %min.iters.check = icmp ult i32 %12, 3
  br i1 %min.iters.check, label %.preheader.preheader54, label %vector.ph

.preheader.preheader54:                           ; preds = %middle.block, %.preheader.preheader
  %indvars.iv40.ph = phi i64 [ %10, %.preheader.preheader ], [ %ind.end, %middle.block ]
  br label %.preheader

vector.ph:                                        ; preds = %.preheader.preheader
  %n.vec = and i64 %14, 8589934588
  %ind.end = sub nsw i64 %10, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %10, %index
  %15 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %offset.idx
  %16 = getelementptr inbounds i8, ptr %15, i64 -8
  %17 = getelementptr inbounds i8, ptr %15, i64 -24
  store <2 x double> <double 0x7FF0000000000000, double 0x7FF0000000000000>, ptr %16, align 8, !tbaa !9
  store <2 x double> <double 0x7FF0000000000000, double 0x7FF0000000000000>, ptr %17, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %18 = icmp eq i64 %index.next, %n.vec
  br i1 %18, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %14, %n.vec
  br i1 %cmp.n, label %._crit_edge35, label %.preheader.preheader54

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %wide.trip.count = zext nneg i32 %.lcssa to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %19 = icmp eq i32 %.lcssa, 1
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge31.us
  %indvars.iv46 = phi i64 [ %10, %.preheader.us.preheader ], [ %indvars.iv.next47, %._crit_edge31.us ]
  %20 = trunc nuw i64 %indvars.iv46 to i32
  br i1 %19, label %._crit_edge31.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %46
  %indvars.iv43 = phi i64 [ %indvars.iv.next44.1, %46 ], [ 0, %.preheader.us ]
  %.01928.us = phi double [ %.1.us.1, %46 ], [ 0.000000e+00, %.preheader.us ]
  %.02027.us = phi double [ %.121.us.1, %46 ], [ 1.000000e+00, %.preheader.us ]
  %niter = phi i64 [ %niter.next.1, %46 ], [ 0, %.preheader.us ]
  %21 = trunc nuw nsw i64 %indvars.iv43 to i32
  %22 = shl nuw i32 1, %21
  %23 = and i32 %22, %20
  %.not.not.us = icmp eq i32 %23, 0
  br i1 %.not.not.us, label %24, label %33

24:                                               ; preds = %.preheader.us.new
  %25 = getelementptr inbounds [20 x double], ptr @p, i64 0, i64 %indvars.iv43
  %26 = load double, ptr %25, align 16, !tbaa !9
  %27 = or i32 %22, %20
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %28
  %30 = load double, ptr %29, align 8, !tbaa !9
  %31 = tail call double @llvm.fmuladd.f64(double %26, double %30, double %.02027.us)
  %32 = fadd double %.01928.us, %26
  br label %33

33:                                               ; preds = %24, %.preheader.us.new
  %.121.us = phi double [ %31, %24 ], [ %.02027.us, %.preheader.us.new ]
  %.1.us = phi double [ %32, %24 ], [ %.01928.us, %.preheader.us.new ]
  %indvars.iv.next44 = or disjoint i64 %indvars.iv43, 1
  %34 = trunc nuw nsw i64 %indvars.iv.next44 to i32
  %35 = shl nuw i32 1, %34
  %36 = and i32 %35, %20
  %.not.not.us.1 = icmp eq i32 %36, 0
  br i1 %.not.not.us.1, label %37, label %46

37:                                               ; preds = %33
  %38 = getelementptr inbounds [20 x double], ptr @p, i64 0, i64 %indvars.iv.next44
  %39 = load double, ptr %38, align 8, !tbaa !9
  %40 = or i32 %35, %20
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %41
  %43 = load double, ptr %42, align 8, !tbaa !9
  %44 = tail call double @llvm.fmuladd.f64(double %39, double %43, double %.121.us)
  %45 = fadd double %.1.us, %39
  br label %46

46:                                               ; preds = %37, %33
  %.121.us.1 = phi double [ %44, %37 ], [ %.121.us, %33 ]
  %.1.us.1 = phi double [ %45, %37 ], [ %.1.us, %33 ]
  %indvars.iv.next44.1 = add nuw nsw i64 %indvars.iv43, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge31.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !15

._crit_edge31.us.unr-lcssa:                       ; preds = %46, %.preheader.us
  %.121.us.lcssa.ph = phi double [ poison, %.preheader.us ], [ %.121.us.1, %46 ]
  %.1.us.lcssa.ph = phi double [ poison, %.preheader.us ], [ %.1.us.1, %46 ]
  %indvars.iv43.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next44.1, %46 ]
  %.01928.us.unr = phi double [ 0.000000e+00, %.preheader.us ], [ %.1.us.1, %46 ]
  %.02027.us.unr = phi double [ 1.000000e+00, %.preheader.us ], [ %.121.us.1, %46 ]
  br i1 %lcmp.mod.not, label %._crit_edge31.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge31.us.unr-lcssa
  %47 = trunc nuw nsw i64 %indvars.iv43.unr to i32
  %48 = shl nuw i32 1, %47
  %49 = and i32 %48, %20
  %.not.not.us.epil = icmp eq i32 %49, 0
  br i1 %.not.not.us.epil, label %50, label %._crit_edge31.us

50:                                               ; preds = %.epil.preheader
  %51 = getelementptr inbounds [20 x double], ptr @p, i64 0, i64 %indvars.iv43.unr
  %52 = load double, ptr %51, align 8, !tbaa !9
  %53 = or i32 %48, %20
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !9
  %57 = tail call double @llvm.fmuladd.f64(double %52, double %56, double %.02027.us.unr)
  %58 = fadd double %.01928.us.unr, %52
  br label %._crit_edge31.us

._crit_edge31.us:                                 ; preds = %.epil.preheader, %50, %._crit_edge31.us.unr-lcssa
  %.121.us.lcssa = phi double [ %.121.us.lcssa.ph, %._crit_edge31.us.unr-lcssa ], [ %57, %50 ], [ %.02027.us.unr, %.epil.preheader ]
  %.1.us.lcssa = phi double [ %.1.us.lcssa.ph, %._crit_edge31.us.unr-lcssa ], [ %58, %50 ], [ %.01928.us.unr, %.epil.preheader ]
  %59 = fdiv double %.121.us.lcssa, %.1.us.lcssa
  %60 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %indvars.iv46
  store double %59, ptr %60, align 8, !tbaa !9
  %indvars.iv.next47 = add nsw i64 %indvars.iv46, -1
  %61 = icmp sgt i32 %20, 0
  br i1 %61, label %.preheader.us, label %._crit_edge35, !llvm.loop !16

.lr.ph:                                           ; preds = %.preheader25, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader25 ]
  %62 = getelementptr inbounds double, ptr @p, i64 %indvars.iv
  %63 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %62)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %64 = load i32, ptr @n, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = icmp slt i64 %indvars.iv.next, %65
  br i1 %66, label %.lr.ph, label %._crit_edge, !llvm.loop !17

.preheader:                                       ; preds = %.preheader.preheader54, %.preheader
  %indvars.iv40 = phi i64 [ %indvars.iv.next41, %.preheader ], [ %indvars.iv40.ph, %.preheader.preheader54 ]
  %67 = getelementptr inbounds [1048576 x double], ptr @f, i64 0, i64 %indvars.iv40
  store double 0x7FF0000000000000, ptr %67, align 8, !tbaa !9
  %indvars.iv.next41 = add nsw i64 %indvars.iv40, -1
  %68 = trunc nuw i64 %indvars.iv40 to i32
  %69 = icmp sgt i32 %68, 0
  br i1 %69, label %.preheader, label %._crit_edge35, !llvm.loop !18

._crit_edge35:                                    ; preds = %.preheader, %._crit_edge31.us, %middle.block, %._crit_edge
  %70 = load double, ptr @f, align 16, !tbaa !9
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %70)
  %72 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %73 = icmp eq i32 %72, 1
  br i1 %73, label %.preheader25, label %._crit_edge36, !llvm.loop !19

._crit_edge36:                                    ; preds = %._crit_edge35, %0
  ret i32 0
}

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3

attributes #0 = { mustprogress nofree norecurse 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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12, !14, !13}
!19 = distinct !{!19, !12}


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