; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Doom/mc1-doom/src (st_stuff)

; 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.weaponinfo_t = type { i32, i32, i32, i32, i32, i32 }
%struct.st_number_t = type { i32, i32, i32, i32, ptr, ptr, ptr, i32 }
%struct.player_s = type { ptr, i32, %struct.ticcmd_t, i32, i32, i32, i32, i32, i32, i32, [6 x i32], [6 x i32], i32, [4 x i32], i32, i32, [9 x i32], [4 x i32], [4 x i32], i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, [2 x %struct.pspdef_t], i32 }
%struct.ticcmd_t = type { i8, i8, i16, i16, i8, i8 }
%struct.pspdef_t = type { ptr, i32, i32, i32 }

@st_statusbaron = external hidden global i32, align 4
@plyr = external hidden global ptr, align 8
@consoleplayer = external global i32, align 4
@ST_updateWidgets.largeammo = external hidden global i32, align 4
@weaponinfo = external global [9 x %struct.weaponinfo_t], align 16
@w_ready = external hidden global %struct.st_number_t, align 8
@keyboxes = external hidden global [3 x i32], align 4
@deathmatch = external global i32, align 4
@st_notdeathmatch = external hidden global i32, align 4
@st_armson = external hidden global i32, align 4
@st_fragson = external hidden global i32, align 4
@st_fragscount = external hidden global i32, align 4
@st_msgcounter = external hidden global i32, align 4
@st_oldchat = external hidden global i32, align 4
@st_chat = external hidden global i32, align 4

; 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
declare dso_local void @ST_updateFaceWidget() #1

; Function Attrs: nounwind uwtable
define dso_local void @ST_updateWidgets() #1 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #2
  %2 = load ptr, ptr @plyr, align 8, !tbaa !5
  %3 = getelementptr inbounds %struct.player_s, ptr %2, i32 0, i32 14
  %4 = load i32, ptr %3, align 4, !tbaa !9
  %5 = zext i32 %4 to i64
  %6 = getelementptr inbounds [9 x %struct.weaponinfo_t], ptr @weaponinfo, i64 0, i64 %5
  %7 = getelementptr inbounds %struct.weaponinfo_t, ptr %6, i32 0, i32 0
  %8 = load i32, ptr %7, align 8, !tbaa !14
  %9 = icmp eq i32 %8, 5
  br i1 %9, label %10, label %11

10:                                               ; preds = %0
  store ptr @ST_updateWidgets.largeammo, ptr getelementptr inbounds (%struct.st_number_t, ptr @w_ready, i32 0, i32 4), align 8, !tbaa !16
  br label %23

11:                                               ; preds = %0
  %12 = load ptr, ptr @plyr, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.player_s, ptr %12, i32 0, i32 17
  %14 = load ptr, ptr @plyr, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.player_s, ptr %14, i32 0, i32 14
  %16 = load i32, ptr %15, align 4, !tbaa !9
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds [9 x %struct.weaponinfo_t], ptr @weaponinfo, i64 0, i64 %17
  %19 = getelementptr inbounds %struct.weaponinfo_t, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 8, !tbaa !14
  %21 = zext i32 %20 to i64
  %22 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 %21
  store ptr %22, ptr getelementptr inbounds (%struct.st_number_t, ptr @w_ready, i32 0, i32 4), align 8, !tbaa !16
  br label %23

23:                                               ; preds = %11, %10
  %24 = load ptr, ptr @plyr, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.player_s, ptr %24, i32 0, i32 14
  %26 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %26, ptr getelementptr inbounds (%struct.st_number_t, ptr @w_ready, i32 0, i32 7), align 8, !tbaa !18
  store i32 0, ptr %1, align 4, !tbaa !19
  br label %27

27:                                               ; preds = %61, %23
  %28 = load i32, ptr %1, align 4, !tbaa !19
  %29 = icmp slt i32 %28, 3
  br i1 %29, label %30, label %64

30:                                               ; preds = %27
  %31 = load ptr, ptr @plyr, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.player_s, ptr %31, i32 0, i32 11
  %33 = load i32, ptr %1, align 4, !tbaa !19
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [6 x i32], ptr %32, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !19
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %40

38:                                               ; preds = %30
  %39 = load i32, ptr %1, align 4, !tbaa !19
  br label %41

40:                                               ; preds = %30
  br label %41

41:                                               ; preds = %40, %38
  %42 = phi i32 [ %39, %38 ], [ -1, %40 ]
  %43 = load i32, ptr %1, align 4, !tbaa !19
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [3 x i32], ptr @keyboxes, i64 0, i64 %44
  store i32 %42, ptr %45, align 4, !tbaa !19
  %46 = load ptr, ptr @plyr, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.player_s, ptr %46, i32 0, i32 11
  %48 = load i32, ptr %1, align 4, !tbaa !19
  %49 = add nsw i32 %48, 3
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [6 x i32], ptr %47, i64 0, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !19
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %60

54:                                               ; preds = %41
  %55 = load i32, ptr %1, align 4, !tbaa !19
  %56 = add nsw i32 %55, 3
  %57 = load i32, ptr %1, align 4, !tbaa !19
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [3 x i32], ptr @keyboxes, i64 0, i64 %58
  store i32 %56, ptr %59, align 4, !tbaa !19
  br label %60

60:                                               ; preds = %54, %41
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %1, align 4, !tbaa !19
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %1, align 4, !tbaa !19
  br label %27, !llvm.loop !20

64:                                               ; preds = %27
  call void @ST_updateFaceWidget()
  %65 = load i32, ptr @deathmatch, align 4, !tbaa !19
  %66 = icmp ne i32 %65, 0
  %67 = xor i1 %66, true
  %68 = zext i1 %67 to i32
  store i32 %68, ptr @st_notdeathmatch, align 4, !tbaa !19
  %69 = load i32, ptr @st_statusbaron, align 4, !tbaa !19
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %75

71:                                               ; preds = %64
  %72 = load i32, ptr @deathmatch, align 4, !tbaa !19
  %73 = icmp ne i32 %72, 0
  %74 = xor i1 %73, true
  br label %75

75:                                               ; preds = %71, %64
  %76 = phi i1 [ false, %64 ], [ %74, %71 ]
  %77 = zext i1 %76 to i32
  store i32 %77, ptr @st_armson, align 4, !tbaa !19
  %78 = load i32, ptr @deathmatch, align 4, !tbaa !19
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %83

80:                                               ; preds = %75
  %81 = load i32, ptr @st_statusbaron, align 4, !tbaa !19
  %82 = icmp ne i32 %81, 0
  br label %83

83:                                               ; preds = %80, %75
  %84 = phi i1 [ false, %75 ], [ %82, %80 ]
  %85 = zext i1 %84 to i32
  store i32 %85, ptr @st_fragson, align 4, !tbaa !19
  store i32 0, ptr @st_fragscount, align 4, !tbaa !19
  store i32 0, ptr %1, align 4, !tbaa !19
  br label %86

86:                                               ; preds = %112, %83
  %87 = load i32, ptr %1, align 4, !tbaa !19
  %88 = icmp slt i32 %87, 4
  br i1 %88, label %89, label %115

89:                                               ; preds = %86
  %90 = load i32, ptr %1, align 4, !tbaa !19
  %91 = load i32, ptr @consoleplayer, align 4, !tbaa !19
  %92 = icmp ne i32 %90, %91
  br i1 %92, label %93, label %102

93:                                               ; preds = %89
  %94 = load ptr, ptr @plyr, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.player_s, ptr %94, i32 0, i32 13
  %96 = load i32, ptr %1, align 4, !tbaa !19
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [4 x i32], ptr %95, i64 0, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !19
  %100 = load i32, ptr @st_fragscount, align 4, !tbaa !19
  %101 = add nsw i32 %100, %99
  store i32 %101, ptr @st_fragscount, align 4, !tbaa !19
  br label %111

102:                                              ; preds = %89
  %103 = load ptr, ptr @plyr, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.player_s, ptr %103, i32 0, i32 13
  %105 = load i32, ptr %1, align 4, !tbaa !19
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [4 x i32], ptr %104, i64 0, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !19
  %109 = load i32, ptr @st_fragscount, align 4, !tbaa !19
  %110 = sub nsw i32 %109, %108
  store i32 %110, ptr @st_fragscount, align 4, !tbaa !19
  br label %111

111:                                              ; preds = %102, %93
  br label %112

112:                                              ; preds = %111
  %113 = load i32, ptr %1, align 4, !tbaa !19
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %1, align 4, !tbaa !19
  br label %86, !llvm.loop !22

115:                                              ; preds = %86
  %116 = load i32, ptr @st_msgcounter, align 4, !tbaa !19
  %117 = add nsw i32 %116, -1
  store i32 %117, ptr @st_msgcounter, align 4, !tbaa !19
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %121, label %119

119:                                              ; preds = %115
  %120 = load i32, ptr @st_oldchat, align 4, !tbaa !19
  store i32 %120, ptr @st_chat, align 4, !tbaa !19
  br label %121

121:                                              ; preds = %119, %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #2
  ret void
}

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 = { 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, !11, i64 116}
!10 = !{!"player_s", !6, i64 0, !11, i64 8, !12, i64 12, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48, !7, i64 72, !11, i64 96, !7, i64 100, !11, i64 116, !11, i64 120, !7, i64 124, !7, i64 160, !7, i64 176, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !6, i64 224, !11, i64 232, !11, i64 236, !6, i64 240, !11, i64 248, !11, i64 252, !11, i64 256, !7, i64 264, !11, i64 312}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 1, !13, i64 2, !13, i64 4, !7, i64 6, !7, i64 7}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!16 = !{!17, !6, i64 16}
!17 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40}
!18 = !{!17, !11, i64 40}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


; 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.weaponinfo_t = type { i32, i32, i32, i32, i32, i32 }
%struct.st_number_t = type { i32, i32, i32, i32, ptr, ptr, ptr, i32 }

@st_statusbaron = external hidden local_unnamed_addr global i32, align 4
@plyr = external hidden local_unnamed_addr global ptr, align 8
@consoleplayer = external local_unnamed_addr global i32, align 4
@ST_updateWidgets.largeammo = external hidden global i32, align 4
@weaponinfo = external local_unnamed_addr global [9 x %struct.weaponinfo_t], align 16
@w_ready = external hidden local_unnamed_addr global %struct.st_number_t, align 8
@keyboxes = external hidden local_unnamed_addr global [3 x i32], align 4
@deathmatch = external local_unnamed_addr global i32, align 4
@st_notdeathmatch = external hidden local_unnamed_addr global i32, align 4
@st_armson = external hidden local_unnamed_addr global i32, align 4
@st_fragson = external hidden local_unnamed_addr global i32, align 4
@st_fragscount = external hidden local_unnamed_addr global i32, align 4
@st_msgcounter = external hidden local_unnamed_addr global i32, align 4
@st_oldchat = external hidden local_unnamed_addr global i32, align 4
@st_chat = external hidden local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
declare dso_local void @ST_updateFaceWidget() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @ST_updateWidgets() local_unnamed_addr #0 {
  %1 = load ptr, ptr @plyr, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %1, i64 116
  %3 = load i32, ptr %2, align 4, !tbaa !9
  %4 = zext i32 %3 to i64
  %5 = getelementptr inbounds [9 x %struct.weaponinfo_t], ptr @weaponinfo, i64 0, i64 %4
  %6 = load i32, ptr %5, align 8, !tbaa !14
  %7 = icmp eq i32 %6, 5
  %8 = getelementptr inbounds i8, ptr %1, i64 160
  %9 = zext i32 %6 to i64
  %10 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %9
  %storemerge = select i1 %7, ptr @ST_updateWidgets.largeammo, ptr %10
  store ptr %storemerge, ptr getelementptr inbounds (i8, ptr @w_ready, i64 16), align 8, !tbaa !16
  store i32 %3, ptr getelementptr inbounds (i8, ptr @w_ready, i64 40), align 8, !tbaa !18
  %11 = getelementptr inbounds i8, ptr %1, i64 72
  %12 = load i32, ptr %11, align 4, !tbaa !19
  %.not18 = icmp eq i32 %12, 0
  %13 = sext i1 %.not18 to i32
  %14 = getelementptr inbounds i8, ptr %1, i64 84
  %15 = load i32, ptr %14, align 4, !tbaa !19
  %.not19 = icmp eq i32 %15, 0
  %spec.store.select = select i1 %.not19, i32 %13, i32 3
  store i32 %spec.store.select, ptr @keyboxes, align 4
  %16 = getelementptr inbounds i8, ptr %1, i64 76
  %17 = getelementptr inbounds i8, ptr %1, i64 88
  %18 = load <2 x i32>, ptr %16, align 4, !tbaa !19
  %19 = icmp eq <2 x i32> %18, zeroinitializer
  %20 = select <2 x i1> %19, <2 x i32> <i32 -1, i32 -1>, <2 x i32> <i32 1, i32 2>
  %21 = load <2 x i32>, ptr %17, align 4, !tbaa !19
  %22 = icmp eq <2 x i32> %21, zeroinitializer
  %23 = select <2 x i1> %22, <2 x i32> %20, <2 x i32> <i32 4, i32 5>
  store <2 x i32> %23, ptr getelementptr inbounds (i8, ptr @keyboxes, i64 4), align 4
  tail call void @ST_updateFaceWidget()
  %24 = load i32, ptr @deathmatch, align 4
  %.not = icmp eq i32 %24, 0
  %25 = zext i1 %.not to i32
  store i32 %25, ptr @st_notdeathmatch, align 4, !tbaa !19
  %26 = load i32, ptr @st_statusbaron, align 4
  %27 = icmp ne i32 %26, 0
  %28 = select i1 %27, i1 %.not, i1 false
  %29 = zext i1 %28 to i32
  store i32 %29, ptr @st_armson, align 4, !tbaa !19
  %30 = icmp ne i32 %24, 0
  %31 = select i1 %30, i1 %27, i1 false
  %32 = zext i1 %31 to i32
  store i32 %32, ptr @st_fragson, align 4, !tbaa !19
  %33 = load i32, ptr @consoleplayer, align 4, !tbaa !19
  %34 = load ptr, ptr @plyr, align 8
  %35 = getelementptr inbounds i8, ptr %34, i64 100
  %36 = load i32, ptr %35, align 4, !tbaa !19
  %37 = getelementptr inbounds i8, ptr %34, i64 104
  %38 = load i32, ptr %37, align 4, !tbaa !19
  switch i32 %33, label %41 [
    i32 0, label %.thread33
    i32 1, label %.thread29
  ]

.thread33:                                        ; preds = %0
  %39 = sub i32 %38, %36
  br label %.thread40

.thread29:                                        ; preds = %0
  %40 = sub nsw i32 %36, %38
  br label %.thread40

41:                                               ; preds = %0
  %42 = add nsw i32 %36, %38
  %.not16.2 = icmp eq i32 %33, 2
  %43 = getelementptr inbounds i8, ptr %34, i64 108
  %44 = load i32, ptr %43, align 4, !tbaa !19
  br i1 %.not16.2, label %.thread36, label %49

.thread36:                                        ; preds = %41
  %45 = sub nsw i32 %42, %44
  br label %51

.thread40:                                        ; preds = %.thread29, %.thread33
  %storemerge17.132.ph = phi i32 [ %39, %.thread33 ], [ %40, %.thread29 ]
  %46 = getelementptr inbounds i8, ptr %34, i64 108
  %47 = load i32, ptr %46, align 4, !tbaa !19
  %48 = add nsw i32 %storemerge17.132.ph, %47
  br label %51

49:                                               ; preds = %41
  %50 = add nsw i32 %42, %44
  %.not16.3 = icmp eq i32 %33, 3
  br i1 %.not16.3, label %55, label %51

51:                                               ; preds = %.thread40, %.thread36, %49
  %storemerge17.239 = phi i32 [ %45, %.thread36 ], [ %50, %49 ], [ %48, %.thread40 ]
  %52 = getelementptr inbounds i8, ptr %34, i64 112
  %53 = load i32, ptr %52, align 4, !tbaa !19
  %54 = add nsw i32 %storemerge17.239, %53
  br label %59

55:                                               ; preds = %49
  %56 = getelementptr inbounds i8, ptr %34, i64 112
  %57 = load i32, ptr %56, align 4, !tbaa !19
  %58 = sub nsw i32 %50, %57
  br label %59

59:                                               ; preds = %55, %51
  %storemerge17.3 = phi i32 [ %58, %55 ], [ %54, %51 ]
  store i32 %storemerge17.3, ptr @st_fragscount, align 4, !tbaa !19
  %60 = load i32, ptr @st_msgcounter, align 4, !tbaa !19
  %61 = add nsw i32 %60, -1
  store i32 %61, ptr @st_msgcounter, align 4, !tbaa !19
  %.not15 = icmp eq i32 %61, 0
  br i1 %.not15, label %62, label %64

62:                                               ; preds = %59
  %63 = load i32, ptr @st_oldchat, align 4, !tbaa !19
  store i32 %63, ptr @st_chat, align 4, !tbaa !19
  br label %64

64:                                               ; preds = %62, %59
  ret void
}

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

!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, !11, i64 116}
!10 = !{!"player_s", !6, i64 0, !11, i64 8, !12, i64 12, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48, !7, i64 72, !11, i64 96, !7, i64 100, !11, i64 116, !11, i64 120, !7, i64 124, !7, i64 160, !7, i64 176, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !6, i64 224, !11, i64 232, !11, i64 236, !6, i64 240, !11, i64 248, !11, i64 252, !11, i64 256, !7, i64 264, !11, i64 312}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 1, !13, i64 2, !13, i64 4, !7, i64 6, !7, i64 7}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!16 = !{!17, !6, i64 16}
!17 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40}
!18 = !{!17, !11, i64 40}
!19 = !{!11, !11, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass