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

; 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.mpoint_t = type { i32, i32 }
%struct.event_t = type { i32, i32, i32, 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 }
%struct.mobj_s = type { %struct.thinker_s, i32, i32, i32, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, %struct.mapthing_t, ptr }
%struct.thinker_s = type { ptr, ptr, %union.actionf_t }
%union.actionf_t = type { ptr }
%struct.mapthing_t = type { i16, i16, i16, i16, i16 }

@automapactive = external dso_local global i32, align 4
@m_w = external hidden global i32, align 4
@m_x = external hidden global i32, align 4
@m_h = external hidden global i32, align 4
@m_y = external hidden global i32, align 4
@f_w = external hidden global i32, align 4
@scale_ftom = external hidden global i32, align 4
@f_h = external hidden global i32, align 4
@old_m_x = external hidden global i32, align 4
@old_m_y = external hidden global i32, align 4
@old_m_w = external hidden global i32, align 4
@old_m_h = external hidden global i32, align 4
@plr = external hidden global ptr, align 8
@m_paninc = external hidden global %struct.mpoint_t, align 4
@f_oldloc = external hidden global %struct.mpoint_t, align 4
@AM_initVariables.st_notify = external hidden global %struct.event_t, align 4
@screens = external global [5 x ptr], align 16
@fb = external hidden global ptr, align 8
@amclock = external hidden global i32, align 4
@lightlev = external hidden global i32, align 4
@ftom_zoommul = external hidden global i32, align 4
@mtof_zoommul = external hidden global i32, align 4
@playeringame = external global [4 x i32], align 16
@consoleplayer = external global i32, align 4
@players = external global [4 x %struct.player_s], 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: inlinehint nounwind uwtable
declare hidden i32 @FixedMul(i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @AM_changeWindowLoc() #2

; Function Attrs: nounwind uwtable
define dso_local void @AM_initVariables() #2 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  store i32 1, ptr @automapactive, align 4, !tbaa !5
  %2 = load ptr, ptr @screens, align 16, !tbaa !9
  store ptr %2, ptr @fb, align 8, !tbaa !9
  store i32 2147483647, ptr @f_oldloc, align 4, !tbaa !11
  store i32 0, ptr @amclock, align 4, !tbaa !5
  store i32 0, ptr @lightlev, align 4, !tbaa !5
  store i32 0, ptr getelementptr inbounds (%struct.mpoint_t, ptr @m_paninc, i32 0, i32 1), align 4, !tbaa !13
  store i32 0, ptr @m_paninc, align 4, !tbaa !11
  store i32 65536, ptr @ftom_zoommul, align 4, !tbaa !5
  store i32 65536, ptr @mtof_zoommul, align 4, !tbaa !5
  %3 = load i32, ptr @f_w, align 4, !tbaa !5
  %4 = shl i32 %3, 16
  %5 = load i32, ptr @scale_ftom, align 4, !tbaa !5
  %6 = call i32 @FixedMul(i32 noundef %4, i32 noundef %5)
  store i32 %6, ptr @m_w, align 4, !tbaa !5
  %7 = load i32, ptr @f_h, align 4, !tbaa !5
  %8 = shl i32 %7, 16
  %9 = load i32, ptr @scale_ftom, align 4, !tbaa !5
  %10 = call i32 @FixedMul(i32 noundef %8, i32 noundef %9)
  store i32 %10, ptr @m_h, align 4, !tbaa !5
  %11 = load i32, ptr @consoleplayer, align 4, !tbaa !5
  store i32 %11, ptr %1, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [4 x i32], ptr @playeringame, i64 0, i64 %12
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %32, label %16

16:                                               ; preds = %0
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %28, %16
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 4
  br i1 %19, label %20, label %31

20:                                               ; preds = %17
  %21 = load i32, ptr %1, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [4 x i32], ptr @playeringame, i64 0, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %27

26:                                               ; preds = %20
  br label %31

27:                                               ; preds = %20
  br label %28

28:                                               ; preds = %27
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %1, align 4, !tbaa !5
  br label %17, !llvm.loop !14

31:                                               ; preds = %26, %17
  br label %32

32:                                               ; preds = %31, %0
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [4 x %struct.player_s], ptr @players, i64 0, i64 %34
  store ptr %35, ptr @plr, align 8, !tbaa !9
  %36 = load ptr, ptr @plr, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.player_s, ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !16
  %39 = getelementptr inbounds %struct.mobj_s, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 8, !tbaa !20
  %41 = load i32, ptr @m_w, align 4, !tbaa !5
  %42 = sdiv i32 %41, 2
  %43 = sub nsw i32 %40, %42
  store i32 %43, ptr @m_x, align 4, !tbaa !5
  %44 = load ptr, ptr @plr, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.player_s, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !16
  %47 = getelementptr inbounds %struct.mobj_s, ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 4, !tbaa !24
  %49 = load i32, ptr @m_h, align 4, !tbaa !5
  %50 = sdiv i32 %49, 2
  %51 = sub nsw i32 %48, %50
  store i32 %51, ptr @m_y, align 4, !tbaa !5
  call void @AM_changeWindowLoc()
  %52 = load i32, ptr @m_x, align 4, !tbaa !5
  store i32 %52, ptr @old_m_x, align 4, !tbaa !5
  %53 = load i32, ptr @m_y, align 4, !tbaa !5
  store i32 %53, ptr @old_m_y, align 4, !tbaa !5
  %54 = load i32, ptr @m_w, align 4, !tbaa !5
  store i32 %54, ptr @old_m_w, align 4, !tbaa !5
  %55 = load i32, ptr @m_h, align 4, !tbaa !5
  store i32 %55, ptr @old_m_h, align 4, !tbaa !5
  %56 = call i32 @ST_Responder(ptr noundef @AM_initVariables.st_notify)
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

declare i32 @ST_Responder(ptr noundef) #3

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

!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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !10, i64 0}
!17 = !{!"player_s", !10, i64 0, !6, i64 8, !18, i64 12, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !7, i64 48, !7, i64 72, !6, i64 96, !7, i64 100, !6, i64 116, !6, i64 120, !7, i64 124, !7, i64 160, !7, i64 176, !6, i64 192, !6, i64 196, !6, i64 200, !6, i64 204, !6, i64 208, !6, i64 212, !6, i64 216, !10, i64 224, !6, i64 232, !6, i64 236, !10, i64 240, !6, i64 248, !6, i64 252, !6, i64 256, !7, i64 264, !6, i64 312}
!18 = !{!"", !7, i64 0, !7, i64 1, !19, i64 2, !19, i64 4, !7, i64 6, !7, i64 7}
!19 = !{!"short", !7, i64 0}
!20 = !{!21, !6, i64 24}
!21 = !{!"mobj_s", !22, i64 0, !6, i64 24, !6, i64 28, !6, i64 32, !10, i64 40, !10, i64 48, !6, i64 56, !6, i64 60, !6, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !6, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !6, i64 128, !10, i64 136, !6, i64 144, !10, i64 152, !6, i64 160, !6, i64 164, !6, i64 168, !6, i64 172, !10, i64 176, !6, i64 184, !6, i64 188, !10, i64 192, !6, i64 200, !23, i64 204, !10, i64 216}
!22 = !{!"thinker_s", !10, i64 0, !10, i64 8, !7, i64 16}
!23 = !{!"", !19, i64 0, !19, i64 2, !19, i64 4, !19, i64 6, !19, i64 8}
!24 = !{!21, !6, i64 28}


; 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.mpoint_t = type { i32, i32 }
%struct.event_t = type { i32, i32, i32, 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 }

@automapactive = external dso_local local_unnamed_addr global i32, align 4
@m_w = external hidden local_unnamed_addr global i32, align 4
@m_x = external hidden local_unnamed_addr global i32, align 4
@m_h = external hidden local_unnamed_addr global i32, align 4
@m_y = external hidden local_unnamed_addr global i32, align 4
@f_w = external hidden local_unnamed_addr global i32, align 4
@scale_ftom = external hidden local_unnamed_addr global i32, align 4
@f_h = external hidden local_unnamed_addr global i32, align 4
@old_m_x = external hidden local_unnamed_addr global i32, align 4
@old_m_y = external hidden local_unnamed_addr global i32, align 4
@old_m_w = external hidden local_unnamed_addr global i32, align 4
@old_m_h = external hidden local_unnamed_addr global i32, align 4
@plr = external hidden local_unnamed_addr global ptr, align 8
@m_paninc = external hidden local_unnamed_addr global %struct.mpoint_t, align 4
@f_oldloc = external hidden local_unnamed_addr global %struct.mpoint_t, align 4
@AM_initVariables.st_notify = external hidden global %struct.event_t, align 4
@screens = external local_unnamed_addr global [5 x ptr], align 16
@fb = external hidden local_unnamed_addr global ptr, align 8
@amclock = external hidden local_unnamed_addr global i32, align 4
@lightlev = external hidden local_unnamed_addr global i32, align 4
@ftom_zoommul = external hidden local_unnamed_addr global i32, align 4
@mtof_zoommul = external hidden local_unnamed_addr global i32, align 4
@playeringame = external local_unnamed_addr global [4 x i32], align 16
@consoleplayer = external local_unnamed_addr global i32, align 4
@players = external global [4 x %struct.player_s], align 16

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @FixedMul(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @AM_changeWindowLoc() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @AM_initVariables() local_unnamed_addr #1 {
  store i32 1, ptr @automapactive, align 4, !tbaa !5
  %1 = load ptr, ptr @screens, align 16, !tbaa !9
  store ptr %1, ptr @fb, align 8, !tbaa !9
  store i32 2147483647, ptr @f_oldloc, align 4, !tbaa !11
  store i32 0, ptr @amclock, align 4, !tbaa !5
  store i32 0, ptr @lightlev, align 4, !tbaa !5
  store i32 0, ptr getelementptr inbounds (i8, ptr @m_paninc, i64 4), align 4, !tbaa !13
  store i32 0, ptr @m_paninc, align 4, !tbaa !11
  store i32 65536, ptr @ftom_zoommul, align 4, !tbaa !5
  store i32 65536, ptr @mtof_zoommul, align 4, !tbaa !5
  %2 = load i32, ptr @f_w, align 4, !tbaa !5
  %3 = shl i32 %2, 16
  %4 = load i32, ptr @scale_ftom, align 4, !tbaa !5
  %5 = tail call i32 @FixedMul(i32 noundef %3, i32 noundef %4)
  store i32 %5, ptr @m_w, align 4, !tbaa !5
  %6 = load i32, ptr @f_h, align 4, !tbaa !5
  %7 = shl i32 %6, 16
  %8 = load i32, ptr @scale_ftom, align 4, !tbaa !5
  %9 = tail call i32 @FixedMul(i32 noundef %7, i32 noundef %8)
  store i32 %9, ptr @m_h, align 4, !tbaa !5
  %10 = load i32, ptr @consoleplayer, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [4 x i32], ptr @playeringame, i64 0, i64 %11
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %.not = icmp eq i32 %13, 0
  br i1 %.not, label %.preheader.preheader, label %.loopexit

.preheader.preheader:                             ; preds = %0
  %14 = load i32, ptr @playeringame, align 16, !tbaa !5
  %.not4 = icmp eq i32 %14, 0
  br i1 %.not4, label %.preheader.1, label %.loopexit

.preheader.1:                                     ; preds = %.preheader.preheader
  %15 = load i32, ptr getelementptr inbounds (i8, ptr @playeringame, i64 4), align 4, !tbaa !5
  %.not4.1 = icmp eq i32 %15, 0
  br i1 %.not4.1, label %.preheader.2, label %.loopexit

.preheader.2:                                     ; preds = %.preheader.1
  %16 = load i32, ptr getelementptr inbounds (i8, ptr @playeringame, i64 8), align 8, !tbaa !5
  %.not4.2 = icmp eq i32 %16, 0
  br i1 %.not4.2, label %.preheader.3, label %.loopexit

.preheader.3:                                     ; preds = %.preheader.2
  %17 = load i32, ptr getelementptr inbounds (i8, ptr @playeringame, i64 12), align 4, !tbaa !5
  %.not4.3 = icmp eq i32 %17, 0
  %spec.select = select i1 %.not4.3, i64 4, i64 3
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.3, %.preheader.preheader, %.preheader.1, %.preheader.2, %0
  %.pre-phi = phi i64 [ %11, %0 ], [ 0, %.preheader.preheader ], [ 1, %.preheader.1 ], [ 2, %.preheader.2 ], [ %spec.select, %.preheader.3 ]
  %18 = getelementptr inbounds [4 x %struct.player_s], ptr @players, i64 0, i64 %.pre-phi
  store ptr %18, ptr @plr, align 8, !tbaa !9
  %19 = load ptr, ptr %18, align 16, !tbaa !14
  %20 = getelementptr inbounds i8, ptr %19, i64 24
  %21 = load i32, ptr %20, align 8, !tbaa !18
  %22 = load i32, ptr @m_w, align 4, !tbaa !5
  %.neg = sdiv i32 %22, -2
  %23 = add i32 %.neg, %21
  store i32 %23, ptr @m_x, align 4, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %19, i64 28
  %25 = load i32, ptr %24, align 4, !tbaa !22
  %.neg5 = sdiv i32 %9, -2
  %26 = add i32 %25, %.neg5
  store i32 %26, ptr @m_y, align 4, !tbaa !5
  tail call void @AM_changeWindowLoc()
  %27 = load i32, ptr @m_x, align 4, !tbaa !5
  store i32 %27, ptr @old_m_x, align 4, !tbaa !5
  %28 = load i32, ptr @m_y, align 4, !tbaa !5
  store i32 %28, ptr @old_m_y, align 4, !tbaa !5
  %29 = load i32, ptr @m_w, align 4, !tbaa !5
  store i32 %29, ptr @old_m_w, align 4, !tbaa !5
  %30 = load i32, ptr @m_h, align 4, !tbaa !5
  store i32 %30, ptr @old_m_h, align 4, !tbaa !5
  %31 = tail call i32 @ST_Responder(ptr noundef nonnull @AM_initVariables.st_notify) #3
  ret void
}

declare i32 @ST_Responder(ptr noundef) local_unnamed_addr #2

attributes #0 = { 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 #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 = { "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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 4}
!14 = !{!15, !10, i64 0}
!15 = !{!"player_s", !10, i64 0, !6, i64 8, !16, i64 12, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !7, i64 48, !7, i64 72, !6, i64 96, !7, i64 100, !6, i64 116, !6, i64 120, !7, i64 124, !7, i64 160, !7, i64 176, !6, i64 192, !6, i64 196, !6, i64 200, !6, i64 204, !6, i64 208, !6, i64 212, !6, i64 216, !10, i64 224, !6, i64 232, !6, i64 236, !10, i64 240, !6, i64 248, !6, i64 252, !6, i64 256, !7, i64 264, !6, i64 312}
!16 = !{!"", !7, i64 0, !7, i64 1, !17, i64 2, !17, i64 4, !7, i64 6, !7, i64 7}
!17 = !{!"short", !7, i64 0}
!18 = !{!19, !6, i64 24}
!19 = !{!"mobj_s", !20, i64 0, !6, i64 24, !6, i64 28, !6, i64 32, !10, i64 40, !10, i64 48, !6, i64 56, !6, i64 60, !6, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !6, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !6, i64 128, !10, i64 136, !6, i64 144, !10, i64 152, !6, i64 160, !6, i64 164, !6, i64 168, !6, i64 172, !10, i64 176, !6, i64 184, !6, i64 188, !10, i64 192, !6, i64 200, !21, i64 204, !10, i64 216}
!20 = !{!"thinker_s", !10, i64 0, !10, i64 8, !7, i64 16}
!21 = !{!"", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8}
!22 = !{!19, !6, i64 28}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass