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

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

@xspeed = external dso_local global [8 x i32], align 16
@yspeed = external dso_local global [8 x i32], align 16
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@floatok = external global i32, align 4
@tmfloorz = external global i32, align 4
@numspechit = external global i32, align 4
@spechit = external global [8 x ptr], 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 @P_Move(ptr noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.mobj_s, ptr %10, i32 0, i32 26
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = icmp eq i32 %12, 8
  br i1 %13, label %14, label %15

14:                                               ; preds = %1
  store i32 0, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %132

15:                                               ; preds = %1
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.mobj_s, ptr %16, i32 0, i32 26
  %18 = load i32, ptr %17, align 8, !tbaa !9
  %19 = icmp uge i32 %18, 8
  br i1 %19, label %20, label %21

20:                                               ; preds = %15
  call void (ptr, ...) @I_Error(ptr noundef @.str) #5
  unreachable

21:                                               ; preds = %15
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.mobj_s, ptr %22, i32 0, i32 1
  %24 = load i32, ptr %23, align 8, !tbaa !15
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.mobj_s, ptr %25, i32 0, i32 21
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %28 = getelementptr inbounds %struct.mobjinfo_t, ptr %27, i32 0, i32 15
  %29 = load i32, ptr %28, align 4, !tbaa !17
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.mobj_s, ptr %30, i32 0, i32 26
  %32 = load i32, ptr %31, align 8, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [8 x i32], ptr @xspeed, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !19
  %36 = mul nsw i32 %29, %35
  %37 = add nsw i32 %24, %36
  store i32 %37, ptr %4, align 4, !tbaa !19
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.mobj_s, ptr %38, i32 0, i32 2
  %40 = load i32, ptr %39, align 4, !tbaa !20
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.mobj_s, ptr %41, i32 0, i32 21
  %43 = load ptr, ptr %42, align 8, !tbaa !16
  %44 = getelementptr inbounds %struct.mobjinfo_t, ptr %43, i32 0, i32 15
  %45 = load i32, ptr %44, align 4, !tbaa !17
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.mobj_s, ptr %46, i32 0, i32 26
  %48 = load i32, ptr %47, align 8, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [8 x i32], ptr @yspeed, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !19
  %52 = mul nsw i32 %45, %51
  %53 = add nsw i32 %40, %52
  store i32 %53, ptr %5, align 4, !tbaa !19
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = load i32, ptr %4, align 4, !tbaa !19
  %56 = load i32, ptr %5, align 4, !tbaa !19
  %57 = call i32 @P_TryMove(ptr noundef %54, i32 noundef %55, i32 noundef %56)
  store i32 %57, ptr %7, align 4, !tbaa !19
  %58 = load i32, ptr %7, align 4, !tbaa !19
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %114, label %60

60:                                               ; preds = %21
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.mobj_s, ptr %61, i32 0, i32 24
  %63 = load i32, ptr %62, align 8, !tbaa !21
  %64 = and i32 %63, 16384
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %90

66:                                               ; preds = %60
  %67 = load i32, ptr @floatok, align 4, !tbaa !19
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %90

69:                                               ; preds = %66
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.mobj_s, ptr %70, i32 0, i32 3
  %72 = load i32, ptr %71, align 8, !tbaa !22
  %73 = load i32, ptr @tmfloorz, align 4, !tbaa !19
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %75, label %80

75:                                               ; preds = %69
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.mobj_s, ptr %76, i32 0, i32 3
  %78 = load i32, ptr %77, align 8, !tbaa !22
  %79 = add nsw i32 %78, 262144
  store i32 %79, ptr %77, align 8, !tbaa !22
  br label %85

80:                                               ; preds = %69
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.mobj_s, ptr %81, i32 0, i32 3
  %83 = load i32, ptr %82, align 8, !tbaa !22
  %84 = sub nsw i32 %83, 262144
  store i32 %84, ptr %82, align 8, !tbaa !22
  br label %85

85:                                               ; preds = %80, %75
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.mobj_s, ptr %86, i32 0, i32 24
  %88 = load i32, ptr %87, align 8, !tbaa !21
  %89 = or i32 %88, 2097152
  store i32 %89, ptr %87, align 8, !tbaa !21
  store i32 1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %132

90:                                               ; preds = %66, %60
  %91 = load i32, ptr @numspechit, align 4, !tbaa !19
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %94, label %93

93:                                               ; preds = %90
  store i32 0, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %132

94:                                               ; preds = %90
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.mobj_s, ptr %95, i32 0, i32 26
  store i32 8, ptr %96, align 8, !tbaa !9
  store i32 0, ptr %8, align 4, !tbaa !19
  br label %97

97:                                               ; preds = %111, %94
  %98 = load i32, ptr @numspechit, align 4, !tbaa !19
  %99 = add nsw i32 %98, -1
  store i32 %99, ptr @numspechit, align 4, !tbaa !19
  %100 = icmp ne i32 %98, 0
  br i1 %100, label %101, label %112

101:                                              ; preds = %97
  %102 = load i32, ptr @numspechit, align 4, !tbaa !19
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [8 x ptr], ptr @spechit, i64 0, i64 %103
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  store ptr %105, ptr %6, align 8, !tbaa !5
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = call i32 @P_UseSpecialLine(ptr noundef %106, ptr noundef %107, i32 noundef 0)
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %111

110:                                              ; preds = %101
  store i32 1, ptr %8, align 4, !tbaa !19
  br label %111

111:                                              ; preds = %110, %101
  br label %97, !llvm.loop !23

112:                                              ; preds = %97
  %113 = load i32, ptr %8, align 4, !tbaa !19
  store i32 %113, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %132

114:                                              ; preds = %21
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.mobj_s, ptr %115, i32 0, i32 24
  %117 = load i32, ptr %116, align 8, !tbaa !21
  %118 = and i32 %117, -2097153
  store i32 %118, ptr %116, align 8, !tbaa !21
  br label %119

119:                                              ; preds = %114
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.mobj_s, ptr %120, i32 0, i32 24
  %122 = load i32, ptr %121, align 8, !tbaa !21
  %123 = and i32 %122, 16384
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %131, label %125

125:                                              ; preds = %119
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.mobj_s, ptr %126, i32 0, i32 12
  %128 = load i32, ptr %127, align 8, !tbaa !25
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.mobj_s, ptr %129, i32 0, i32 3
  store i32 %128, ptr %130, align 8, !tbaa !22
  br label %131

131:                                              ; preds = %125, %119
  store i32 1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %132

132:                                              ; preds = %131, %112, %93, %85, %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %133 = load i32, ptr %2, align 4
  ret i32 %133
}

; Function Attrs: noreturn
declare void @I_Error(ptr noundef, ...) #2

declare i32 @P_TryMove(ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @P_UseSpecialLine(ptr noundef, ptr noundef, i32 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 = { noreturn "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 }
attributes #5 = { noreturn }

!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, !12, i64 168}
!10 = !{!"mobj_s", !11, i64 0, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !12, i64 60, !12, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !6, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !6, i64 176, !12, i64 184, !12, i64 188, !6, i64 192, !12, i64 200, !13, i64 204, !6, i64 216}
!11 = !{!"thinker_s", !6, i64 0, !6, i64 8, !7, i64 16}
!12 = !{!"int", !7, i64 0}
!13 = !{!"", !14, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8}
!14 = !{!"short", !7, i64 0}
!15 = !{!10, !12, i64 24}
!16 = !{!10, !6, i64 136}
!17 = !{!18, !12, i64 60}
!18 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88}
!19 = !{!12, !12, i64 0}
!20 = !{!10, !12, i64 28}
!21 = !{!10, !12, i64 160}
!22 = !{!10, !12, i64 32}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!10, !12, i64 96}


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

@xspeed = external dso_local local_unnamed_addr global [8 x i32], align 16
@yspeed = external dso_local local_unnamed_addr global [8 x i32], align 16
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@floatok = external local_unnamed_addr global i32, align 4
@tmfloorz = external local_unnamed_addr global i32, align 4
@numspechit = external local_unnamed_addr global i32, align 4
@spechit = external local_unnamed_addr global [8 x ptr], align 16

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @P_Move(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 168
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = icmp eq i32 %3, 8
  br i1 %4, label %.loopexit, label %5

5:                                                ; preds = %1
  %6 = icmp ugt i32 %3, 7
  br i1 %6, label %7, label %8

7:                                                ; preds = %5
  tail call void (ptr, ...) @I_Error(ptr noundef nonnull @.str) #3
  unreachable

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load i32, ptr %9, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %0, i64 136
  %12 = load ptr, ptr %11, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %12, i64 60
  %14 = load i32, ptr %13, align 4, !tbaa !16
  %15 = zext nneg i32 %3 to i64
  %16 = getelementptr inbounds [8 x i32], ptr @xspeed, i64 0, i64 %15
  %17 = load i32, ptr %16, align 4, !tbaa !18
  %18 = mul nsw i32 %17, %14
  %19 = add nsw i32 %18, %10
  %20 = getelementptr inbounds i8, ptr %0, i64 28
  %21 = load i32, ptr %20, align 4, !tbaa !19
  %22 = getelementptr inbounds [8 x i32], ptr @yspeed, i64 0, i64 %15
  %23 = load i32, ptr %22, align 4, !tbaa !18
  %24 = mul nsw i32 %23, %14
  %25 = add nsw i32 %24, %21
  %26 = tail call i32 @P_TryMove(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %25) #4
  %.not = icmp eq i32 %26, 0
  %27 = getelementptr inbounds i8, ptr %0, i64 160
  %28 = load i32, ptr %27, align 8, !tbaa !20
  br i1 %.not, label %29, label %51

29:                                               ; preds = %8
  %30 = and i32 %28, 16384
  %31 = icmp ne i32 %30, 0
  %32 = load i32, ptr @floatok, align 4
  %33 = icmp ne i32 %32, 0
  %or.cond = select i1 %31, i1 %33, i1 false
  br i1 %or.cond, label %34, label %40

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %0, i64 32
  %36 = load i32, ptr %35, align 8, !tbaa !21
  %37 = load i32, ptr @tmfloorz, align 4, !tbaa !18
  %38 = icmp slt i32 %36, %37
  %storemerge.v = select i1 %38, i32 262144, i32 -262144
  %storemerge = add nsw i32 %storemerge.v, %36
  store i32 %storemerge, ptr %35, align 8, !tbaa !21
  %39 = or i32 %28, 2097152
  store i32 %39, ptr %27, align 8, !tbaa !20
  br label %.loopexit

40:                                               ; preds = %29
  %41 = load i32, ptr @numspechit, align 4, !tbaa !18
  %.not30 = icmp eq i32 %41, 0
  br i1 %.not30, label %.loopexit, label %42

42:                                               ; preds = %40
  store i32 8, ptr %2, align 8, !tbaa !5
  %43 = add nsw i32 %41, -1
  store i32 %43, ptr @numspechit, align 4, !tbaa !18
  br label %44

44:                                               ; preds = %42, %44
  %45 = phi i32 [ %43, %42 ], [ %50, %44 ]
  %.034 = phi i32 [ 0, %42 ], [ %spec.select, %44 ]
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [8 x ptr], ptr @spechit, i64 0, i64 %46
  %48 = load ptr, ptr %47, align 8, !tbaa !22
  %49 = tail call i32 @P_UseSpecialLine(ptr noundef %0, ptr noundef %48, i32 noundef 0) #4
  %.not32 = icmp eq i32 %49, 0
  %spec.select = select i1 %.not32, i32 %.034, i32 1
  %.pr = load i32, ptr @numspechit, align 4, !tbaa !18
  %50 = add nsw i32 %.pr, -1
  store i32 %50, ptr @numspechit, align 4, !tbaa !18
  %.not31 = icmp eq i32 %.pr, 0
  br i1 %.not31, label %.loopexit, label %44, !llvm.loop !23

51:                                               ; preds = %8
  %52 = and i32 %28, -2097153
  store i32 %52, ptr %27, align 8, !tbaa !20
  %53 = and i32 %28, 16384
  %.not33 = icmp eq i32 %53, 0
  br i1 %.not33, label %54, label %.loopexit

54:                                               ; preds = %51
  %55 = getelementptr inbounds i8, ptr %0, i64 96
  %56 = load i32, ptr %55, align 8, !tbaa !25
  %57 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %56, ptr %57, align 8, !tbaa !21
  br label %.loopexit

.loopexit:                                        ; preds = %44, %51, %54, %40, %1, %34
  %.026 = phi i32 [ 1, %34 ], [ 0, %1 ], [ 0, %40 ], [ 1, %54 ], [ 1, %51 ], [ %spec.select, %44 ]
  ret i32 %.026
}

; Function Attrs: noreturn
declare void @I_Error(ptr noundef, ...) local_unnamed_addr #1

declare i32 @P_TryMove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @P_UseSpecialLine(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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 = { noreturn "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 = { noreturn nounwind }
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, !11, i64 168}
!6 = !{!"mobj_s", !7, i64 0, !11, i64 24, !11, i64 28, !11, i64 32, !8, i64 40, !8, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !8, i64 136, !11, i64 144, !8, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !8, i64 176, !11, i64 184, !11, i64 188, !8, i64 192, !11, i64 200, !12, i64 204, !8, i64 216}
!7 = !{!"thinker_s", !8, i64 0, !8, i64 8, !9, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8}
!13 = !{!"short", !9, i64 0}
!14 = !{!6, !11, i64 24}
!15 = !{!6, !8, i64 136}
!16 = !{!17, !11, i64 60}
!17 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88}
!18 = !{!11, !11, i64 0}
!19 = !{!6, !11, i64 28}
!20 = !{!6, !11, i64 160}
!21 = !{!6, !11, i64 32}
!22 = !{!8, !8, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!6, !11, i64 96}


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