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

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

@mousearray = external dso_local global [4 x i32], align 16
@joyarray = external dso_local global [5 x i32], align 16
@consoleplayer = external dso_local global i32, align 4
@gamekeydown = external dso_local global [256 x i32], align 16
@joyxmove = external dso_local global i32, align 4
@joyymove = external dso_local global i32, align 4
@mousey = external dso_local global i32, align 4
@mousex = external dso_local global i32, align 4
@sendpause = external dso_local global i32, align 4
@sendsave = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@skyflatnum = external global i32, align 4
@gamemode = external global i32, align 4
@gamemission = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@skytexture = external global i32, align 4
@gamemap = external dso_local global i32, align 4
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@gametic = external dso_local global i32, align 4
@levelstarttic = external dso_local global i32, align 4
@wipegamestate = external global i32, align 4
@gamestate = external dso_local global i32, align 4
@playeringame = external dso_local global [4 x i32], align 16
@players = external dso_local global [4 x %struct.player_s], align 16
@gameepisode = external dso_local global i32, align 4
@gameskill = external dso_local global i32, align 4
@displayplayer = external dso_local global i32, align 4
@starttime = external dso_local global i32, align 4
@gameaction = external dso_local global i32, align 4
@paused = external dso_local 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
define dso_local void @G_DoLoadLevel() #1 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  %2 = call i32 @R_FlatNumForName(ptr noundef @.str)
  store i32 %2, ptr @skyflatnum, align 4, !tbaa !5
  %3 = load i32, ptr @gamemode, align 4, !tbaa !5
  %4 = icmp eq i32 %3, 2
  br i1 %4, label %11, label %5

5:                                                ; preds = %0
  %6 = load i32, ptr @gamemission, align 4, !tbaa !5
  %7 = icmp eq i32 %6, 2
  br i1 %7, label %11, label %8

8:                                                ; preds = %5
  %9 = load i32, ptr @gamemission, align 4, !tbaa !5
  %10 = icmp eq i32 %9, 3
  br i1 %10, label %11, label %24

11:                                               ; preds = %8, %5, %0
  %12 = call i32 @R_TextureNumForName(ptr noundef @.str.1)
  store i32 %12, ptr @skytexture, align 4, !tbaa !5
  %13 = load i32, ptr @gamemap, align 4, !tbaa !5
  %14 = icmp slt i32 %13, 12
  br i1 %14, label %15, label %17

15:                                               ; preds = %11
  %16 = call i32 @R_TextureNumForName(ptr noundef @.str.2)
  store i32 %16, ptr @skytexture, align 4, !tbaa !5
  br label %23

17:                                               ; preds = %11
  %18 = load i32, ptr @gamemap, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 21
  br i1 %19, label %20, label %22

20:                                               ; preds = %17
  %21 = call i32 @R_TextureNumForName(ptr noundef @.str.3)
  store i32 %21, ptr @skytexture, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %20, %17
  br label %23

23:                                               ; preds = %22, %15
  br label %24

24:                                               ; preds = %23, %8
  %25 = load i32, ptr @gametic, align 4, !tbaa !5
  store i32 %25, ptr @levelstarttic, align 4, !tbaa !5
  %26 = load i32, ptr @wipegamestate, align 4, !tbaa !5
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  store i32 -1, ptr @wipegamestate, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %28, %24
  store i32 0, ptr @gamestate, align 4, !tbaa !5
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %57, %29
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = icmp slt i32 %31, 4
  br i1 %32, label %33, label %60

33:                                               ; preds = %30
  %34 = load i32, ptr %1, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [4 x i32], ptr @playeringame, i64 0, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %51

39:                                               ; preds = %33
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [4 x %struct.player_s], ptr @players, i64 0, i64 %41
  %43 = getelementptr inbounds %struct.player_s, ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 8, !tbaa !9
  %45 = icmp eq i32 %44, 1
  br i1 %45, label %46, label %51

