; LLVM IR from tleonhardt/practical_cryptography_engineering :: mbedtls (sha1)

; 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.mbedtls_sha1_context = type { [2 x i32], [5 x i32], [64 x i8] }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@sha1_test_buf = external hidden constant [3 x [57 x i8]], align 16
@sha1_test_buflen = external hidden constant [3 x i32], align 4
@sha1_test_sum = external hidden constant [3 x [20 x i8]], align 16
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_init(ptr noundef) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_free(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_starts(ptr noundef) #0

; 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: nounwind uwtable
declare dso_local void @mbedtls_sha1_update(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_finish(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_sha1_self_test(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca [1024 x i8], align 16
  %8 = alloca [20 x i8], align 16
  %9 = alloca %struct.mbedtls_sha1_context, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 20, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 92, ptr %9) #5
  call void @mbedtls_sha1_init(ptr noundef %9)
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %67, %1
  %11 = load i32, ptr %3, align 4, !tbaa !5
  %12 = icmp slt i32 %11, 3
  br i1 %12, label %13, label %70

13:                                               ; preds = %10
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %16, label %20

16:                                               ; preds = %13
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = add nsw i32 %17, 1
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
  br label %20

20:                                               ; preds = %16, %13
  call void @mbedtls_sha1_starts(ptr noundef %9)
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = icmp eq i32 %21, 2
  br i1 %22, label %23, label %36

23:                                               ; preds = %20
  %24 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  store i32 1000, ptr %5, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 16 %24, i8 97, i64 1000, i1 false)
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %32, %23
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 1000
  br i1 %27, label %28, label %35

28:                                               ; preds = %25
  %29 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %30 = load i32, ptr %5, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  call void @mbedtls_sha1_update(ptr noundef %9, ptr noundef %29, i64 noundef %31)
  br label %32

32:                                               ; preds = %28
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %4, align 4, !tbaa !5
  br label %25, !llvm.loop !9

35:                                               ; preds = %25
  br label %46

36:                                               ; preds = %20
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [3 x [57 x i8]], ptr @sha1_test_buf, i64 0, i64 %38
  %40 = getelementptr inbounds [57 x i8], ptr %39, i64 0, i64 0
  %41 = load i32, ptr %3, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [3 x i32], ptr @sha1_test_buflen, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  call void @mbedtls_sha1_update(ptr noundef %9, ptr noundef %40, i64 noundef %45)
  br label %46

46:                                               ; preds = %36, %35
  %47 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
  call void @mbedtls_sha1_finish(ptr noundef %9, ptr noundef %47)
  %48 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [3 x [20 x i8]], ptr @sha1_test_sum, i64 0, i64 %50
  %52 = getelementptr inbounds [20 x i8], ptr %51, i64 0, i64 0
  %53 = call i32 @memcmp(ptr noundef %48, ptr noundef %52, i64 noundef 20) #6
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %61

55:                                               ; preds = %46
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %60

58:                                               ; preds = %55
  %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %60

60:                                               ; preds = %58, %55
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %76

61:                                               ; preds = %46
  %62 = load i32, ptr %2, align 4, !tbaa !5
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %66

64:                                               ; preds = %61
  %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %66

66:                                               ; preds = %64, %61
  br label %67

67:                                               ; preds = %66
  %68 = load i32, ptr %3, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %3, align 4, !tbaa !5
  br label %10, !llvm.loop !11

70:                                               ; preds = %10
  %71 = load i32, ptr %2, align 4, !tbaa !5
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %70
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %75

75:                                               ; preds = %73, %70
  br label %76

76:                                               ; preds = %75, %60
  call void @mbedtls_sha1_free(ptr noundef %9)
  %77 = load i32, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 92, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 20, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret i32 %77
}

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #4

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 nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 willreturn memory(read) "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 = { nounwind willreturn memory(read) }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !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"

%struct.mbedtls_sha1_context = type { [2 x i32], [5 x i32], [64 x i8] }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@sha1_test_buf = external hidden constant [3 x [57 x i8]], align 16
@sha1_test_buflen = external hidden local_unnamed_addr constant [3 x i32], align 4
@sha1_test_sum = external hidden constant [3 x [20 x i8]], align 16
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_init(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_free(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_starts(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) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @mbedtls_sha1_finish(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @mbedtls_sha1_self_test(i32 noundef %0) local_unnamed_addr #0 {
  %2 = alloca [1024 x i8], align 16
  %3 = alloca [20 x i8], align 16
  %4 = alloca %struct.mbedtls_sha1_context, align 4
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %4) #5
  call void @mbedtls_sha1_init(ptr noundef nonnull %4)
  %.not17 = icmp eq i32 %0, 0
  br i1 %.not17, label %.loopexit.us, label %.loopexit

.loopexit.us:                                     ; preds = %1
  call void @mbedtls_sha1_starts(ptr noundef nonnull %4)
  %5 = load i32, ptr @sha1_test_buflen, align 4, !tbaa !5
  %6 = sext i32 %5 to i64
  call void @mbedtls_sha1_update(ptr noundef nonnull %4, ptr noundef nonnull @sha1_test_buf, i64 noundef %6)
  call void @mbedtls_sha1_finish(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %bcmp.us = call i32 @bcmp(ptr noundef nonnull dereferenceable(20) %3, ptr noundef nonnull dereferenceable(20) @sha1_test_sum, i64 20)
  %.not18.us = icmp eq i32 %bcmp.us, 0
  br i1 %.not18.us, label %.loopexit.us.1, label %.critedge

.loopexit.us.1:                                   ; preds = %.loopexit.us
  call void @mbedtls_sha1_starts(ptr noundef nonnull %4)
  %7 = load i32, ptr getelementptr inbounds (i8, ptr @sha1_test_buflen, i64 4), align 4, !tbaa !5
  %8 = sext i32 %7 to i64
  call void @mbedtls_sha1_update(ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @sha1_test_buf, i64 57), i64 noundef %8)
  call void @mbedtls_sha1_finish(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %bcmp.us.1 = call i32 @bcmp(ptr noundef nonnull dereferenceable(20) %3, ptr noundef nonnull dereferenceable(20) getelementptr inbounds (i8, ptr @sha1_test_sum, i64 20), i64 20)
  %.not18.us.1 = icmp eq i32 %bcmp.us.1, 0
  br i1 %.not18.us.1, label %9, label %.critedge

9:                                                ; preds = %.loopexit.us.1
  call void @mbedtls_sha1_starts(ptr noundef nonnull %4)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1000) %2, i8 97, i64 1000, i1 false)
  br label %10

10:                                               ; preds = %10, %9
  %.01619.us.2 = phi i32 [ 0, %9 ], [ %11, %10 ]
  call void @mbedtls_sha1_update(ptr noundef nonnull %4, ptr noundef nonnull %2, i64 noundef 1000)
  %11 = add nuw nsw i32 %.01619.us.2, 1
  %exitcond.230.not = icmp eq i32 %11, 1000
  br i1 %exitcond.230.not, label %.loopexit.us.2, label %10, !llvm.loop !9

.loopexit.us.2:                                   ; preds = %10
  call void @mbedtls_sha1_finish(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %bcmp.us.2 = call i32 @bcmp(ptr noundef nonnull dereferenceable(20) %3, ptr noundef nonnull dereferenceable(20) getelementptr inbounds (i8, ptr @sha1_test_sum, i64 40), i64 20)
  %.not18.us.2 = icmp ne i32 %bcmp.us.2, 0
  %brmerge = or i1 %.not18.us.2, %.not17
  %.mux = zext i1 %.not18.us.2 to i32
  br i1 %brmerge, label %.critedge, label %.critedge.sink.split

.loopexit:                                        ; preds = %1
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 1)
  call void @mbedtls_sha1_starts(ptr noundef nonnull %4)
  %13 = load i32, ptr @sha1_test_buflen, align 4, !tbaa !5
  %14 = sext i32 %13 to i64
  call void @mbedtls_sha1_update(ptr noundef nonnull %4, ptr noundef nonnull @sha1_test_buf, i64 noundef %14)
  call void @mbedtls_sha1_finish(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(20) %3, ptr noundef nonnull dereferenceable(20) @sha1_test_sum, i64 20)
  %.not18 = icmp eq i32 %bcmp, 0
  br i1 %.not18, label %.loopexit.1, label %.critedge.sink.split

.loopexit.1:                                      ; preds = %.loopexit
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %16 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 2)
  call void @mbedtls_sha1_starts(ptr noundef nonnull %4)
  %17 = load i32, ptr getelementptr inbounds (i8, ptr @sha1_test_buflen, i64 4), align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  call void @mbedtls_sha1_update(ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @sha1_test_buf, i64 57), i64 noundef %18)
  call void @mbedtls_sha1_finish(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %bcmp.1 = call i32 @bcmp(ptr noundef nonnull dereferenceable(20) %3, ptr noundef nonnull dereferenceable(20) getelementptr inbounds (i8, ptr @sha1_test_sum, i64 20), i64 20)
  %.not18.1 = icmp eq i32 %bcmp.1, 0
  br i1 %.not18.1, label %19, label %.critedge.sink.split

19:                                               ; preds = %.loopexit.1
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 3)
  call void @mbedtls_sha1_starts(ptr noundef nonnull %4)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1000) %2, i8 97, i64 1000, i1 false)
  br label %22

22:                                               ; preds = %22, %19
  %.01619.2 = phi i32 [ 0, %19 ], [ %23, %22 ]
  call void @mbedtls_sha1_update(ptr noundef nonnull %4, ptr noundef nonnull %2, i64 noundef 1000)
  %23 = add nuw nsw i32 %.01619.2, 1
  %exitcond.2.not = icmp eq i32 %23, 1000
  br i1 %exitcond.2.not, label %.loopexit.2, label %22, !llvm.loop !9

.loopexit.2:                                      ; preds = %22
  call void @mbedtls_sha1_finish(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %bcmp.2 = call i32 @bcmp(ptr noundef nonnull dereferenceable(20) %3, ptr noundef nonnull dereferenceable(20) getelementptr inbounds (i8, ptr @sha1_test_sum, i64 40), i64 20)
  %.not18.2 = icmp eq i32 %bcmp.2, 0
  br i1 %.not18.2, label %.split24.us.loopexit25, label %.critedge.sink.split

.split24.us.loopexit25:                           ; preds = %.loopexit.2
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  br i1 %.not17, label %.critedge, label %.critedge.sink.split

.critedge.sink.split:                             ; preds = %.split24.us.loopexit25, %.loopexit.us.2, %.loopexit, %.loopexit.1, %.loopexit.2
  %.str.1.sink = phi ptr [ @.str.1, %.loopexit.2 ], [ @.str.1, %.loopexit.1 ], [ @.str.1, %.loopexit ], [ @.str.3, %.loopexit.us.2 ], [ @.str.3, %.split24.us.loopexit25 ]
  %.0.ph = phi i32 [ 1, %.loopexit.2 ], [ 1, %.loopexit.1 ], [ 1, %.loopexit ], [ 0, %.loopexit.us.2 ], [ 0, %.split24.us.loopexit25 ]
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.1.sink)
  br label %.critedge

.critedge:                                        ; preds = %.critedge.sink.split, %.loopexit.us.2, %.loopexit.us, %.loopexit.us.1, %.split24.us.loopexit25
  %.0 = phi i32 [ 0, %.split24.us.loopexit25 ], [ %.mux, %.loopexit.us.2 ], [ 1, %.loopexit.us.1 ], [ 1, %.loopexit.us ], [ %.0.ph, %.critedge.sink.split ]
  call void @mbedtls_sha1_free(ptr noundef nonnull %4)
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #5
  ret i32 %.0
}

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #4

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass