; LLVM IR from clausecker/24puzzle :: quality (pdb_h_average)

; 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.index = type { i32, i32, i32 }
%struct.patterndb = type { %struct.index_aux, i32, ptr, [16 x i8] }
%struct.index_aux = type { [32 x i8], [16 x i8], i32, i32, i32, i32, i32, ptr, [16 x i8] }

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_count(ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pdb_entry_pointer(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden double @region_bias(i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_from_index(ptr noundef, ptr noundef) #3

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

; 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
define dso_local double @pdb_h_average(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca %struct.index, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.patterndb, ptr %9, i32 0, i32 0
  store ptr %10, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store double 0.000000e+00, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #5
  %11 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 0
  store i32 0, ptr %11, align 4, !tbaa !11
  %12 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  store i32 0, ptr %12, align 4, !tbaa !14
  br label %13

13:                                               ; preds = %64, %1
  %14 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  %15 = load i32, ptr %14, align 4, !tbaa !14
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.index_aux, ptr %16, i32 0, i32 3
  %18 = load i32, ptr %17, align 4, !tbaa !15
  %19 = icmp ult i32 %15, %18
  br i1 %19, label %20, label %68

20:                                               ; preds = %13
  %21 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 2
  store i32 0, ptr %21, align 4, !tbaa !17
  br label %22

22:                                               ; preds = %59, %20
  %23 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 2
  %24 = load i32, ptr %23, align 4, !tbaa !17
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !14
  %28 = call i32 @eqclass_count(ptr noundef %25, i32 noundef %27)
  %29 = icmp ult i32 %24, %28
  br i1 %29, label %30, label %63

30:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store i64 0, ptr %6, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = call ptr @pdb_entry_pointer(ptr noundef %31, ptr noundef %5)
  store ptr %32, ptr %8, align 8, !tbaa !5
  store i64 0, ptr %7, align 8, !tbaa !20
  br label %33

33:                                               ; preds = %48, %30
  %34 = load i64, ptr %7, align 8, !tbaa !20
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.index_aux, ptr %35, i32 0, i32 4
  %37 = load i32, ptr %36, align 8, !tbaa !22
  %38 = zext i32 %37 to i64
  %39 = icmp ult i64 %34, %38
  br i1 %39, label %40, label %51

40:                                               ; preds = %33
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = load i64, ptr %7, align 8, !tbaa !20
  %43 = getelementptr inbounds i8, ptr %41, i64 %42
  %44 = load i8, ptr %43, align 1, !tbaa !23
  %45 = zext i8 %44 to i64
  %46 = load i64, ptr %6, align 8, !tbaa !18
  %47 = add i64 %46, %45
  store i64 %47, ptr %6, align 8, !tbaa !18
  br label %48

48:                                               ; preds = %40
  %49 = load i64, ptr %7, align 8, !tbaa !20
  %50 = add i64 %49, 1
  store i64 %50, ptr %7, align 8, !tbaa !20
  br label %33, !llvm.loop !24

51:                                               ; preds = %33
  %52 = load i64, ptr %6, align 8, !tbaa !18
  %53 = uitofp i64 %52 to double
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = call i32 @eqclass_from_index(ptr noundef %54, ptr noundef %5)
  %56 = call double @region_bias(i32 noundef %55)
  %57 = load double, ptr %4, align 8, !tbaa !9
  %58 = call double @llvm.fmuladd.f64(double %53, double %56, double %57)
  store double %58, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %59

59:                                               ; preds = %51
  %60 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 2
  %61 = load i32, ptr %60, align 4, !tbaa !17
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %60, align 4, !tbaa !17
  br label %22, !llvm.loop !26

63:                                               ; preds = %22
  br label %64

64:                                               ; preds = %63
  %65 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  %66 = load i32, ptr %65, align 4, !tbaa !14
  %67 = add i32 %66, 1
  store i32 %67, ptr %65, align 4, !tbaa !14
  br label %13, !llvm.loop !27

68:                                               ; preds = %13
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.index_aux, ptr %69, i32 0, i32 4
  %71 = load i32, ptr %70, align 8, !tbaa !22
  %72 = uitofp i32 %71 to double
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.index_aux, ptr %73, i32 0, i32 2
  %75 = load i32, ptr %74, align 16, !tbaa !28
  %76 = sub i32 25, %75
  %77 = uitofp i32 %76 to double
  %78 = fmul double %72, %77
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.index_aux, ptr %79, i32 0, i32 3
  %81 = load i32, ptr %80, align 4, !tbaa !15
  %82 = uitofp i32 %81 to double
  %83 = fmul double %78, %82
  %84 = load double, ptr %4, align 8, !tbaa !9
  %85 = fdiv double %84, %83
  store double %85, ptr %4, align 8, !tbaa !9
  %86 = load double, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret double %86
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { 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 #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !13, i64 0}
!12 = !{!"index", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!16, !13, i64 52}
!16 = !{!"index_aux", !7, i64 0, !7, i64 32, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !6, i64 72}
!17 = !{!12, !13, i64 8}
!18 = !{!19, !19, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!16, !13, i64 56}
!23 = !{!7, !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}
!28 = !{!16, !13, i64 48}


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

%struct.index = type { i32, i32, i32 }

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_count(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pdb_entry_pointer(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden double @region_bias(i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_from_index(ptr noundef, ptr noundef) local_unnamed_addr #3

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

; 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
define dso_local double @pdb_h_average(ptr noundef %0) local_unnamed_addr #2 {
  %2 = alloca %struct.index, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 4
  %4 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 0, ptr %3, align 4, !tbaa !10
  %5 = load i32, ptr %4, align 4, !tbaa !11
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %._crit_edge31, label %.lr.ph30

.lr.ph30:                                         ; preds = %1
  %6 = getelementptr inbounds i8, ptr %2, i64 8
  %7 = getelementptr inbounds i8, ptr %0, i64 56
  br label %8

8:                                                ; preds = %.lr.ph30, %._crit_edge26
  %9 = phi i32 [ 0, %.lr.ph30 ], [ %70, %._crit_edge26 ]
  %.028 = phi double [ 0.000000e+00, %.lr.ph30 ], [ %.1.lcssa, %._crit_edge26 ]
  store i32 0, ptr %6, align 4, !tbaa !14
  %10 = call i32 @eqclass_count(ptr noundef nonnull %0, i32 noundef %9)
  %.not34 = icmp eq i32 %10, 0
  br i1 %.not34, label %._crit_edge26, label %.lr.ph25

.lr.ph25:                                         ; preds = %8, %._crit_edge
  %.123 = phi double [ %63, %._crit_edge ], [ %.028, %8 ]
  %11 = call ptr @pdb_entry_pointer(ptr noundef %0, ptr noundef nonnull %2)
  %12 = load i32, ptr %7, align 8, !tbaa !15
  %13 = zext i32 %12 to i64
  %.not35 = icmp eq i32 %12, 0
  br i1 %.not35, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph25
  %xtraiter = and i64 %13, 7
  %14 = icmp ult i32 %12, 8
  br i1 %14, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %13, 4294967288
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.01722 = phi i64 [ 0, %.lr.ph.preheader.new ], [ %54, %.lr.ph ]
  %.01821 = phi i64 [ 0, %.lr.ph.preheader.new ], [ %53, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  %15 = getelementptr inbounds i8, ptr %11, i64 %.01722
  %16 = load i8, ptr %15, align 1, !tbaa !16
  %17 = zext i8 %16 to i64
  %18 = add i64 %.01821, %17
  %19 = or disjoint i64 %.01722, 1
  %20 = getelementptr inbounds i8, ptr %11, i64 %19
  %21 = load i8, ptr %20, align 1, !tbaa !16
  %22 = zext i8 %21 to i64
  %23 = add i64 %18, %22
  %24 = or disjoint i64 %.01722, 2
  %25 = getelementptr inbounds i8, ptr %11, i64 %24
  %26 = load i8, ptr %25, align 1, !tbaa !16
  %27 = zext i8 %26 to i64
  %28 = add i64 %23, %27
  %29 = or disjoint i64 %.01722, 3
  %30 = getelementptr inbounds i8, ptr %11, i64 %29
  %31 = load i8, ptr %30, align 1, !tbaa !16
  %32 = zext i8 %31 to i64
  %33 = add i64 %28, %32
  %34 = or disjoint i64 %.01722, 4
  %35 = getelementptr inbounds i8, ptr %11, i64 %34
  %36 = load i8, ptr %35, align 1, !tbaa !16
  %37 = zext i8 %36 to i64
  %38 = add i64 %33, %37
  %39 = or disjoint i64 %.01722, 5
  %40 = getelementptr inbounds i8, ptr %11, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !16
  %42 = zext i8 %41 to i64
  %43 = add i64 %38, %42
  %44 = or disjoint i64 %.01722, 6
  %45 = getelementptr inbounds i8, ptr %11, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !16
  %47 = zext i8 %46 to i64
  %48 = add i64 %43, %47
  %49 = or disjoint i64 %.01722, 7
  %50 = getelementptr inbounds i8, ptr %11, i64 %49
  %51 = load i8, ptr %50, align 1, !tbaa !16
  %52 = zext i8 %51 to i64
  %53 = add i64 %48, %52
  %54 = add nuw nsw i64 %.01722, 8
  %niter.next.7 = add i64 %niter, 8
  %niter.ncmp.7 = icmp eq i64 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !17

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa45.ph = phi i64 [ poison, %.lr.ph.preheader ], [ %53, %.lr.ph ]
  %.01722.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %54, %.lr.ph ]
  %.01821.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %53, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %.01722.epil = phi i64 [ %59, %.lr.ph.epil ], [ %.01722.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.01821.epil = phi i64 [ %58, %.lr.ph.epil ], [ %.01821.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %55 = getelementptr inbounds i8, ptr %11, i64 %.01722.epil
  %56 = load i8, ptr %55, align 1, !tbaa !16
  %57 = zext i8 %56 to i64
  %58 = add i64 %.01821.epil, %57
  %59 = add nuw nsw i64 %.01722.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 %.lr.ph.epil, !llvm.loop !19

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %.lr.ph25
  %.018.lcssa = phi i64 [ 0, %.lr.ph25 ], [ %.lcssa45.ph, %._crit_edge.loopexit.unr-lcssa ], [ %58, %.lr.ph.epil ]
  %60 = uitofp i64 %.018.lcssa to double
  %61 = call i32 @eqclass_from_index(ptr noundef nonnull %0, ptr noundef nonnull %2)
  %62 = call double @region_bias(i32 noundef %61)
  %63 = call double @llvm.fmuladd.f64(double %60, double %62, double %.123)
  %64 = load i32, ptr %6, align 4, !tbaa !14
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %6, align 4, !tbaa !14
  %66 = load i32, ptr %3, align 4, !tbaa !10
  %67 = call i32 @eqclass_count(ptr noundef nonnull %0, i32 noundef %66)
  %68 = icmp ult i32 %65, %67
  br i1 %68, label %.lr.ph25, label %._crit_edge26, !llvm.loop !21

._crit_edge26:                                    ; preds = %._crit_edge, %8
  %.1.lcssa = phi double [ %.028, %8 ], [ %63, %._crit_edge ]
  %69 = load i32, ptr %3, align 4, !tbaa !10
  %70 = add i32 %69, 1
  store i32 %70, ptr %3, align 4, !tbaa !10
  %71 = load i32, ptr %4, align 4, !tbaa !11
  %72 = icmp ult i32 %70, %71
  br i1 %72, label %8, label %._crit_edge31.loopexit, !llvm.loop !22

._crit_edge31.loopexit:                           ; preds = %._crit_edge26
  %73 = uitofp i32 %71 to double
  br label %._crit_edge31

._crit_edge31:                                    ; preds = %._crit_edge31.loopexit, %1
  %.0.lcssa = phi double [ 0.000000e+00, %1 ], [ %.1.lcssa, %._crit_edge31.loopexit ]
  %.lcssa = phi double [ 0.000000e+00, %1 ], [ %73, %._crit_edge31.loopexit ]
  %74 = getelementptr inbounds i8, ptr %0, i64 56
  %75 = load i32, ptr %74, align 8, !tbaa !15
  %76 = uitofp i32 %75 to double
  %77 = getelementptr inbounds i8, ptr %0, i64 48
  %78 = load i32, ptr %77, align 16, !tbaa !23
  %79 = sub i32 25, %78
  %80 = uitofp i32 %79 to double
  %81 = fmul double %76, %80
  %82 = fmul double %81, %.lcssa
  %83 = fdiv double %.0.lcssa, %82
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #5
  ret double %83
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { 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 #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 = { 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, !7, i64 0}
!6 = !{!"index", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !7, i64 52}
!12 = !{!"index_aux", !8, i64 0, !8, i64 32, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !13, i64 72}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!12, !7, i64 56}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.unroll.disable"}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = !{!12, !7, i64 48}


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