; LLVM IR from specinfo-ua/UAPKI :: library/uapkic/src (gost28147)

; 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.Gost28147Ctx_st = type { i32, i8, ptr, [1024 x i32], [8 x i32], %union.anon }
%union.anon = type { %struct.Gost28147CtrCtx_st }
%struct.Gost28147CtrCtx_st = type { i64, [24 x i8], [6 x i32] }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@ENCRYPT_KEY_ORDER = external hidden constant [32 x i8], align 16
@DECRYPT_KEY_ORDER = external hidden constant [32 x i8], align 16

; 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 i32 @gost28147_ecb_core(ptr noundef %0, ptr noundef %1, i64 noundef %2, i1 noundef zeroext %3, ptr noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca [6 x i32], align 16
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  %15 = zext i1 %3 to i8
  store i8 %15, ptr %9, align 1, !tbaa !11
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !13
  br label %16

16:                                               ; preds = %5
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %21, label %19

19:                                               ; preds = %16
  store i32 2, ptr %14, align 4, !tbaa !13
  %20 = load i32, ptr %14, align 4, !tbaa !13
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 480, i32 noundef %20, ptr noundef null)
  br label %137

21:                                               ; preds = %16
  br label %22

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %29, label %27

27:                                               ; preds = %24
  store i32 2, ptr %14, align 4, !tbaa !13
  %28 = load i32, ptr %14, align 4, !tbaa !13
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 481, i32 noundef %28, ptr noundef null)
  br label %137

29:                                               ; preds = %24
  br label %30

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30
  br label %32

32:                                               ; preds = %31
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %37, label %35

35:                                               ; preds = %32
  store i32 2, ptr %14, align 4, !tbaa !13
  %36 = load i32, ptr %14, align 4, !tbaa !13
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 482, i32 noundef %36, ptr noundef null)
  br label %137

37:                                               ; preds = %32
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  %40 = load i64, ptr %8, align 8, !tbaa !9
  %41 = udiv i64 %40, 24
  store i64 %41, ptr %13, align 8, !tbaa !9
  br label %42

42:                                               ; preds = %83, %39
  %43 = load i64, ptr %13, align 8, !tbaa !9
  %44 = icmp ugt i64 %43, 0
  br i1 %44, label %45, label %86

45:                                               ; preds = %42
  br label %46

46:                                               ; preds = %45
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0
  %49 = call i32 @uint8_to_uint32(ptr noundef %47, i64 noundef 24, ptr noundef %48, i64 noundef 6)
  store i32 %49, ptr %14, align 4, !tbaa !13
  %50 = load i32, ptr %14, align 4, !tbaa !13
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %54

52:                                               ; preds = %46
  %53 = load i32, ptr %14, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 486, i32 noundef %53)
  br label %137

54:                                               ; preds = %46
  br label %55

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55
  %57 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.Gost28147Ctx_st, ptr %58, i32 0, i32 4
  %60 = getelementptr inbounds [8 x i32], ptr %59, i64 0, i64 0
  %61 = load i8, ptr %9, align 1, !tbaa !11, !range !15, !noundef !16
  %62 = trunc i8 %61 to i1
  %63 = zext i1 %62 to i64
  %64 = select i1 %62, ptr @ENCRYPT_KEY_ORDER, ptr @DECRYPT_KEY_ORDER
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.Gost28147Ctx_st, ptr %65, i32 0, i32 3
  %67 = getelementptr inbounds [1024 x i32], ptr %66, i64 0, i64 0
  call void @base_cycle24(ptr noundef %57, ptr noundef %60, ptr noundef %64, ptr noundef %67)
  br label %68

68:                                               ; preds = %56
  %69 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = call i32 @uint32_to_uint8(ptr noundef %69, i64 noundef 6, ptr noundef %70, i64 noundef 24)
  store i32 %71, ptr %14, align 4, !tbaa !13
  %72 = load i32, ptr %14, align 4, !tbaa !13
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %76

74:                                               ; preds = %68
  %75 = load i32, ptr %14, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 488, i32 noundef %75)
  br label %137

76:                                               ; preds = %68
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 24
  store ptr %80, ptr %7, align 8, !tbaa !5
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 24
  store ptr %82, ptr %10, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %78
  %84 = load i64, ptr %13, align 8, !tbaa !9
  %85 = add i64 %84, -1
  store i64 %85, ptr %13, align 8, !tbaa !9
  br label %42, !llvm.loop !17

86:                                               ; preds = %42
  %87 = load i64, ptr %8, align 8, !tbaa !9
  %88 = urem i64 %87, 24
  %89 = trunc i64 %88 to i32
  store i32 %89, ptr %12, align 4, !tbaa !13
  %90 = load i32, ptr %12, align 4, !tbaa !13
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %136

92:                                               ; preds = %86
  br label %93

93:                                               ; preds = %92
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = load i32, ptr %12, align 4, !tbaa !13
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0
  %98 = load i32, ptr %12, align 4, !tbaa !13
  %99 = sdiv i32 %98, 4
  %100 = sext i32 %99 to i64
  %101 = call i32 @uint8_to_uint32(ptr noundef %94, i64 noundef %96, ptr noundef %97, i64 noundef %100)
  store i32 %101, ptr %14, align 4, !tbaa !13
  %102 = load i32, ptr %14, align 4, !tbaa !13
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %106

104:                                              ; preds = %93
  %105 = load i32, ptr %14, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 497, i32 noundef %105)
  br label %137

106:                                              ; preds = %93
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107
  %109 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.Gost28147Ctx_st, ptr %110, i32 0, i32 4
  %112 = getelementptr inbounds [8 x i32], ptr %111, i64 0, i64 0
  %113 = load i8, ptr %9, align 1, !tbaa !11, !range !15, !noundef !16
  %114 = trunc i8 %113 to i1
  %115 = zext i1 %114 to i64
  %116 = select i1 %114, ptr @ENCRYPT_KEY_ORDER, ptr @DECRYPT_KEY_ORDER
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.Gost28147Ctx_st, ptr %117, i32 0, i32 3
  %119 = getelementptr inbounds [1024 x i32], ptr %118, i64 0, i64 0
  call void @base_cycle24(ptr noundef %109, ptr noundef %112, ptr noundef %116, ptr noundef %119)
  br label %120

120:                                              ; preds = %108
  %121 = getelementptr inbounds [6 x i32], ptr %11, i64 0, i64 0
  %122 = load i32, ptr %12, align 4, !tbaa !13
  %123 = sdiv i32 %122, 4
  %124 = sext i32 %123 to i64
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = load i32, ptr %12, align 4, !tbaa !13
  %127 = sext i32 %126 to i64
  %128 = call i32 @uint32_to_uint8(ptr noundef %121, i64 noundef %124, ptr noundef %125, i64 noundef %127)
  store i32 %128, ptr %14, align 4, !tbaa !13
  %129 = load i32, ptr %14, align 4, !tbaa !13
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %133

131:                                              ; preds = %120
  %132 = load i32, ptr %14, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 499, i32 noundef %132)
  br label %137

133:                                              ; preds = %120
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135, %86
  br label %137

137:                                              ; preds = %136, %131, %104, %74, %52, %35, %27, %19
  %138 = load i32, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  ret i32 %138
}

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

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #3

declare i32 @uint8_to_uint32(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #3

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @base_cycle24(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @uint32_to_uint8(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 #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 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"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"

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@ENCRYPT_KEY_ORDER = external hidden constant [32 x i8], align 16
@DECRYPT_KEY_ORDER = external hidden constant [32 x i8], align 16

; 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 i32 @gost28147_ecb_core(ptr noundef %0, ptr noundef %1, i64 noundef %2, i1 noundef zeroext %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = alloca [6 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %6, i8 0, i64 24, i1 false)
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %7, label %8

7:                                                ; preds = %5
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 480, i32 noundef 2, ptr noundef null) #5
  br label %38

8:                                                ; preds = %5
  %.not48 = icmp eq ptr %1, null
  br i1 %.not48, label %9, label %10

9:                                                ; preds = %8
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 481, i32 noundef 2, ptr noundef null) #5
  br label %38

10:                                               ; preds = %8
  %.not49 = icmp eq ptr %4, null
  br i1 %.not49, label %11, label %12

11:                                               ; preds = %10
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 482, i32 noundef 2, ptr noundef null) #5
  br label %38

12:                                               ; preds = %10
  %.not5062 = icmp ult i64 %2, 24
  br i1 %.not5062, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %12
  %13 = udiv i64 %2, 24
  %14 = getelementptr inbounds i8, ptr %0, i64 4112
  %15 = select i1 %3, ptr @ENCRYPT_KEY_ORDER, ptr @DECRYPT_KEY_ORDER
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  br label %17

17:                                               ; preds = %.lr.ph, %23
  %.03565 = phi i64 [ %13, %.lr.ph ], [ %26, %23 ]
  %.03664 = phi ptr [ %1, %.lr.ph ], [ %24, %23 ]
  %.03763 = phi ptr [ %4, %.lr.ph ], [ %25, %23 ]
  %18 = call i32 @uint8_to_uint32(ptr noundef nonnull %.03664, i64 noundef 24, ptr noundef nonnull %6, i64 noundef 6) #5
  %.not54 = icmp eq i32 %18, 0
  br i1 %.not54, label %20, label %19

19:                                               ; preds = %17
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 486, i32 noundef %18) #5
  br label %38

20:                                               ; preds = %17
  call void @base_cycle24(ptr noundef nonnull %6, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16)
  %21 = call i32 @uint32_to_uint8(ptr noundef nonnull %6, i64 noundef 6, ptr noundef nonnull %.03763, i64 noundef 24) #5
  %.not55 = icmp eq i32 %21, 0
  br i1 %.not55, label %23, label %22

22:                                               ; preds = %20
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 488, i32 noundef %21) #5
  br label %38

23:                                               ; preds = %20
  %24 = getelementptr inbounds i8, ptr %.03664, i64 24
  %25 = getelementptr inbounds i8, ptr %.03763, i64 24
  %26 = add nsw i64 %.03565, -1
  %.not50 = icmp eq i64 %26, 0
  br i1 %.not50, label %._crit_edge, label %17, !llvm.loop !5

._crit_edge:                                      ; preds = %23, %12
  %.037.lcssa = phi ptr [ %4, %12 ], [ %25, %23 ]
  %.036.lcssa = phi ptr [ %1, %12 ], [ %24, %23 ]
  %27 = urem i64 %2, 24
  %.not51 = icmp eq i64 %27, 0
  br i1 %.not51, label %38, label %28

28:                                               ; preds = %._crit_edge
  %29 = lshr i64 %27, 2
  %30 = call i32 @uint8_to_uint32(ptr noundef nonnull %.036.lcssa, i64 noundef %27, ptr noundef nonnull %6, i64 noundef %29) #5
  %.not52 = icmp eq i32 %30, 0
  br i1 %.not52, label %32, label %31

31:                                               ; preds = %28
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 497, i32 noundef %30) #5
  br label %38

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %0, i64 4112
  %34 = select i1 %3, ptr @ENCRYPT_KEY_ORDER, ptr @DECRYPT_KEY_ORDER
  %35 = getelementptr inbounds i8, ptr %0, i64 16
  call void @base_cycle24(ptr noundef nonnull %6, ptr noundef nonnull %33, ptr noundef nonnull %34, ptr noundef nonnull %35)
  %36 = call i32 @uint32_to_uint8(ptr noundef nonnull %6, i64 noundef %29, ptr noundef nonnull %.037.lcssa, i64 noundef %27) #5
  %.not53 = icmp eq i32 %36, 0
  br i1 %.not53, label %38, label %37

37:                                               ; preds = %32
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 499, i32 noundef %36) #5
  br label %38

38:                                               ; preds = %._crit_edge, %32, %37, %31, %22, %19, %11, %9, %7
  %.1 = phi i32 [ %18, %19 ], [ %21, %22 ], [ %30, %31 ], [ %36, %37 ], [ 0, %32 ], [ 0, %._crit_edge ], [ 2, %11 ], [ 2, %9 ], [ 2, %7 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  ret i32 %.1
}

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

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

declare i32 @uint8_to_uint32(ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @base_cycle24(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @uint32_to_uint8(ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


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