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

; 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 }

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

declare void @sm3_init(ptr noundef) #1

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

declare void @sm3_finish(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

; Function Attrs: nounwind uwtable
define dso_local i32 @kyber_poly_uniform_sample(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca %struct.SM3_CTX, align 8
  %11 = alloca [38 x i8], align 16
  %12 = alloca [96 x i8], align 16
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i16, align 2
  %18 = alloca i16, align 2
  %19 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i8 %2, ptr %8, align 1, !tbaa !9
  store i8 %3, ptr %9, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 112, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 38, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %20, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds i16, ptr %21, i64 256
  store ptr %22, ptr %16, align 8, !tbaa !5
  %23 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 0
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 1 %24, i64 32, i1 false)
  %25 = load i8, ptr %8, align 1, !tbaa !9
  %26 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 32
  store i8 %25, ptr %26, align 16, !tbaa !9
  %27 = load i8, ptr %9, align 1, !tbaa !9
  %28 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 33
  store i8 %27, ptr %28, align 1, !tbaa !9
  br label %29

29:                                               ; preds = %134, %4
  store i64 0, ptr %14, align 8, !tbaa !12
  br label %30

30:                                               ; preds = %64, %29
  %31 = load i64, ptr %14, align 8, !tbaa !12
  %32 = icmp ult i64 %31, 3
  br i1 %32, label %33, label %67

33:                                               ; preds = %30
  %34 = load i32, ptr %13, align 4, !tbaa !10
  %35 = lshr i32 %34, 24
  %36 = trunc i32 %35 to i8
  %37 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 0
  %38 = getelementptr inbounds i8, ptr %37, i64 34
  %39 = getelementptr inbounds i8, ptr %38, i64 0
  store i8 %36, ptr %39, align 1, !tbaa !9
  %40 = load i32, ptr %13, align 4, !tbaa !10
  %41 = lshr i32 %40, 16
  %42 = trunc i32 %41 to i8
  %43 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 0
  %44 = getelementptr inbounds i8, ptr %43, i64 34
  %45 = getelementptr inbounds i8, ptr %44, i64 1
  store i8 %42, ptr %45, align 1, !tbaa !9
  %46 = load i32, ptr %13, align 4, !tbaa !10
  %47 = lshr i32 %46, 8
  %48 = trunc i32 %47 to i8
  %49 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 0
  %50 = getelementptr inbounds i8, ptr %49, i64 34
  %51 = getelementptr inbounds i8, ptr %50, i64 2
  store i8 %48, ptr %51, align 1, !tbaa !9
  %52 = load i32, ptr %13, align 4, !tbaa !10
  %53 = trunc i32 %52 to i8
  %54 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 0
  %55 = getelementptr inbounds i8, ptr %54, i64 34
  %56 = getelementptr inbounds i8, ptr %55, i64 3
  store i8 %53, ptr %56, align 1, !tbaa !9
  %57 = load i32, ptr %13, align 4, !tbaa !10
  %58 = add i32 %57, 1
  store i32 %58, ptr %13, align 4, !tbaa !10
  call void @sm3_init(ptr noundef %10)
  %59 = getelementptr inbounds [38 x i8], ptr %11, i64 0, i64 0
  call void @sm3_update(ptr noundef %10, ptr noundef %59, i64 noundef 38)
  %60 = getelementptr inbounds [96 x i8], ptr %12, i64 0, i64 0
  %61 = load i64, ptr %14, align 8, !tbaa !12
  %62 = mul i64 32, %61
  %63 = getelementptr inbounds i8, ptr %60, i64 %62
  call void @sm3_finish(ptr noundef %10, ptr noundef %63)
  br label %64

64:                                               ; preds = %33
  %65 = load i64, ptr %14, align 8, !tbaa !12
  %66 = add i64 %65, 1
  store i64 %66, ptr %14, align 8, !tbaa !12
  br label %30, !llvm.loop !14

67:                                               ; preds = %30
  store i64 0, ptr %14, align 8, !tbaa !12
  br label %68

68:                                               ; preds = %131, %67
  %69 = load i64, ptr %14, align 8, !tbaa !12
  %70 = icmp ult i64 %69, 96
  br i1 %70, label %71, label %134

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #4
  %72 = load i64, ptr %14, align 8, !tbaa !12
  %73 = getelementptr inbounds [96 x i8], ptr %12, i64 0, i64 %72
  %74 = load i8, ptr %73, align 1, !tbaa !9
  %75 = zext i8 %74 to i32
  %76 = load i64, ptr %14, align 8, !tbaa !12
  %77 = add i64 %76, 1
  %78 = getelementptr inbounds [96 x i8], ptr %12, i64 0, i64 %77
  %79 = load i8, ptr %78, align 1, !tbaa !9
  %80 = zext i8 %79 to i32
  %81 = and i32 %80, 15
  %82 = trunc i32 %81 to i16
  %83 = sext i16 %82 to i32
  %84 = shl i32 %83, 8
  %85 = or i32 %75, %84
  %86 = trunc i32 %85 to i16
  store i16 %86, ptr %17, align 2, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 2, ptr %18) #4
  %87 = load i64, ptr %14, align 8, !tbaa !12
  %88 = add i64 %87, 1
  %89 = getelementptr inbounds [96 x i8], ptr %12, i64 0, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !9
  %91 = zext i8 %90 to i32
  %92 = ashr i32 %91, 4
  %93 = load i64, ptr %14, align 8, !tbaa !12
  %94 = add i64 %93, 2
  %95 = getelementptr inbounds [96 x i8], ptr %12, i64 0, i64 %94
  %96 = load i8, ptr %95, align 1, !tbaa !9
  %97 = zext i8 %96 to i16
  %98 = sext i16 %97 to i32
  %99 = shl i32 %98, 4
  %100 = or i32 %92, %99
  %101 = trunc i32 %100 to i16
  store i16 %101, ptr %18, align 2, !tbaa !16
  %102 = load i16, ptr %17, align 2, !tbaa !16
  %103 = sext i16 %102 to i32
  %104 = icmp slt i32 %103, 3329
  br i1 %104, label %105, label %114

105:                                              ; preds = %71
  %106 = load i16, ptr %17, align 2, !tbaa !16
  %107 = load ptr, ptr %15, align 8, !tbaa !5
  %108 = getelementptr inbounds i16, ptr %107, i32 1
  store ptr %108, ptr %15, align 8, !tbaa !5
  store i16 %106, ptr %107, align 2, !tbaa !16
  %109 = load ptr, ptr %15, align 8, !tbaa !5
  %110 = load ptr, ptr %16, align 8, !tbaa !5
  %111 = icmp uge ptr %109, %110
  br i1 %111, label %112, label %113

112:                                              ; preds = %105
  store i32 10, ptr %19, align 4
  br label %128

113:                                              ; preds = %105
  br label %114

114:                                              ; preds = %113, %71
  %115 = load i16, ptr %18, align 2, !tbaa !16
  %116 = sext i16 %115 to i32
  %117 = icmp slt i32 %116, 3329
  br i1 %117, label %118, label %127

118:                                              ; preds = %114
  %119 = load i16, ptr %18, align 2, !tbaa !16
  %120 = load ptr, ptr %15, align 8, !tbaa !5
  %121 = getelementptr inbounds i16, ptr %120, i32 1
  store ptr %121, ptr %15, align 8, !tbaa !5
  store i16 %119, ptr %120, align 2, !tbaa !16
  %122 = load ptr, ptr %15, align 8, !tbaa !5
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  %124 = icmp uge ptr %122, %123
  br i1 %124, label %125, label %126

125:                                              ; preds = %118
  store i32 10, ptr %19, align 4
  br label %128

126:                                              ; preds = %118
  br label %127

127:                                              ; preds = %126, %114
  store i32 0, ptr %19, align 4
  br label %128

128:                                              ; preds = %127, %125, %112
  call void @llvm.lifetime.end.p0(i64 2, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #4
  %129 = load i32, ptr %19, align 4
  switch i32 %129, label %136 [
    i32 0, label %130
    i32 10, label %135
  ]

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130
  %132 = load i64, ptr %14, align 8, !tbaa !12
  %133 = add i64 %132, 3
  store i64 %133, ptr %14, align 8, !tbaa !12
  br label %68, !llvm.loop !18

134:                                              ; preds = %68
  br label %29

135:                                              ; preds = %128
  store i32 1, ptr %5, align 4
  store i32 1, ptr %19, align 4
  br label %136

136:                                              ; preds = %135, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 38, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 112, ptr %10) #4
  %137 = load i32, ptr %5, align 4
  ret i32 %137
}

; 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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !15}


; 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 }

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

declare void @sm3_init(ptr noundef) local_unnamed_addr #1

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

declare void @sm3_finish(ptr 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
define dso_local noundef i32 @kyber_poly_uniform_sample(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i8 noundef zeroext %2, i8 noundef zeroext %3) local_unnamed_addr #2 {
  %5 = alloca %struct.SM3_CTX, align 8
  %6 = alloca [38 x i8], align 16
  %7 = alloca [96 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 38, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(32) %1, i64 32, i1 false)
  %8 = getelementptr inbounds i8, ptr %6, i64 32
  store i8 %2, ptr %8, align 16, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %6, i64 33
  store i8 %3, ptr %9, align 1, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %6, i64 34
  %11 = getelementptr inbounds i8, ptr %6, i64 35
  %12 = getelementptr inbounds i8, ptr %6, i64 36
  %13 = getelementptr inbounds i8, ptr %6, i64 37
  %14 = getelementptr inbounds i8, ptr %7, i64 32
  %15 = getelementptr inbounds i8, ptr %7, i64 64
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %select.unfold
  br label %.loopexit, !llvm.loop !8

.loopexit:                                        ; preds = %.loopexit.loopexit, %4
  %.033.idx = phi i64 [ 0, %4 ], [ %.4.idx.ph, %.loopexit.loopexit ]
  %.030 = phi i32 [ 0, %4 ], [ %39, %.loopexit.loopexit ]
  %16 = lshr i32 %.030, 24
  %17 = trunc nuw i32 %16 to i8
  store i8 %17, ptr %10, align 2, !tbaa !5
  %18 = lshr i32 %.030, 16
  %19 = trunc i32 %18 to i8
  store i8 %19, ptr %11, align 1, !tbaa !5
  %20 = lshr i32 %.030, 8
  %21 = trunc i32 %20 to i8
  store i8 %21, ptr %12, align 4, !tbaa !5
  %22 = trunc i32 %.030 to i8
  store i8 %22, ptr %13, align 1, !tbaa !5
  %23 = add i32 %.030, 1
  call void @sm3_init(ptr noundef nonnull %5) #4
  call void @sm3_update(ptr noundef nonnull %5, ptr noundef nonnull %6, i64 noundef 38) #4
  call void @sm3_finish(ptr noundef nonnull %5, ptr noundef nonnull %7) #4
  %24 = lshr i32 %23, 24
  %25 = trunc nuw i32 %24 to i8
  store i8 %25, ptr %10, align 2, !tbaa !5
  %26 = lshr i32 %23, 16
  %27 = trunc i32 %26 to i8
  store i8 %27, ptr %11, align 1, !tbaa !5
  %28 = lshr i32 %23, 8
  %29 = trunc i32 %28 to i8
  store i8 %29, ptr %12, align 4, !tbaa !5
  %30 = trunc i32 %23 to i8
  store i8 %30, ptr %13, align 1, !tbaa !5
  %31 = add i32 %.030, 2
  call void @sm3_init(ptr noundef nonnull %5) #4
  call void @sm3_update(ptr noundef nonnull %5, ptr noundef nonnull %6, i64 noundef 38) #4
  call void @sm3_finish(ptr noundef nonnull %5, ptr noundef nonnull %14) #4
  %32 = lshr i32 %31, 24
  %33 = trunc nuw i32 %32 to i8
  store i8 %33, ptr %10, align 2, !tbaa !5
  %34 = lshr i32 %31, 16
  %35 = trunc i32 %34 to i8
  store i8 %35, ptr %11, align 1, !tbaa !5
  %36 = lshr i32 %31, 8
  %37 = trunc i32 %36 to i8
  store i8 %37, ptr %12, align 4, !tbaa !5
  %38 = trunc i32 %31 to i8
  store i8 %38, ptr %13, align 1, !tbaa !5
  %39 = add i32 %.030, 3
  call void @sm3_init(ptr noundef nonnull %5) #4
  call void @sm3_update(ptr noundef nonnull %5, ptr noundef nonnull %6, i64 noundef 38) #4
  call void @sm3_finish(ptr noundef nonnull %5, ptr noundef nonnull %15) #4
  br label %40

40:                                               ; preds = %.loopexit, %select.unfold
  %.13250 = phi i64 [ 0, %.loopexit ], [ %64, %select.unfold ]
  %.134.idx49 = phi i64 [ %.033.idx, %.loopexit ], [ %.4.idx.ph, %select.unfold ]
  %41 = getelementptr inbounds [96 x i8], ptr %7, i64 0, i64 %.13250
  %42 = load i8, ptr %41, align 1, !tbaa !5
  %43 = zext i8 %42 to i16
  %44 = add nuw nsw i64 %.13250, 1
  %45 = getelementptr inbounds [96 x i8], ptr %7, i64 0, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !5
  %47 = and i8 %46, 15
  %48 = zext nneg i8 %47 to i16
  %49 = shl nuw nsw i16 %48, 8
  %50 = or disjoint i16 %49, %43
  %51 = lshr i8 %46, 4
  %52 = zext nneg i8 %51 to i16
  %53 = add nuw nsw i64 %.13250, 2
  %54 = getelementptr inbounds [96 x i8], ptr %7, i64 0, i64 %53
  %55 = load i8, ptr %54, align 1, !tbaa !5
  %56 = zext i8 %55 to i16
  %57 = shl nuw nsw i16 %56, 4
  %58 = or disjoint i16 %57, %52
  %59 = icmp ult i16 %50, 3329
  br i1 %59, label %60, label %61

60:                                               ; preds = %40
  %.134.ptr51 = getelementptr inbounds i8, ptr %0, i64 %.134.idx49
  %.134.add = add nsw i64 %.134.idx49, 2
  store i16 %50, ptr %.134.ptr51, align 2, !tbaa !10
  %.not = icmp slt i64 %.134.idx49, 510
  br i1 %.not, label %61, label %66

61:                                               ; preds = %60, %40
  %.2.idx = phi i64 [ %.134.add, %60 ], [ %.134.idx49, %40 ]
  %62 = icmp ult i16 %58, 3329
  br i1 %62, label %63, label %select.unfold

63:                                               ; preds = %61
  %.2.ptr = getelementptr inbounds i8, ptr %0, i64 %.2.idx
  %.2.add = add nsw i64 %.2.idx, 2
  store i16 %58, ptr %.2.ptr, align 2, !tbaa !10
  %.not40 = icmp slt i64 %.2.idx, 510
  br i1 %.not40, label %select.unfold, label %66

select.unfold:                                    ; preds = %63, %61
  %.4.idx.ph = phi i64 [ %.2.idx, %61 ], [ %.2.add, %63 ]
  %64 = add nuw nsw i64 %.13250, 3
  %65 = icmp ult i64 %.13250, 93
  br i1 %65, label %40, label %.loopexit.loopexit, !llvm.loop !8

66:                                               ; preds = %60, %63
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 38, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #4
  ret i32 1
}

; 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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass