; LLVM IR from caryll/otfcc :: lib/table/otl/subtables/chaining (classifier)

; 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.__caryll_elementinterface_subtable_chaining = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._otl_lookup = type { ptr, i32, i32, i16, %struct.otl_SubtableList }
%struct.otl_SubtableList = type { i64, i64, ptr }
%struct.subtable_chaining = type { i32, %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { i16, ptr, ptr, ptr, ptr }
%struct.caryll_Buffer = type { i64, i64, i64, ptr }

@iSubtable_chaining = external constant %struct.__caryll_elementinterface_subtable_chaining, align 8

; Function Attrs: nounwind uwtable
declare dso_local zeroext i16 @tryClassifyAround(ptr noundef, i16 noundef zeroext, ptr noundef) #0

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @__caryll_allocate_clean(i64 noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i16 @otfcc_classifiedBuildChaining(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i16, align 2
  %9 = alloca i16, align 2
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = call zeroext i1 @otfcc_chainingLookupIsContextualLookup(ptr noundef %14)
  %16 = zext i1 %15 to i8
  store i8 %16, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #4
  store i16 0, ptr %8, align 2, !tbaa !11
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._otl_lookup, ptr %17, i32 0, i32 4
  %19 = getelementptr inbounds %struct.otl_SubtableList, ptr %18, i32 0, i32 0
  %20 = load i64, ptr %19, align 8, !tbaa !13
  %21 = mul i64 8, %20
  %22 = call ptr @__caryll_allocate_clean(i64 noundef %21, i64 noundef 223)
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %22, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #4
  store i16 0, ptr %9, align 2, !tbaa !11
  br label %24

24:                                               ; preds = %93, %3
  %25 = load i16, ptr %9, align 2, !tbaa !11
  %26 = zext i16 %25 to i64
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._otl_lookup, ptr %27, i32 0, i32 4
  %29 = getelementptr inbounds %struct.otl_SubtableList, ptr %28, i32 0, i32 0
  %30 = load i64, ptr %29, align 8, !tbaa !13
  %31 = icmp ult i64 %26, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %24
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #4
  br label %96

33:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._otl_lookup, ptr %34, i32 0, i32 4
  %36 = getelementptr inbounds %struct.otl_SubtableList, ptr %35, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !18
  %38 = load i16, ptr %9, align 2, !tbaa !11
  %39 = zext i16 %38 to i64
  %40 = getelementptr inbounds ptr, ptr %37, i64 %39
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  store ptr %41, ptr %11, align 8, !tbaa !5
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.subtable_chaining, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !19
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %33
  store i32 4, ptr %10, align 4
  br label %90

47:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %48, ptr %12, align 8, !tbaa !5
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load i16, ptr %9, align 2, !tbaa !11
  %51 = call zeroext i16 @tryClassifyAround(ptr noundef %49, i16 noundef zeroext %50, ptr noundef %12)
  %52 = zext i16 %51 to i32
  %53 = load i16, ptr %9, align 2, !tbaa !11
  %54 = zext i16 %53 to i32
  %55 = add nsw i32 %54, %52
  %56 = trunc i32 %55 to i16
  store i16 %56, ptr %9, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %57 = load i8, ptr %7, align 1, !tbaa !9, !range !21, !noundef !22
  %58 = trunc i8 %57 to i1
  br i1 %58, label %59, label %62

59:                                               ; preds = %47
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = call ptr @otfcc_build_contextual(ptr noundef %60)
  br label %65

62:                                               ; preds = %47
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = call ptr @otfcc_build_chaining(ptr noundef %63)
  br label %65

65:                                               ; preds = %62, %59
  %66 = phi ptr [ %61, %59 ], [ %64, %62 ]
  store ptr %66, ptr %13, align 8, !tbaa !5
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = icmp ne ptr %67, %68
  br i1 %69, label %70, label %73

70:                                               ; preds = %65
  %71 = load ptr, ptr getelementptr inbounds (%struct.__caryll_elementinterface_subtable_chaining, ptr @iSubtable_chaining, i32 0, i32 7), align 8, !tbaa !23
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  call void %71(ptr noundef %72)
  br label %73

73:                                               ; preds = %70, %65
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = load i16, ptr %8, align 2, !tbaa !11
  %78 = zext i16 %77 to i64
  %79 = getelementptr inbounds ptr, ptr %76, i64 %78
  store ptr %74, ptr %79, align 8, !tbaa !5
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.caryll_Buffer, ptr %80, i32 0, i32 1
  %82 = load i64, ptr %81, align 8, !tbaa !25
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = load i64, ptr %83, align 8, !tbaa !27
  %85 = add i64 %84, %82
  store i64 %85, ptr %83, align 8, !tbaa !27
  %86 = load i16, ptr %8, align 2, !tbaa !11
  %87 = zext i16 %86 to i32
  %88 = add nsw i32 %87, 1
  %89 = trunc i32 %88 to i16
  store i16 %89, ptr %8, align 2, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  store i32 0, ptr %10, align 4
  br label %90

90:                                               ; preds = %73, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %91 = load i32, ptr %10, align 4
  switch i32 %91, label %98 [
    i32 0, label %92
    i32 4, label %93
  ]

92:                                               ; preds = %90
  br label %93

93:                                               ; preds = %92, %90
  %94 = load i16, ptr %9, align 2, !tbaa !11
  %95 = add i16 %94, 1
  store i16 %95, ptr %9, align 2, !tbaa !11
  br label %24, !llvm.loop !28

96:                                               ; preds = %32
  %97 = load i16, ptr %8, align 2, !tbaa !11
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  ret i16 %97

98:                                               ; preds = %90
  unreachable
}

declare zeroext i1 @otfcc_chainingLookupIsContextualLookup(ptr noundef) #3

declare ptr @otfcc_build_contextual(ptr noundef) #3

declare ptr @otfcc_build_chaining(ptr noundef) #3

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { 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 = !{!"_Bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !17, i64 24}
!14 = !{!"_otl_lookup", !6, i64 0, !15, i64 8, !15, i64 12, !12, i64 16, !16, i64 24}
!15 = !{!"int", !7, i64 0}
!16 = !{!"", !17, i64 0, !17, i64 8, !6, i64 16}
!17 = !{!"long", !7, i64 0}
!18 = !{!14, !6, i64 40}
!19 = !{!20, !15, i64 0}
!20 = !{!"", !15, i64 0, !7, i64 8}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !6, i64 56}
!24 = !{!"__caryll_elementinterface_subtable_chaining", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!25 = !{!26, !17, i64 8}
!26 = !{!"caryll_Buffer", !17, i64 0, !17, i64 8, !17, i64 16, !6, i64 24}
!27 = !{!17, !17, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


; 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.__caryll_elementinterface_subtable_chaining = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@iSubtable_chaining = external local_unnamed_addr constant %struct.__caryll_elementinterface_subtable_chaining, align 8

; Function Attrs: nounwind uwtable
declare dso_local zeroext i16 @tryClassifyAround(ptr noundef, i16 noundef zeroext, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @__caryll_allocate_clean(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i16 @otfcc_classifiedBuildChaining(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
  %4 = alloca ptr, align 8
  %5 = tail call zeroext i1 @otfcc_chainingLookupIsContextualLookup(ptr noundef %0) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = shl i64 %7, 3
  %9 = tail call ptr @__caryll_allocate_clean(i64 noundef %8, i64 noundef 223)
  store ptr %9, ptr %1, align 8, !tbaa !14
  %10 = load i64, ptr %6, align 8, !tbaa !5
  %.not28 = icmp eq i64 %10, 0
  br i1 %.not28, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = load ptr, ptr getelementptr inbounds (i8, ptr @iSubtable_chaining, i64 56), align 8
  %.fr = freeze i1 %5
  br i1 %.fr, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %35
  %13 = phi i64 [ %36, %35 ], [ %10, %.lr.ph ]
  %14 = phi i64 [ %38, %35 ], [ 0, %.lr.ph ]
  %.027.us = phi i16 [ %.1.us, %35 ], [ 0, %.lr.ph ]
  %.02126.us = phi i16 [ %37, %35 ], [ 0, %.lr.ph ]
  %15 = load ptr, ptr %11, align 8, !tbaa !15
  %16 = getelementptr inbounds ptr, ptr %15, i64 %14
  %17 = load ptr, ptr %16, align 8, !tbaa !14
  %18 = load i32, ptr %17, align 8, !tbaa !16
  %.not.us = icmp eq i32 %18, 0
  br i1 %.not.us, label %19, label %35

19:                                               ; preds = %.lr.ph.split.us
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  store ptr %17, ptr %4, align 8, !tbaa !14
  %20 = call zeroext i16 @tryClassifyAround(ptr noundef nonnull %0, i16 noundef zeroext %.02126.us, ptr noundef nonnull %4)
  %21 = add i16 %20, %.02126.us
  %22 = load ptr, ptr %4, align 8, !tbaa !14
  %23 = call ptr @otfcc_build_contextual(ptr noundef %22) #4
  %24 = load ptr, ptr %4, align 8, !tbaa !14
  %.not25.us = icmp eq ptr %24, %17
  br i1 %.not25.us, label %26, label %25

25:                                               ; preds = %19
  call void %12(ptr noundef %24) #4
  br label %26

26:                                               ; preds = %25, %19
  %27 = load ptr, ptr %1, align 8, !tbaa !14
  %28 = zext i16 %.027.us to i64
  %29 = getelementptr inbounds ptr, ptr %27, i64 %28
  store ptr %23, ptr %29, align 8, !tbaa !14
  %30 = getelementptr inbounds i8, ptr %23, i64 8
  %31 = load i64, ptr %30, align 8, !tbaa !18
  %32 = load i64, ptr %2, align 8, !tbaa !20
  %33 = add i64 %32, %31
  store i64 %33, ptr %2, align 8, !tbaa !20
  %34 = add i16 %.027.us, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  %.pre30 = load i64, ptr %6, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %26, %.lr.ph.split.us
  %36 = phi i64 [ %.pre30, %26 ], [ %13, %.lr.ph.split.us ]
  %.122.us = phi i16 [ %21, %26 ], [ %.02126.us, %.lr.ph.split.us ]
  %.1.us = phi i16 [ %34, %26 ], [ %.027.us, %.lr.ph.split.us ]
  %37 = add i16 %.122.us, 1
  %38 = zext i16 %37 to i64
  %39 = icmp ugt i64 %36, %38
  br i1 %39, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !21

._crit_edge:                                      ; preds = %62, %35, %3
  %.0.lcssa = phi i16 [ 0, %3 ], [ %.1.us, %35 ], [ %.1, %62 ]
  ret i16 %.0.lcssa

.lr.ph.split:                                     ; preds = %.lr.ph, %62
  %40 = phi i64 [ %63, %62 ], [ %10, %.lr.ph ]
  %41 = phi i64 [ %65, %62 ], [ 0, %.lr.ph ]
  %.027 = phi i16 [ %.1, %62 ], [ 0, %.lr.ph ]
  %.02126 = phi i16 [ %64, %62 ], [ 0, %.lr.ph ]
  %42 = load ptr, ptr %11, align 8, !tbaa !15
  %43 = getelementptr inbounds ptr, ptr %42, i64 %41
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  %45 = load i32, ptr %44, align 8, !tbaa !16
  %.not = icmp eq i32 %45, 0
  br i1 %.not, label %46, label %62

46:                                               ; preds = %.lr.ph.split
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  store ptr %44, ptr %4, align 8, !tbaa !14
  %47 = call zeroext i16 @tryClassifyAround(ptr noundef nonnull %0, i16 noundef zeroext %.02126, ptr noundef nonnull %4)
  %48 = add i16 %47, %.02126
  %49 = load ptr, ptr %4, align 8, !tbaa !14
  %50 = call ptr @otfcc_build_chaining(ptr noundef %49) #4
  %51 = load ptr, ptr %4, align 8, !tbaa !14
  %.not25 = icmp eq ptr %51, %44
  br i1 %.not25, label %53, label %52

52:                                               ; preds = %46
  call void %12(ptr noundef %51) #4
  br label %53

53:                                               ; preds = %52, %46
  %54 = load ptr, ptr %1, align 8, !tbaa !14
  %55 = zext i16 %.027 to i64
  %56 = getelementptr inbounds ptr, ptr %54, i64 %55
  store ptr %50, ptr %56, align 8, !tbaa !14
  %57 = getelementptr inbounds i8, ptr %50, i64 8
  %58 = load i64, ptr %57, align 8, !tbaa !18
  %59 = load i64, ptr %2, align 8, !tbaa !20
  %60 = add i64 %59, %58
  store i64 %60, ptr %2, align 8, !tbaa !20
  %61 = add i16 %.027, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  %.pre = load i64, ptr %6, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %.lr.ph.split, %53
  %63 = phi i64 [ %.pre, %53 ], [ %40, %.lr.ph.split ]
  %.122 = phi i16 [ %48, %53 ], [ %.02126, %.lr.ph.split ]
  %.1 = phi i16 [ %61, %53 ], [ %.027, %.lr.ph.split ]
  %64 = add i16 %.122, 1
  %65 = zext i16 %64 to i64
  %66 = icmp ugt i64 %63, %65
  br i1 %66, label %.lr.ph.split, label %._crit_edge, !llvm.loop !21
}

declare zeroext i1 @otfcc_chainingLookupIsContextualLookup(ptr noundef) local_unnamed_addr #3

declare ptr @otfcc_build_contextual(ptr noundef) local_unnamed_addr #3

declare ptr @otfcc_build_chaining(ptr noundef) local_unnamed_addr #3

attributes #0 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { 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, !13, i64 24}
!6 = !{!"_otl_lookup", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !12, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 8, !7, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 40}
!16 = !{!17, !10, i64 0}
!17 = !{!"", !10, i64 0, !8, i64 8}
!18 = !{!19, !13, i64 8}
!19 = !{!"caryll_Buffer", !13, i64 0, !13, i64 8, !13, i64 16, !7, i64 24}
!20 = !{!13, !13, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


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