46:                                               ; preds = %39
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [4 x %struct.player_s], ptr @players, i64 0, i64 %48
  %50 = getelementptr inbounds %struct.player_s, ptr %49, i32 0, i32 1
  store i32 2, ptr %50, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %46, %39, %33
  %52 = load i32, ptr %1, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [4 x %struct.player_s], ptr @players, i64 0, i64 %53
  %55 = getelementptr inbounds %struct.player_s, ptr %54, i32 0, i32 13
  %56 = getelementptr inbounds [4 x i32], ptr %55, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 4 %56, i8 0, i64 16, i1 false)
  br label %57

57:                                               ; preds = %51
  %58 = load i32, ptr %1, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %1, align 4, !tbaa !5
  br label %30, !llvm.loop !14

60:                                               ; preds = %30
  %61 = load i32, ptr @gameepisode, align 4, !tbaa !5
  %62 = load i32, ptr @gamemap, align 4, !tbaa !5
  %63 = load i32, ptr @gameskill, align 4, !tbaa !5
  call void @P_SetupLevel(i32 noundef %61, i32 noundef %62, i32 noundef 0, i32 noundef %63)
  %64 = load i32, ptr @consoleplayer, align 4, !tbaa !5
  store i32 %64, ptr @displayplayer, align 4, !tbaa !5
  %65 = call i32 @I_GetTime()
  store i32 %65, ptr @starttime, align 4, !tbaa !5
  store i32 0, ptr @gameaction, align 4, !tbaa !5
  call void @Z_CheckHeap()
  call void @llvm.memset.p0.i64(ptr align 16 @gamekeydown, i8 0, i64 1024, i1 false)
  store i32 0, ptr @joyymove, align 4, !tbaa !5
  store i32 0, ptr @joyxmove, align 4, !tbaa !5
  store i32 0, ptr @mousey, align 4, !tbaa !5
  store i32 0, ptr @mousex, align 4, !tbaa !5
  store i32 0, ptr @paused, align 4, !tbaa !5
  store i32 0, ptr @sendsave, align 4, !tbaa !5
  store i32 0, ptr @sendpause, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 16 @mousearray, i8 0, i64 16, i1 false)
  call void @llvm.memset.p0.i64(ptr align 16 @joyarray, i8 0, i64 20, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

declare i32 @R_FlatNumForName(ptr noundef) #2

declare i32 @R_TextureNumForName(ptr noundef) #2

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

declare void @P_SetupLevel(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare i32 @I_GetTime() #2

declare void @Z_CheckHeap() #2

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 = { "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: write) }
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, !6, i64 8}
!10 = !{!"player_s", !11, i64 0, !6, i64 8, !12, 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, !11, i64 224, !6, i64 232, !6, i64 236, !11, i64 240, !6, i64 248, !6, i64 252, !6, i64 256, !7, i64 264, !6, i64 312}
!11 = !{!"any pointer", !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 = distinct !{!14, !15}
!15 = !{!"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.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 }

@mousearray = external dso_local local_unnamed_addr global [4 x i32], align 16
@joyarray = external dso_local local_unnamed_addr global [5 x i32], align 16
@consoleplayer = external dso_local local_unnamed_addr global i32, align 4
@gamekeydown = external dso_local local_unnamed_addr global [256 x i32], align 16
@joyxmove = external dso_local local_unnamed_addr global i32, align 4
@joyymove = external dso_local local_unnamed_addr global i32, align 4
@mousey = external dso_local local_unnamed_addr global i32, align 4
@mousex = external dso_local local_unnamed_addr global i32, align 4
@sendpause = external dso_local local_unnamed_addr global i32, align 4
@sendsave = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@skyflatnum = external local_unnamed_addr global i32, align 4
@gamemode = external local_unnamed_addr global i32, align 4
@gamemission = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@skytexture = external local_unnamed_addr global i32, align 4
@gamemap = external dso_local local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@gametic = external dso_local local_unnamed_addr global i32, align 4
@levelstarttic = external dso_local local_unnamed_addr global i32, align 4
@wipegamestate = external local_unnamed_addr global i32, align 4
@gamestate = external dso_local local_unnamed_addr global i32, align 4
@playeringame = external dso_local local_unnamed_addr global [4 x i32], align 16
@players = external dso_local local_unnamed_addr global [4 x %struct.player_s], align 16
@gameepisode = external dso_local local_unnamed_addr global i32, align 4
@gameskill = external dso_local local_unnamed_addr global i32, align 4
@displayplayer = external dso_local local_unnamed_addr global i32, align 4
@starttime = external dso_local local_unnamed_addr global i32, align 4
@gameaction = external dso_local local_unnamed_addr global i32, align 4
@paused = external dso_local local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @G_DoLoadLevel() local_unnamed_addr #0 {
  %1 = tail call i32 @R_FlatNumForName(ptr noundef nonnull @.str) #3
  store i32 %1, ptr @skyflatnum, align 4, !tbaa !5
  %2 = load i32, ptr @gamemode, align 4, !tbaa !5
  %3 = icmp eq i32 %2, 2
  %4 = load i32, ptr @gamemission, align 4
  %5 = and i32 %4, -2
  %6 = icmp eq i32 %5, 2
  %or.cond3 = select i1 %3, i1 true, i1 %6
  br i1 %or.cond3, label %7, label %14

7:                                                ; preds = %0
  %8 = tail call i32 @R_TextureNumForName(ptr noundef nonnull @.str.1) #3
  store i32 %8, ptr @skytexture, align 4, !tbaa !5
  %9 = load i32, ptr @gamemap, align 4, !tbaa !5
  %10 = icmp slt i32 %9, 12
  br i1 %10, label %.sink.split, label %11

11:                                               ; preds = %7
  %12 = icmp ult i32 %9, 21
  br i1 %12, label %.sink.split, label %14

.sink.split:                                      ; preds = %11, %7
  %.str.2.sink = phi ptr [ @.str.2, %7 ], [ @.str.3, %11 ]
  %13 = tail call i32 @R_TextureNumForName(ptr noundef nonnull %.str.2.sink) #3
  store i32 %13, ptr @skytexture, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %.sink.split, %11, %0
  %15 = load i32, ptr @gametic, align 4, !tbaa !5
  store i32 %15, ptr @levelstarttic, align 4, !tbaa !5
  %16 = load i32, ptr @wipegamestate, align 4, !tbaa !5
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %19

18:                                               ; preds = %14
  store i32 -1, ptr @wipegamestate, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %18, %14
  store i32 0, ptr @gamestate, align 4, !tbaa !5
  %20 = load i32, ptr @playeringame, align 16, !tbaa !5
  %.not = icmp ne i32 %20, 0
  %21 = load i32, ptr getelementptr inbounds (i8, ptr @players, i64 8), align 8
  %22 = icmp eq i32 %21, 1
  %or.cond = select i1 %.not, i1 %22, i1 false
  br i1 %or.cond, label %23, label %24

23:                                               ; preds = %19
  store i32 2, ptr getelementptr inbounds (i8, ptr @players, i64 8), align 8, !tbaa !9
  br label %24

24:                                               ; preds = %23, %19
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) getelementptr inbounds (i8, ptr @players, i64 100), i8 0, i64 16, i1 false)
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @playeringame, i64 4), align 4, !tbaa !5
  %.not.1 = icmp ne i32 %25, 0
  %26 = load i32, ptr getelementptr inbounds (i8, ptr @players, i64 328), align 8
  %27 = icmp eq i32 %26, 1
  %or.cond14 = select i1 %.not.1, i1 %27, i1 false
  br i1 %or.cond14, label %28, label %29

28:                                               ; preds = %24
  store i32 2, ptr getelementptr inbounds (i8, ptr @players, i64 328), align 8, !tbaa !9
  br label %29

29:                                               ; preds = %28, %24
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) getelementptr inbounds (i8, ptr @players, i64 420), i8 0, i64 16, i1 false)
  %30 = load i32, ptr getelementptr inbounds (i8, ptr @playeringame, i64 8), align 8, !tbaa !5
  %.not.2 = icmp ne i32 %30, 0
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @players, i64 648), align 8
  %32 = icmp eq i32 %31, 1
  %or.cond16 = select i1 %.not.2, i1 %32, i1 false
  br i1 %or.cond16, label %33, label %34

33:                                               ; preds = %29
  store i32 2, ptr getelementptr inbounds (i8, ptr @players, i64 648), align 8, !tbaa !9
  br label %34

34:                                               ; preds = %33, %29
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) getelementptr inbounds (i8, ptr @players, i64 740), i8 0, i64 16, i1 false)
  %35 = load i32, ptr getelementptr inbounds (i8, ptr @playeringame, i64 12), align 4, !tbaa !5
  %.not.3 = icmp ne i32 %35, 0
  %36 = load i32, ptr getelementptr inbounds (i8, ptr @players, i64 968), align 8
  %37 = icmp eq i32 %36, 1
  %or.cond18 = select i1 %.not.3, i1 %37, i1 false
  br i1 %or.cond18, label %38, label %39

38:                                               ; preds = %34
  store i32 2, ptr getelementptr inbounds (i8, ptr @players, i64 968), align 8, !tbaa !9
  br label %39

39:                                               ; preds = %38, %34
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) getelementptr inbounds (i8, ptr @players, i64 1060), i8 0, i64 16, i1 false)
  %40 = load i32, ptr @gameepisode, align 4, !tbaa !5
  %41 = load i32, ptr @gamemap, align 4, !tbaa !5
  %42 = load i32, ptr @gameskill, align 4, !tbaa !5
  tail call void @P_SetupLevel(i32 noundef %40, i32 noundef %41, i32 noundef 0, i32 noundef %42) #3
  %43 = load i32, ptr @consoleplayer, align 4, !tbaa !5
  store i32 %43, ptr @displayplayer, align 4, !tbaa !5
  %44 = tail call i32 @I_GetTime() #3
  store i32 %44, ptr @starttime, align 4, !tbaa !5
  store i32 0, ptr @gameaction, align 4, !tbaa !5
  tail call void @Z_CheckHeap() #3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) @gamekeydown, i8 0, i64 1024, i1 false)
  store i32 0, ptr @joyymove, align 4, !tbaa !5
  store i32 0, ptr @joyxmove, align 4, !tbaa !5
  store i32 0, ptr @mousey, align 4, !tbaa !5
  store i32 0, ptr @mousex, align 4, !tbaa !5
  store i32 0, ptr @paused, align 4, !tbaa !5
  store i32 0, ptr @sendsave, align 4, !tbaa !5
  store i32 0, ptr @sendpause, align 4, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) @mousearray, i8 0, i64 16, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) @joyarray, i8 0, i64 20, i1 false)
  ret void
}

declare i32 @R_FlatNumForName(ptr noundef) local_unnamed_addr #1

declare i32 @R_TextureNumForName(ptr noundef) local_unnamed_addr #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 @P_SetupLevel(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @I_GetTime() local_unnamed_addr #1

declare void @Z_CheckHeap() local_unnamed_addr #1

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" }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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, !6, i64 8}
!10 = !{!"player_s", !11, i64 0, !6, i64 8, !12, 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, !11, i64 224, !6, i64 232, !6, i64 236, !11, i64 240, !6, i64 248, !6, i64 252, !6, i64 256, !7, i64 264, !6, i64 312}
!11 = !{!"any pointer", !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}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass