; LLVM IR from glaretechnologies/substrata :: secp256k1-master/src (bench_recover)

; 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.secp256k1_pubkey = type { [64 x i8] }
%struct.secp256k1_ecdsa_recoverable_signature = type { [65 x i8] }
%struct.bench_recover_data = type { ptr, [32 x i8], [64 x i8] }

@stderr = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [119 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: 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 void @bench_recover(ptr noundef %0, i32 noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.secp256k1_pubkey, align 1
  %8 = alloca [33 x i8], align 16
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %struct.secp256k1_ecdsa_recoverable_signature, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %12, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 33, ptr %8) #6
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %128, %2
  %14 = load i32, ptr %5, align 4, !tbaa !9
  %15 = load i32, ptr %4, align 4, !tbaa !9
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %17, label %131

17:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 33, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 65, ptr %11) #6
  br label %18

18:                                               ; preds = %17
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.bench_recover_data, ptr %19, i32 0, i32 0
  %21 = load ptr, ptr %20, align 8, !tbaa !13
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.bench_recover_data, ptr %22, i32 0, i32 2
  %24 = getelementptr inbounds [64 x i8], ptr %23, i64 0, i64 0
  %25 = load i32, ptr %5, align 4, !tbaa !9
  %26 = srem i32 %25, 2
  %27 = call i32 @secp256k1_ecdsa_recoverable_signature_parse_compact(ptr noundef %21, ptr noundef %11, ptr noundef %24, i32 noundef %26)
  %28 = icmp ne i32 %27, 0
  %29 = xor i1 %28, true
  %30 = zext i1 %29 to i32
  %31 = sext i32 %30 to i64
  %32 = call i64 @llvm.expect.i64(i64 %31, i64 0)
  %33 = icmp ne i64 %32, 0
  br i1 %33, label %34, label %40

34:                                               ; preds = %18
  br label %35

35:                                               ; preds = %34
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 28, ptr noundef @.str.9) #6
  call void @abort() #7
  unreachable

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39, %18
  br label %41

41:                                               ; preds = %40
  br label %42

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.bench_recover_data, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !13
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.bench_recover_data, ptr %47, i32 0, i32 1
  %49 = getelementptr inbounds [32 x i8], ptr %48, i64 0, i64 0
  %50 = call i32 @secp256k1_ecdsa_recover(ptr noundef %46, ptr noundef %7, ptr noundef %11, ptr noundef %49)
  %51 = icmp ne i32 %50, 0
  %52 = xor i1 %51, true
  %53 = zext i1 %52 to i32
  %54 = sext i32 %53 to i64
  %55 = call i64 @llvm.expect.i64(i64 %54, i64 0)
  %56 = icmp ne i64 %55, 0
  br i1 %56, label %57, label %63

57:                                               ; preds = %43
  br label %58

58:                                               ; preds = %57
  %59 = load ptr, ptr @stderr, align 8, !tbaa !5
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 29, ptr noundef @.str.10) #6
  call void @abort() #7
  unreachable

61:                                               ; No predecessors!
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62, %43
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.bench_recover_data, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !13
  %70 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0
  %71 = call i32 @secp256k1_ec_pubkey_serialize(ptr noundef %69, ptr noundef %70, ptr noundef %10, ptr noundef %7, i32 noundef 258)
  %72 = icmp ne i32 %71, 0
  %73 = xor i1 %72, true
  %74 = zext i1 %73 to i32
  %75 = sext i32 %74 to i64
  %76 = call i64 @llvm.expect.i64(i64 %75, i64 0)
  %77 = icmp ne i64 %76, 0
  br i1 %77, label %78, label %84

78:                                               ; preds = %66
  br label %79

79:                                               ; preds = %78
  %80 = load ptr, ptr @stderr, align 8, !tbaa !5
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 30, ptr noundef @.str.11) #6
  call void @abort() #7
  unreachable

82:                                               ; No predecessors!
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83, %66
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %124, %86
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = icmp slt i32 %88, 32
  br i1 %89, label %90, label %127

90:                                               ; preds = %87
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.bench_recover_data, ptr %91, i32 0, i32 1
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [32 x i8], ptr %92, i64 0, i64 %94
  %96 = load i8, ptr %95, align 1, !tbaa !15
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.bench_recover_data, ptr %97, i32 0, i32 2
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = add nsw i32 %99, 32
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [64 x i8], ptr %98, i64 0, i64 %101
  store i8 %96, ptr %102, align 1, !tbaa !15
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.bench_recover_data, ptr %103, i32 0, i32 2
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [64 x i8], ptr %104, i64 0, i64 %106
  %108 = load i8, ptr %107, align 1, !tbaa !15
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.bench_recover_data, ptr %109, i32 0, i32 1
  %111 = load i32, ptr %9, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [32 x i8], ptr %110, i64 0, i64 %112
  store i8 %108, ptr %113, align 1, !tbaa !15
  %114 = load i32, ptr %9, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 %116
  %118 = load i8, ptr %117, align 1, !tbaa !15
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.bench_recover_data, ptr %119, i32 0, i32 2
  %121 = load i32, ptr %9, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [64 x i8], ptr %120, i64 0, i64 %122
  store i8 %118, ptr %123, align 1, !tbaa !15
  br label %124

124:                                              ; preds = %90
  %125 = load i32, ptr %9, align 4, !tbaa !9
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %9, align 4, !tbaa !9
  br label %87, !llvm.loop !16

127:                                              ; preds = %87
  call void @llvm.lifetime.end.p0(i64 65, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %5, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %5, align 4, !tbaa !9
  br label %13, !llvm.loop !18

131:                                              ; preds = %13
  call void @llvm.lifetime.end.p0(i64 33, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void
}

declare i32 @secp256k1_ecdsa_recoverable_signature_parse_compact(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: noreturn nounwind
declare void @abort() #5

declare i32 @secp256k1_ecdsa_recover(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @secp256k1_ec_pubkey_serialize(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = { 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 #6 = { nounwind }
attributes #7 = { 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 = !{!"any pointer", !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 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"", !6, i64 0, !7, i64 8, !7, i64 40}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


; 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.secp256k1_pubkey = type { [64 x i8] }
%struct.secp256k1_ecdsa_recoverable_signature = type { [65 x i8] }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [119 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: 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 void @bench_recover(ptr noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = alloca %struct.secp256k1_pubkey, align 1
  %4 = alloca [33 x i8], align 16
  %5 = alloca i64, align 8
  %6 = alloca %struct.secp256k1_ecdsa_recoverable_signature, align 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %4) #5
  %7 = icmp sgt i32 %1, 0
  br i1 %7, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = getelementptr i8, ptr %0, i64 8
  %10 = getelementptr i8, ptr %0, i64 24
  %11 = getelementptr inbounds i8, ptr %0, i64 72
  %12 = getelementptr inbounds i8, ptr %0, i64 88
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  %14 = getelementptr inbounds i8, ptr %4, i64 1
  %15 = getelementptr inbounds i8, ptr %4, i64 17
  br label %16

16:                                               ; preds = %.lr.ph, %vector.body
  %.02226 = phi i32 [ 0, %.lr.ph ], [ %32, %vector.body ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store i64 33, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 65, ptr nonnull %6) #5
  %17 = load ptr, ptr %0, align 8, !tbaa !9
  %18 = and i32 %.02226, 1
  %19 = call i32 @secp256k1_ecdsa_recoverable_signature_parse_compact(ptr noundef %17, ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef %18) #5
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %20, label %23, !prof !12

20:                                               ; preds = %16
  %21 = load ptr, ptr @stderr, align 8, !tbaa !13
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 28, ptr noundef nonnull @.str.9) #6
  call void @abort() #7
  unreachable

23:                                               ; preds = %16
  %24 = load ptr, ptr %0, align 8, !tbaa !9
  %25 = call i32 @secp256k1_ecdsa_recover(ptr noundef %24, ptr noundef nonnull %3, ptr noundef nonnull %6, ptr noundef nonnull %9) #5
  %.not23 = icmp eq i32 %25, 0
  br i1 %.not23, label %26, label %29, !prof !12

26:                                               ; preds = %23
  %27 = load ptr, ptr @stderr, align 8, !tbaa !13
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 29, ptr noundef nonnull @.str.10) #6
  call void @abort() #7
  unreachable

29:                                               ; preds = %23
  %30 = load ptr, ptr %0, align 8, !tbaa !9
  %31 = call i32 @secp256k1_ec_pubkey_serialize(ptr noundef %30, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %3, i32 noundef 258) #5
  %.not24 = icmp eq i32 %31, 0
  br i1 %.not24, label %33, label %vector.body, !prof !12

vector.body:                                      ; preds = %29
  %wide.load = load <16 x i8>, ptr %9, align 1, !tbaa !14
  %wide.load29 = load <16 x i8>, ptr %10, align 1, !tbaa !14
  store <16 x i8> %wide.load, ptr %11, align 1, !tbaa !14
  store <16 x i8> %wide.load29, ptr %12, align 1, !tbaa !14
  %wide.load30 = load <16 x i8>, ptr %8, align 1, !tbaa !14
  %wide.load31 = load <16 x i8>, ptr %13, align 1, !tbaa !14
  store <16 x i8> %wide.load30, ptr %9, align 1, !tbaa !14
  store <16 x i8> %wide.load31, ptr %10, align 1, !tbaa !14
  %wide.load32 = load <16 x i8>, ptr %14, align 1, !tbaa !14
  %wide.load33 = load <16 x i8>, ptr %15, align 1, !tbaa !14
  store <16 x i8> %wide.load32, ptr %8, align 1, !tbaa !14
  store <16 x i8> %wide.load33, ptr %13, align 1, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 65, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %32 = add nuw nsw i32 %.02226, 1
  %exitcond28.not = icmp eq i32 %32, %1
  br i1 %exitcond28.not, label %._crit_edge, label %16, !llvm.loop !15

33:                                               ; preds = %29
  %34 = load ptr, ptr @stderr, align 8, !tbaa !13
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 30, ptr noundef nonnull @.str.11) #6
  call void @abort() #7
  unreachable

._crit_edge:                                      ; preds = %vector.body, %2
  call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #5
  ret void
}

declare i32 @secp256k1_ecdsa_recoverable_signature_parse_compact(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #4

declare i32 @secp256k1_ecdsa_recover(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @secp256k1_ec_pubkey_serialize(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) 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 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { cold nounwind }
attributes #7 = { 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, !11, i64 0}
!10 = !{!"", !11, i64 0, !7, i64 8, !7, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass