; LLVM IR from guanzhi/GmSSL :: src (sm9_lib)

; 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.SM3_CTX = type { [8 x i32], i64, [64 x i8], i64 }
%struct.SM9_SIGN_KEY = type { %struct.SM9_Z256_TWIST_POINT, %struct.SM9_Z256_POINT }
%struct.SM9_Z256_TWIST_POINT = type { [2 x [4 x i64]], [2 x [4 x i64]], [2 x [4 x i64]] }
%struct.SM9_Z256_POINT = type { [4 x i64], [4 x i64], [4 x i64] }
%struct.SM9_SIGNATURE = type { [4 x i64], %struct.SM9_Z256_POINT }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@__const.sm9_do_sign.ct1 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.sm9_do_sign.ct2 = external hidden unnamed_addr constant [4 x i8], align 1
@__FUNCTION__.sm9_do_sign = external hidden unnamed_addr constant [12 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: nounwind
declare i32 @fprintf(ptr 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

declare ptr @sm9_z256_order() #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @sm3_update(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @sm9_do_sign(ptr noundef %0, ptr noundef %1, ptr noundef %2) #4 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca [4 x i64], align 16
  %9 = alloca [3 x [2 x [2 x [4 x i64]]]], align 16
  %10 = alloca [384 x i8], align 16
  %11 = alloca %struct.SM3_CTX, align 8
  %12 = alloca %struct.SM3_CTX, align 8
  %13 = alloca [4 x i8], align 1
  %14 = alloca [4 x i8], align 1
  %15 = alloca [64 x i8], align 16
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 384, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 384, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr %11) #5
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %17, i64 112, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 112, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %13, ptr align 1 @__const.sm9_do_sign.ct1, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %14, ptr align 1 @__const.sm9_do_sign.ct2, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #5
  %18 = getelementptr inbounds [3 x [2 x [2 x [4 x i64]]]], ptr %9, i64 0, i64 0
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.SM9_SIGN_KEY, ptr %19, i32 0, i32 0
  %21 = call ptr @sm9_z256_generator()
  call void @sm9_z256_pairing(ptr noundef %18, ptr noundef %20, ptr noundef %21)
  br label %22

22:                                               ; preds = %54, %3
  %23 = getelementptr inbounds [4 x i64], ptr %8, i64 0, i64 0
  %24 = call ptr @sm9_z256_order()
  %25 = call i32 @sm9_z256_rand_range(ptr noundef %23, ptr noundef %24)
  %26 = icmp ne i32 %25, 1
  br i1 %26, label %27, label %33

27:                                               ; preds = %22
  br label %28

28:                                               ; preds = %27
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 125, ptr noundef @__FUNCTION__.sm9_do_sign) #5
  br label %31

31:                                               ; preds = %28
  br label %32

32:                                               ; preds = %31
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %66

33:                                               ; preds = %22
  %34 = getelementptr inbounds [3 x [2 x [2 x [4 x i64]]]], ptr %9, i64 0, i64 0
  %35 = getelementptr inbounds [3 x [2 x [2 x [4 x i64]]]], ptr %9, i64 0, i64 0
  %36 = getelementptr inbounds [4 x i64], ptr %8, i64 0, i64 0
  call void @sm9_z256_fp12_pow(ptr noundef %34, ptr noundef %35, ptr noundef %36)
  %37 = getelementptr inbounds [3 x [2 x [2 x [4 x i64]]]], ptr %9, i64 0, i64 0
  %38 = getelementptr inbounds [384 x i8], ptr %10, i64 0, i64 0
  call void @sm9_z256_fp12_to_bytes(ptr noundef %37, ptr noundef %38)
  %39 = getelementptr inbounds [384 x i8], ptr %10, i64 0, i64 0
  call void @sm3_update(ptr noundef %11, ptr noundef %39, i64 noundef 384)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %11, i64 112, i1 false), !tbaa.struct !9
  %40 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 0
  call void @sm3_update(ptr noundef %11, ptr noundef %40, i64 noundef 4)
  %41 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
  call void @sm3_finish(ptr noundef %11, ptr noundef %41)
  %42 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
  call void @sm3_update(ptr noundef %12, ptr noundef %42, i64 noundef 4)
  %43 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
  %44 = getelementptr inbounds i8, ptr %43, i64 32
  call void @sm3_finish(ptr noundef %12, ptr noundef %44)
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.SM9_SIGNATURE, ptr %45, i32 0, i32 0
  %47 = getelementptr inbounds [4 x i64], ptr %46, i64 0, i64 0
  %48 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
  call void @sm9_z256_modn_from_hash(ptr noundef %47, ptr noundef %48)
  %49 = getelementptr inbounds [4 x i64], ptr %8, i64 0, i64 0
  %50 = getelementptr inbounds [4 x i64], ptr %8, i64 0, i64 0
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.SM9_SIGNATURE, ptr %51, i32 0, i32 0
  %53 = getelementptr inbounds [4 x i64], ptr %52, i64 0, i64 0
  call void @sm9_z256_modn_sub(ptr noundef %49, ptr noundef %50, ptr noundef %53)
  br label %54

54:                                               ; preds = %33
  %55 = getelementptr inbounds [4 x i64], ptr %8, i64 0, i64 0
  %56 = call i64 @sm9_z256_is_zero(ptr noundef %55)
  %57 = icmp ne i64 %56, 0
  br i1 %57, label %22, label %58, !llvm.loop !13

58:                                               ; preds = %54
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.SM9_SIGNATURE, ptr %59, i32 0, i32 1
  %61 = getelementptr inbounds [4 x i64], ptr %8, i64 0, i64 0
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.SM9_SIGN_KEY, ptr %62, i32 0, i32 1
  call void @sm9_z256_point_mul(ptr noundef %60, ptr noundef %61, ptr noundef %63)
  call void @gmssl_secure_clear(ptr noundef %8, i64 noundef 32)
  call void @gmssl_secure_clear(ptr noundef %9, i64 noundef 384)
  %64 = getelementptr inbounds [384 x i8], ptr %10, i64 0, i64 0
  call void @gmssl_secure_clear(ptr noundef %64, i64 noundef 384)
  call void @gmssl_secure_clear(ptr noundef %12, i64 noundef 112)
  %65 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
  call void @gmssl_secure_clear(ptr noundef %65, i64 noundef 64)
  store i32 1, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %66

66:                                               ; preds = %58, %32
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 384, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 384, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  %67 = load i32, ptr %4, align 4
  ret i32 %67
}

declare void @sm9_z256_pairing(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @sm9_z256_generator() #2

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

declare void @sm9_z256_fp12_pow(ptr noundef, ptr noundef, ptr noundef) #2

declare void @sm9_z256_fp12_to_bytes(ptr noundef, ptr noundef) #2

declare void @sm3_finish(ptr noundef, ptr noundef) #2

declare void @sm9_z256_modn_from_hash(ptr noundef, ptr noundef) #2

declare void @sm9_z256_modn_sub(ptr noundef, ptr noundef, ptr noundef) #2

declare i64 @sm9_z256_is_zero(ptr noundef) #2

declare void @sm9_z256_point_mul(ptr noundef, ptr noundef, ptr noundef) #2

declare void @gmssl_secure_clear(ptr noundef, i64 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = !{i64 0, i64 32, !10, i64 32, i64 8, !11, i64 40, i64 64, !10, i64 104, i64 8, !11}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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.SM3_CTX = type { [8 x i32], i64, [64 x i8], i64 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@__const.sm9_do_sign.ct1 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.sm9_do_sign.ct2 = external hidden unnamed_addr constant [4 x i8], align 1
@__FUNCTION__.sm9_do_sign = external hidden unnamed_addr constant [12 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) 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

declare ptr @sm9_z256_order() local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @sm3_update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @sm9_do_sign(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #4 {
  %4 = alloca [4 x i64], align 16
  %5 = alloca [3 x [2 x [2 x [4 x i64]]]], align 16
  %6 = alloca [384 x i8], align 16
  %7 = alloca %struct.SM3_CTX, align 8
  %8 = alloca %struct.SM3_CTX, align 8
  %9 = alloca [4 x i8], align 4
  %10 = alloca [4 x i8], align 4
  %11 = alloca [64 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(112) %7, ptr noundef nonnull align 8 dereferenceable(112) %1, i64 112, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %12 = load i32, ptr @__const.sm9_do_sign.ct1, align 1
  store i32 %12, ptr %9, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %13 = load i32, ptr @__const.sm9_do_sign.ct2, align 1
  store i32 %13, ptr %10, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  %14 = tail call ptr @sm9_z256_generator() #5
  call void @sm9_z256_pairing(ptr noundef nonnull %5, ptr noundef %0, ptr noundef %14) #5
  %15 = getelementptr inbounds i8, ptr %11, i64 32
  br label %16

16:                                               ; preds = %22, %3
  %17 = call ptr @sm9_z256_order() #5
  %18 = call i32 @sm9_z256_rand_range(ptr noundef nonnull %4, ptr noundef %17) #5
  %.not = icmp eq i32 %18, 1
  br i1 %.not, label %22, label %19

19:                                               ; preds = %16
  %20 = load ptr, ptr @stderr, align 8, !tbaa !11
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 125, ptr noundef nonnull @__FUNCTION__.sm9_do_sign) #6
  br label %27

22:                                               ; preds = %16
  call void @sm9_z256_fp12_pow(ptr noundef nonnull %5, ptr noundef nonnull %5, ptr noundef nonnull %4) #5
  call void @sm9_z256_fp12_to_bytes(ptr noundef nonnull %5, ptr noundef nonnull %6) #5
  call void @sm3_update(ptr noundef nonnull %7, ptr noundef nonnull %6, i64 noundef 384) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(112) %8, ptr noundef nonnull align 8 dereferenceable(112) %7, i64 112, i1 false), !tbaa.struct !5
  call void @sm3_update(ptr noundef nonnull %7, ptr noundef nonnull %9, i64 noundef 4) #5
  call void @sm3_finish(ptr noundef nonnull %7, ptr noundef nonnull %11) #5
  call void @sm3_update(ptr noundef nonnull %8, ptr noundef nonnull %10, i64 noundef 4) #5
  call void @sm3_finish(ptr noundef nonnull %8, ptr noundef nonnull %15) #5
  call void @sm9_z256_modn_from_hash(ptr noundef %2, ptr noundef nonnull %11) #5
  call void @sm9_z256_modn_sub(ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef %2) #5
  %23 = call i64 @sm9_z256_is_zero(ptr noundef nonnull %4) #5
  %.not6 = icmp eq i64 %23, 0
  br i1 %.not6, label %24, label %16, !llvm.loop !13

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %2, i64 32
  %26 = getelementptr inbounds i8, ptr %0, i64 192
  call void @sm9_z256_point_mul(ptr noundef nonnull %25, ptr noundef nonnull %4, ptr noundef nonnull %26) #5
  call void @gmssl_secure_clear(ptr noundef nonnull %4, i64 noundef 32) #5
  call void @gmssl_secure_clear(ptr noundef nonnull %5, i64 noundef 384) #5
  call void @gmssl_secure_clear(ptr noundef nonnull %6, i64 noundef 384) #5
  call void @gmssl_secure_clear(ptr noundef nonnull %8, i64 noundef 112) #5
  call void @gmssl_secure_clear(ptr noundef nonnull %11, i64 noundef 64) #5
  br label %27

27:                                               ; preds = %24, %19
  %.0 = phi i32 [ -1, %19 ], [ 1, %24 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  ret i32 %.0
}

declare void @sm9_z256_pairing(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @sm9_z256_generator() local_unnamed_addr #2

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

declare void @sm9_z256_fp12_pow(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @sm9_z256_fp12_to_bytes(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @sm3_finish(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @sm9_z256_modn_from_hash(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @sm9_z256_modn_sub(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i64 @sm9_z256_is_zero(ptr noundef) local_unnamed_addr #2

declare void @sm9_z256_point_mul(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @gmssl_secure_clear(ptr noundef, i64 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nounwind }
attributes #6 = { cold 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 = !{i64 0, i64 32, !6, i64 32, i64 8, !9, i64 40, i64 64, !6, i64 104, i64 8, !9}
!6 = !{!7, !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 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass