; LLVM IR from tezc/sc :: timer (timer_test)

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

@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@count = external dso_local global i32, align 4
@ids = external dso_local global [1000 x i64], align 16
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__.test4 = external hidden unnamed_addr constant [17 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; 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 @sleep_ms(i64 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @callback(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

declare void @sc_timer_init(ptr noundef, i64 noundef) #3

declare i64 @sc_timer_add(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

; Function Attrs: nounwind
declare i32 @rand() #4

declare i64 @sc_timer_timeout(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

declare void @sc_timer_term(ptr noundef) #3

declare void @sc_timer_cancel(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @test4() #2 {
  %1 = alloca %struct.sc_timer, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %1) #5
  call void @sc_timer_init(ptr noundef %1, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %8

8:                                                ; preds = %35, %0
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = icmp slt i32 %9, 1000
  br i1 %10, label %12, label %11

11:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %38

12:                                               ; preds = %8
  %13 = call i32 @rand() #5
  %14 = srem i32 %13, 20
  %15 = sext i32 %14 to i64
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = inttoptr i64 %19 to ptr
  %21 = call i64 @sc_timer_add(ptr noundef %1, i64 noundef %15, i64 noundef %17, ptr noundef %20)
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %23
  store i64 %21, ptr %24, align 8, !tbaa !9
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %26
  %28 = load i64, ptr %27, align 8, !tbaa !9
  %29 = icmp ne i64 %28, -1
  br i1 %29, label %30, label %31

30:                                               ; preds = %12
  br label %32

31:                                               ; preds = %12
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 239, ptr noundef @__PRETTY_FUNCTION__.test4) #6
  unreachable

32:                                               ; preds = %30
  %33 = load i32, ptr @count, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr @count, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %32
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %2, align 4, !tbaa !5
  br label %8, !llvm.loop !11

38:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %49, %38
  %40 = load i32, ptr %3, align 4, !tbaa !5
  %41 = icmp slt i32 %40, 1000
  br i1 %41, label %43, label %42

42:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %52

43:                                               ; preds = %39
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %45
  call void @sc_timer_cancel(ptr noundef %1, ptr noundef %46)
  %47 = load i32, ptr @count, align 4, !tbaa !5
  %48 = add nsw i32 %47, -1
  store i32 %48, ptr @count, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %43
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = add nsw i32 %50, 2
  store i32 %51, ptr %3, align 4, !tbaa !5
  br label %39, !llvm.loop !13

52:                                               ; preds = %42
  %53 = load i32, ptr @count, align 4, !tbaa !5
  %54 = icmp eq i32 %53, 500
  br i1 %54, label %55, label %56

55:                                               ; preds = %52
  br label %57

56:                                               ; preds = %52
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 248, ptr noundef @__PRETTY_FUNCTION__.test4) #6
  unreachable

57:                                               ; preds = %55
  call void @sc_timer_cancel(ptr noundef %1, ptr noundef @ids)
  %58 = load i32, ptr @count, align 4, !tbaa !5
  %59 = icmp eq i32 %58, 500
  br i1 %59, label %60, label %61

60:                                               ; preds = %57
  br label %62

61:                                               ; preds = %57
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 250, ptr noundef @__PRETTY_FUNCTION__.test4) #6
  unreachable

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 10000, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %75, %62
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = icmp sgt i32 %64, 0
  br i1 %65, label %66, label %81

66:                                               ; preds = %63
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = add nsw i32 %67, 500
  store i32 %68, ptr %6, align 4, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = call i64 @sc_timer_timeout(ptr noundef %1, i64 noundef %70, ptr noundef inttoptr (i64 333 to ptr), ptr noundef @callback)
  store i64 %71, ptr %5, align 8, !tbaa !9
  %72 = load i32, ptr @count, align 4, !tbaa !5
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %66
  br label %81

75:                                               ; preds = %66
  %76 = load i64, ptr %5, align 8, !tbaa !9
  %77 = trunc i64 %76 to i32
  %78 = load i32, ptr %4, align 4, !tbaa !5
  %79 = sub nsw i32 %78, %77
  store i32 %79, ptr %4, align 4, !tbaa !5
  %80 = load i64, ptr %5, align 8, !tbaa !9
  call void @sleep_ms(i64 noundef %80)
  br label %63, !llvm.loop !14

81:                                               ; preds = %74, %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %95, %81
  %83 = load i32, ptr %7, align 4, !tbaa !5
  %84 = icmp slt i32 %83, 500
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %98

86:                                               ; preds = %82
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %88
  %90 = load i64, ptr %89, align 8, !tbaa !9
  %91 = icmp eq i64 %90, -1
  br i1 %91, label %92, label %93

92:                                               ; preds = %86
  br label %94

93:                                               ; preds = %86
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 267, ptr noundef @__PRETTY_FUNCTION__.test4) #6
  unreachable

94:                                               ; preds = %92
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %7, align 4, !tbaa !5
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %7, align 4, !tbaa !5
  br label %82, !llvm.loop !15

98:                                               ; preds = %85
  call void @sc_timer_term(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 "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 = { nounwind }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


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

@.str.1 = external hidden unnamed_addr constant [60 x i8], align 1
@count = external dso_local local_unnamed_addr global i32, align 4
@ids = external dso_local global [1000 x i64], align 16
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__.test4 = external hidden unnamed_addr constant [17 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; 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 @sleep_ms(i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @callback(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

declare void @sc_timer_init(ptr noundef, i64 noundef) local_unnamed_addr #3

declare i64 @sc_timer_add(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

declare i64 @sc_timer_timeout(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @sc_timer_term(ptr noundef) local_unnamed_addr #3

declare void @sc_timer_cancel(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @test4() local_unnamed_addr #2 {
  %1 = alloca %struct.sc_timer, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #5
  call void @sc_timer_init(ptr noundef nonnull %1, i64 noundef 0) #5
  br label %2

2:                                                ; preds = %0, %10
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %10 ]
  %3 = call i32 @rand() #5
  %4 = srem i32 %3, 20
  %5 = sext i32 %4 to i64
  %6 = inttoptr i64 %indvars.iv to ptr
  %7 = call i64 @sc_timer_add(ptr noundef nonnull %1, i64 noundef %5, i64 noundef %indvars.iv, ptr noundef %6) #5
  %8 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %indvars.iv
  store i64 %7, ptr %8, align 8, !tbaa !5
  %.not = icmp eq i64 %7, -1
  br i1 %.not, label %9, label %10

9:                                                ; preds = %2
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 239, ptr noundef nonnull @__PRETTY_FUNCTION__.test4) #6
  unreachable

10:                                               ; preds = %2
  %11 = load i32, ptr @count, align 4, !tbaa !9
  %12 = add nsw i32 %11, 1
  store i32 %12, ptr @count, align 4, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1000
  br i1 %exitcond.not, label %.preheader22, label %2, !llvm.loop !11

13:                                               ; preds = %.preheader22
  %14 = icmp eq i32 %17, 500
  br i1 %14, label %20, label %19

.preheader22:                                     ; preds = %10, %.preheader22
  %indvars.iv29 = phi i64 [ %indvars.iv.next30, %.preheader22 ], [ 0, %10 ]
  %15 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %indvars.iv29
  call void @sc_timer_cancel(ptr noundef nonnull %1, ptr noundef nonnull %15) #5
  %16 = load i32, ptr @count, align 4, !tbaa !9
  %17 = add nsw i32 %16, -1
  store i32 %17, ptr @count, align 4, !tbaa !9
  %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29, 2
  %18 = icmp ult i64 %indvars.iv29, 998
  br i1 %18, label %.preheader22, label %13, !llvm.loop !13

19:                                               ; preds = %13
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 248, ptr noundef nonnull @__PRETTY_FUNCTION__.test4) #6
  unreachable

20:                                               ; preds = %13
  call void @sc_timer_cancel(ptr noundef nonnull %1, ptr noundef nonnull @ids) #5
  %21 = load i32, ptr @count, align 4, !tbaa !9
  %22 = icmp eq i32 %21, 500
  br i1 %22, label %.preheader, label %23

23:                                               ; preds = %20
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 250, ptr noundef nonnull @__PRETTY_FUNCTION__.test4) #6
  unreachable

.preheader:                                       ; preds = %20, %27
  %indvars.iv32 = phi i64 [ %indvars.iv.next33, %27 ], [ 0, %20 ]
  %.02025 = phi i32 [ %29, %27 ], [ 10000, %20 ]
  %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32, 500
  %24 = call i64 @sc_timer_timeout(ptr noundef nonnull %1, i64 noundef %indvars.iv.next33, ptr noundef nonnull inttoptr (i64 333 to ptr), ptr noundef nonnull @callback) #5
  %25 = load i32, ptr @count, align 4, !tbaa !9
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %.preheader39, label %27

27:                                               ; preds = %.preheader
  %28 = trunc i64 %24 to i32
  %29 = sub nsw i32 %.02025, %28
  call void @sleep_ms(i64 noundef %24)
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.preheader, label %.preheader39, !llvm.loop !14

.preheader39:                                     ; preds = %.preheader, %27
  br label %49

31:                                               ; preds = %49
  %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35, 1
  %32 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %indvars.iv.next36
  %33 = load i64, ptr %32, align 8, !tbaa !5
  %34 = icmp eq i64 %33, -1
  br i1 %34, label %35, label %53

35:                                               ; preds = %31
  %indvars.iv.next36.1 = add nuw nsw i64 %indvars.iv35, 2
  %36 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %indvars.iv.next36.1
  %37 = load i64, ptr %36, align 8, !tbaa !5
  %38 = icmp eq i64 %37, -1
  br i1 %38, label %39, label %53

39:                                               ; preds = %35
  %indvars.iv.next36.2 = add nuw nsw i64 %indvars.iv35, 3
  %40 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %indvars.iv.next36.2
  %41 = load i64, ptr %40, align 8, !tbaa !5
  %42 = icmp eq i64 %41, -1
  br i1 %42, label %43, label %53

43:                                               ; preds = %39
  %indvars.iv.next36.3 = add nuw nsw i64 %indvars.iv35, 4
  %44 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %indvars.iv.next36.3
  %45 = load i64, ptr %44, align 8, !tbaa !5
  %46 = icmp eq i64 %45, -1
  br i1 %46, label %47, label %53

47:                                               ; preds = %43
  %indvars.iv.next36.4 = add nuw nsw i64 %indvars.iv35, 5
  %exitcond38.not.4 = icmp eq i64 %indvars.iv.next36.4, 500
  br i1 %exitcond38.not.4, label %48, label %49, !llvm.loop !15

48:                                               ; preds = %47
  call void @sc_timer_term(ptr noundef nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #5
  ret void

49:                                               ; preds = %47, %.preheader39
  %indvars.iv35 = phi i64 [ 0, %.preheader39 ], [ %indvars.iv.next36.4, %47 ]
  %50 = getelementptr inbounds [1000 x i64], ptr @ids, i64 0, i64 %indvars.iv35
  %51 = load i64, ptr %50, align 8, !tbaa !5
  %52 = icmp eq i64 %51, -1
  br i1 %52, label %31, label %53

53:                                               ; preds = %43, %39, %35, %31, %49
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 267, ptr noundef nonnull @__PRETTY_FUNCTION__.test4) #6
  unreachable
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 "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 = { nounwind }
attributes #6 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass